Thanks for the help so far with this, I've managed to get it compiling with with hardware acceleration now. I did this by uninstalling libsdl2-dev and compiling SDL2 myself and linking to that. And also the SDL2 stuff on the wiki as pointed out by sebt3.
And now I get :
libGL error...
I've done a version on a fresh OS running from the SD card. Still the same problem. The only commands I ran were an apt update && upgrade and installing libsdl2-dev (the Wayland deps seem to be coming from the latter).
I've got a few things to try though now I know roughly where to look.
It's pretty much a base system. I've installed a few things, but not much. I'll try reflashing the system when I can get around to it and start again from scratch.
Thanks, the discoverability on the wiki is poor, I hadn't seen that page.
I'm still getting issues though, all I'm getting is a black screen. I tried @Pocak 's code, and that didn't run with these changes. So I tried your code as the wiki instructs and I'm getting the following ...
No worries on the wild goose chase. Building, linking libraries and stuff like that is a bit of a blind spot to me. Any chance to learn helps me out.
Still no dice on your code, it's outputting :
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: unable to load...
Thanks, but I'm still not getting this, I've been googling for a few hours. Is my problem at build/compile time, or to do with the libraries it's loading at runtime? Or both?
I've set up a minimal build...
gles2_test.cpp :
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengles2.h>
int main( int...
This may be a silly question. As you may or may not be aware, I'm having a go at developing a 3D game for the Pyra, it's using OpenGL ES 2.0 and SDL2. When I run it, I get :
kaprikawn@pyra:~/git/pyragles/build$ ./AlphaFlight
libGL error: MESA-LOADER: failed to retrieve device information...
I've started adding back functionality that I deleted when I purged OOP, new blog post is :
https://kaprikawn.wordpress.com/2022/02/13/learning-to-learn-opengl-es-2-0-part-34-code-refactor/
I've also written some more detailed instructions on how I've got my machines set up for developing this...
I hit a roadblock trying to add lighting. But I've had a couple of weeks off and finally got it sussed. New blog post :
https://kaprikawn.wordpress.com/2021/09/21/learning-to-learn-opengl-es-2-0-part-33-lighting/
@levi If you run with :
./AlphaFlight --fullscreen
it will adjust to the...
I'd agree with that. It seems to me that transportation of fuel is is a national security issue. Certainly in the US which is so heavily dependent on cars. And if it isn't a national security issue per se, it should have security at near national security levels, somewhat akin to the likes of...
I've put up an (admittedly pretty bit dry) post on the evils of unnecessary dependencies having just gotten rid of GLM :
https://kaprikawn.wordpress.com/2021/04/05/learning-to-learn-opengl-es-2-0-part-32-removing-glm-dependency/
The fullscreen problem from before is sorted, it now launches...
There's a Box86 post on Phoronix :
https://www.phoronix.com/scan.php?page=news_item&px=Box86-x86-On-Other-Archs
Someone go and mention the Pyra in the comments, I can't be bothered :)
Higan is a very demanding emulator, it needs powerful hardware to run, there's no chance it will ever run on the Pyra. For Pyra-class hardware, I think Snes9x is the emulator of choice for SNES.
I seem to recall seeing a post from ED saying there was an SDL2 fullscreen issue, but I can't remember where that is, so I could be wrong.
The method I use to get the screen dimensions works on other platforms, but I'll look at SDL_GetDesktopDisplayMode, thanks for the pointer.
I don't think...
After a rather long hiatus, I've done a new blog post. I've deleted most of my code and am now taking a different approach with my code structure. OOP is out, and the coding style of Handmade Hero is in. So I've taken it back to basics with a new release that strips out almost all the other...
I don't know a great deal about this so correct me if I'm wrong. What's with Raspian that your repos aren't just a list of urls that you can comment and uncomment at will? Having config files that create config files that create config files is some Grub-like BS and is the primary reason I got...
That doesn't sound like a good policy. I have the item, what's to stop me just not paying? I imagine they'll probably come after you and put something on your credit rating. But if you're someone who's credit rating is in the toilet already you might not care, I certainly know people like...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.