Re: Failed to open vchiq device on RPi
Alex Barry <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <CAJSO58OMi77DkEjO_iLu9--4phY9UhDPLMDyZa2cZZSFanX5dQ@mail.gmail.com> |
I'm going to get by Pi2 back up and running this weekend, so I don't mind taking a peek at what's going on. Do you have your project online anywhere or are you just using a bare-bones sort of project (ie single fullscreen window taking input.)? On Mon, Sep 12, 2016 at 11:30 AM, Andreas Falkenhahn <[email protected] > wrote: > On 12.09.2016 at 00:46 Eric Wing wrote: > > > I mentioned during the SDL 2.0.4 release cycle I was seeing an > > SDL_assert being thrown in the mouse system sometimes. In further > > testing, it seems to happen to me when the system is loaded down and > > cannot complete the event loop in a reasonable amount of time. If you > > kill your process (i.e. remote login), maybe you'll see that this is > > the same assertion being thrown prompting you to abort/ignore. > > I've compiled with > > #define SDL_ASSERT_LEVEL 0 > > and I've also killed the process from a remote machine using SSH to > look at the output but there is none! SDL doesn't show anything. My > program runs correctly using SDL on the Pi but it can't be used because > the mouse cursor is frozen and keyboard doesn't work either :( This is > quite frustrating... any other ideas? Without input support it's obviously > pretty useless... > > > When the SDL implementation was written, Pi only had a GLES driver and > > the Pi could not support rendering through X11. (Apparently there is > > some scary hack that Minecraft figured out which makes it kind of > > work, but still is pretty wonky.) > > This of course makes me wonder why the RPI driver isn't selected as the > default driver when building for the Pi? It took me an hour to figure out > what was going wrong until I realized that I had to call > > SDL_VideoInit("RPI"); > > in order to make it work. Why does SDL select the X11 driver as the > default driver when building for the Pi when it obviously doesn't > work? This should really be fixed and there should be a word about > it in the readme. Currently, there is none. There are several > pages about cross-compiling for the Pi but the essentials are missing > it seems :( > > > If you install and enable this driver, and configure SDL > > appropriately, maybe you can get this to work. I don't know what's > > actually involved to make this work. I would like to hear your results > > and the procedure for making this work. > > I better first get the RPI driver working correctly here before > tackling even more experimental stuff... what else can I try to > get input working? > > -- > Best regards, > Andreas Falkenhahn mailto: > [email protected] > > _______________________________________________ > SDL mailing list > [email protected] > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org > _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org