guillaumechereau / goxel

Goxel: Free and Open Source 3D Voxel Editor
GNU General Public License v3.0
2.73k stars 219 forks source link

Unusable on Raspberry Pi 4 Model B 8 GB #268

Open SukkoyF opened 2 years ago

SukkoyF commented 2 years ago

Hello, opening an issue as I'm unable to get goxel to work on my raspberry pi, I'm quite sad as it's the only voxel editor that looked promising for ARM aside of BlockBench.

I found this app via the snap store, which seems to only offer 3 branches, beta,edge and candidate and tried the 3 of them for the same result.

The app opens, and I can see the ui to the left, but the grid where you're supposed to draw I believe, that should appear on the right side, doesn't and I get multiples errors, pictures below.

2022-01-23-213901_1600x900_scrot 2022-01-23-213905_1600x900_scrot 2022-01-23-214440_1600x900_scrot

guillaumechereau commented 2 years ago

Yes this is strange because it seems to work at least a little bit. Is it possible to try to compile it directly on the raspberry in debug?

What raspberry distribution do you use?

SukkoyF commented 2 years ago

Here did the test and stuff you asked, images below. Sorry if I made an error of my own, I'm a bit of a beginner when it comes to linux and building software and all that :)

I tried installing the dependencies like they're mentioned on the git page, using sudo apt install, it seemed to all install properly. I then tried to build it 2 times, using different methods each resulting in errors.

I then tried to make a debug build using scons 2022-01-24-085021_1600x900_scrot

Here I tried making a build using make release 2022-01-24-090522_1600x900_scrot

And here's my distro version I believe. 2022-01-24-090607_1600x900_scrot

guillaumechereau commented 2 years ago

Thanks for the info. Looks like the lib I use for path tracing, “yocto” didn’t compile properly. You can try to compile without yocto with:

scons yocto=false

On Mon, Jan 24, 2022 at 22:10 SukkoyF @.***> wrote:

Here did the test and stuff you asked, images below. Sorry if I made an error of my own, I'm a bit of a beginner when it comes to linux and building software and all that :)

I tried installing the dependencies like they're mentioned on the git page, using sudo apt install, it seemed to all install properly. I then tried to build it 2 times, using different methods each resulting in errors.

I then tried to make a debug build using scons [image: 2022-01-24-085021_1600x900_scrot] https://user-images.githubusercontent.com/39810486/150797793-5f906067-c06b-4891-ac17-762fcd49879f.png

Here I tried making a build using make release [image: 2022-01-24-090522_1600x900_scrot] https://user-images.githubusercontent.com/39810486/150797795-9ef337c2-b2e4-4819-bdf7-91c467add723.png

And here's my distro version I believe. [image: 2022-01-24-090607_1600x900_scrot] https://user-images.githubusercontent.com/39810486/150797797-e665acff-ee79-4944-8011-59beab39bc75.png

— Reply to this email directly, view it on GitHub https://github.com/guillaumechereau/goxel/issues/268#issuecomment-1020140307, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2JH3RCJDSKRJ4MYBOQWDUXVMWFANCNFSM5MUGFFSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

-- Sent from my iPad.

guillaumechereau commented 2 years ago

Ok I just tried to compile on a raspberry pi 3 I had at home and the command that works is:

scons mode=release yocto=false

For some reason the debug mode doesn’t work.

Goxel is too slow to be usable on pi 3, but maybe it works better with the version 4…

On Mon, Jan 24, 2022 at 23:47 Guillaume Chéreau < @.***> wrote:

Thanks for the info. Looks like the lib I use for path tracing, “yocto” didn’t compile properly. You can try to compile without yocto with:

scons yocto=false

On Mon, Jan 24, 2022 at 22:10 SukkoyF @.***> wrote:

Here did the test and stuff you asked, images below. Sorry if I made an error of my own, I'm a bit of a beginner when it comes to linux and building software and all that :)

I tried installing the dependencies like they're mentioned on the git page, using sudo apt install, it seemed to all install properly. I then tried to build it 2 times, using different methods each resulting in errors.

I then tried to make a debug build using scons [image: 2022-01-24-085021_1600x900_scrot] https://user-images.githubusercontent.com/39810486/150797793-5f906067-c06b-4891-ac17-762fcd49879f.png

Here I tried making a build using make release [image: 2022-01-24-090522_1600x900_scrot] https://user-images.githubusercontent.com/39810486/150797795-9ef337c2-b2e4-4819-bdf7-91c467add723.png

And here's my distro version I believe. [image: 2022-01-24-090607_1600x900_scrot] https://user-images.githubusercontent.com/39810486/150797797-e665acff-ee79-4944-8011-59beab39bc75.png

— Reply to this email directly, view it on GitHub https://github.com/guillaumechereau/goxel/issues/268#issuecomment-1020140307, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2JH3RCJDSKRJ4MYBOQWDUXVMWFANCNFSM5MUGFFSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

-- Sent from my iPad.

-- Sent from my iPad.

SukkoyF commented 2 years ago

Alright, the command you sent allowed me to build properly, but trying to run it then gives me pretty much the same behavior as using the one off snap :/

Sorry for the bother. 2022-01-24-144708_1600x900_scrot

guillaumechereau commented 2 years ago

That's strange. Can you try to do a debug build without libasan? First in the file SConstruct, remove the lines:

# Asan & Ubsan (need to come first).
if env['mode'] == 'debug' and target_os == 'posix':
      env.Append(CCFLAGS=['-fsanitize=address', '-fsanitize=undefined'],
               LINKFLAGS=['-fsanitize=address', '-fsanitize=undefined'],
               LIBS=['asan', 'ubsan'])

Then build with scons mode=debug yocto=false

SukkoyF commented 2 years ago

Oh wow, looks like it's working, I never used your app before today, so don't know if everything works as intended but atleast this time I can see the grid and draw :)

Thank you so much for your patience, will take it for a spin and hopefully everything is fine!

2022-01-26-124303_1600x900_scrot