Hardware accelerated games/programs using Khronos
Pages: 1 2
SeñorNueces (1438) 162 posts |
Is VSYNC supposed to be working on this by now? |
Chris Gransden (337) 1194 posts |
It’s still disabled otherwise it causes the RPi to freeze. |
SeñorNueces (1438) 162 posts |
@Chris Gransden: So it can’t be made to work? Tearing is ugly. No way around it? |
Andy S (2979) 504 posts |
Check config/txt has, With those settings it still immediately seg faults, always in the same place from RPI_VideoInit(). I tried swapping the SD card to my Pi 1 and I still get the same seg fault on that Pi as well. I did have hardware-accelerated Neverball running well under Linux on that Pi, suggesting the graphics hardware was OK. One thing I’m going to try is replacing my USB power cable with a higher rated one as the Pi 3 seems to have cooked it. When I run *khronosstatus it says there were no GL errors (I guess SDL never got as far as initializing OpenGL ES). I also found the GL bouncing ball demo works but I expect that’s software rendering. Are there any dependencies I could be missing that aren’t included in your khronos.zip Chris? |
Andy S (2979) 504 posts |
OK those seg faults in RPI_VideoInit() do look to have been due to insufficient voltage due to an inadequate USB lead and/or power supply. I wired a bench power supply to the GPIO pins and Dark Places runs nicely. It’s very cool. Most of you more experienced Pi users probably already know this but, I think due to the lack of voltage, I’ve had to re-image my SD card about four or five times. I was still getting an error running Neverball but I noticed the card has corrupted yet again, even with the regulated 5 volts, so I’m going to try again with a new SD card. Maybe the other one got permanently damaged. My Pi 1 was never this fussy about power. |
Andy S (2979) 504 posts |
Just to finish the story, with the new SD card Neverball also now runs! Moral: Thou shalt checketh thy power supply, thy power cable, and ye integrity of thy SD card. |
Pages: 1 2