Thanks, MachineCode. I think I'll have to go for GLES, if I want the LÖVE build to work on the RK3066.
EDIT:
Well the Pi arrived today, got LÖVE built, copied the binaries and dependencies to the Rockchip board... and got a Segmentation fault when trying to run LÖVE from there.
I'm not giving up yet, though. LÖVE on the Raspberry Pi was running really bad, which means it's not the GLES version.
Would anyone share whatever useful info on how to build LÖVE-GLES?
Could LÖVE run on a Raspberry Pi 2B WITH x11?
Re: Could LÖVE run on a Raspberry Pi 2B WITH x11?
Try setting the LOVE_GRAPHICS_USE_OPENGLES environment variable to 1 before launching LÖVE; that should be all there is to it.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Could LÖVE run on a Raspberry Pi 2B WITH x11?
I just tried a minute ago. Segmentation fault again -_-
On the Raspberry, however, I can see the Mysterious Mysteries demo better (not smooth at all, but without GLES I couldn't see the clouds and the duck, just white shapes over blue background).
Is there anything else I could try?
On the Raspberry, however, I can see the Mysterious Mysteries demo better (not smooth at all, but without GLES I couldn't see the clouds and the duck, just white shapes over blue background).
Is there anything else I could try?
Re: Could LÖVE run on a Raspberry Pi 2B WITH x11?
I guess you could try building LÖVE without stripping the debug symbols (add a "-g" flag to g++ iirc? You'll possibly have to edit the makefile), then debug LÖVE on the device it segfaults on by running "gdb love" and getting a backtrace when it segfaults; I'm afraid I can't be much more of help as I do not know or own the board you have and I'm a bit rusty with this stuff, but I guess other people on here should be able to help.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Could LÖVE run on a Raspberry Pi 2B WITH x11?
Thanks, it's worth a try I don't know where to add the -g parameter, so I'l have to wait for someone who knows to shed some light.
[EDIT]
Hmmm. I tried starting from scratch, this time copying dependencies one by one (yesterday, at some point, I just copied a lot of libraries to the love executable directory), and after copying the first 5 or 6 dependencies I was asked for, I didn't get a Segmentation fault but "Error: Could not initialize SDL video subsystem (No available video device)".
I'll try to get SDL2 built now and hope for the best (although I guess I'll be asked to copy more dependencies later, resulting in the same Segmentation fault).
[EDIT]
Hmmm. I tried starting from scratch, this time copying dependencies one by one (yesterday, at some point, I just copied a lot of libraries to the love executable directory), and after copying the first 5 or 6 dependencies I was asked for, I didn't get a Segmentation fault but "Error: Could not initialize SDL video subsystem (No available video device)".
I'll try to get SDL2 built now and hope for the best (although I guess I'll be asked to copy more dependencies later, resulting in the same Segmentation fault).
Last edited by molul on Mon Jun 18, 2018 6:51 am, edited 1 time in total.
Re: Could LÖVE run on a Raspberry Pi 2B WITH x11?
I think you edited the wrong post
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Could LÖVE run on a Raspberry Pi 2B WITH x11?
I did -_-U Thanks! Gosh, I need some sleep.
Re: Could LÖVE run on a Raspberry Pi 2B WITH x11?
Well, I was lucky enough to have a friend that was able to get LÖVE running on the Rockchip RK3066
I'm afraid I can''t say what he did because he spent three full days modifying LÖVE's source and many of the dependencies, and I understood nearly nothing
So I can say this works, but it takes a true expert to do it.
I'm afraid I can''t say what he did because he spent three full days modifying LÖVE's source and many of the dependencies, and I understood nearly nothing
So I can say this works, but it takes a true expert to do it.
Who is online
Users browsing this forum: Ahrefs [Bot], slime and 5 guests