Error Initializing Sdl Unable To Open A Console Terminal
to run SDL on a custom embedded platform, but I have problems with the console. The device runs a custom linux with kernel 2.6.27. It comes with a framebuffer, so I cross-compiled SDL with fbcon and directfb support. If a start via telnet a little test-program, SDL_Init(SDL_INIT_VIDEO) gives me an "Unable to open a console terminal". Thanks to strace I know that the reason for this error are several failing ioctls (VT_OPENQRY, VT_GETSTATE and KDGKBMODE). BTW both drivers (fbcon & directfb) give me this error. I also compiled this program for my debian-desktop-machine. If I run it via ssh, it also returns an "Unable to open a console terminal". That makes me wonder if it is possible to run SDL applications via ssh. Kernel has also support for virtual terminal (I think). But my console links to the uart. Is that the problem? What am I doing wrong? Do I have to write my own video driver, which omits keyboard initialisation? I really could use some guidance from above... Thanks and Regards, Matthias Unable to open a console terminal Sam Lantinga Guest Posted: Tue Jul 21, 2009 5:10 am This usually means that your devices are protected and you need to run your program as root. On Mon, Jul 20, 2009 at 6:43 AM, Matthias Simon
Sign in Pricing Blog Support Search GitHub This repository Watch 293 Star 3,233 Fork 408 RetroPie/RetroPie-Setup Code Issues 34 Pull requests 3 Projects 0 Wiki Pulse Graphs New issue Can't start #213 Closed kykkus opened this Issue Jul 25, 2013 · 9 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 5 participants kykkus commented Jul 25, 2013 Hi, i have this problem: when i try to star emulationstation it tells me that i haven't games, but I copy roms in /home/pi/RetroPie/roms//.* what's wrong? Error: sudo emulationstation lvl0: No systems found! Does http://forums.libsdl.org/viewtopic.php?t=4705&sid=f46ab2227fabdf59d6c423abce001955 at least one system have a game present? (check that extensions match!) Aloshi commented Jul 25, 2013 Do the extensions match what's in ~/.emulationstation/es_systems.cfg? (e.g. zip files usually need to be extracted) kykkus commented Jul 26, 2013 Thanks for replay. Yes extensions match. Using ES-scraper, it's tell me: 158 games added. I have noticed that if i try to start emulationstation without sudo give me a differnt error https://github.com/RetroPie/RetroPie-Setup/issues/213 Error without sudo: /$ emulationstation lvl0: Error initializing SDL! Unable to open a console terminal Are you in the 'video', 'audio', and 'input' groups? Is X closed? Is your firmware up to date? Are you using at least the 192/64 memory split? lvl0: Renderer failed to initialize! lvl0: Window failed to initialize! marklarr commented Jul 28, 2013 I noticed something interesting. I ran the setup script while logged in as root user, so it created /home/root/RetroPie When I went into /home/root/RetroPie/emulators/rpix86 and ran ls -l, I could see that the games symlink was actually pointing to /home/root/pi/RetroPie/roms/x86. Note that it's going to the pi user, not the root user. I'm going to remove everything and rerun the setup script again, this time specifying the pi user with ./retropie_setup.sh pi marklarr commented Jul 28, 2013 Nothing changed. Still getting a white dot on emulationstation. Can't f4 to exit. If I do emulationstation in ssh, it just hangs, and if I ctrl-c I get No systems found! Does at least one system have a game present? (check that extensions match!) Aloshi commented Jul 28, 2013 Don't run the script as root. Run it with sudo ./retropie_setup.sh as the pi user (or other user you
CommunitiesAVR FreaksAtmel SMART ARM-based MCUsInternet of ThingsCapacitive TouchProjectsVendorsWiki You are hereHome » Communities » AVR Freaks » Forums » AVR Microcontrollers » AVR UC3 » Opening a console Main menu mobile Home Communities Forums Projects http://www.avrfreaks.net/forum/opening-console Vendors Wiki Search My summary Privacy Contact Site Use Terms Cookies Communities Forums Projects Vendors WIKI Opening a console Log in or register to post comments Go To Last Post 6 posts / 0 new Author Message icteam Level: Rookie Joined: Tue. Jul 29, 2008 Posts: 38 View posts Location: Miami. Fl #1 Posted by icteam: Mon. Aug 11, 2008 - 07:42 PM Fivestar widget 12345Total votes: 0 I am error initializing trying to use SDL, but I get the following error. ortp-error-Couldn't initialize SDL: Unable to open a console terminal I am assuming that is because my console is set to ttyS0. Anyone know how i can control the board over serial, but have the new SDL window open on the display? OR I am using an stk1000. How can I set it up so that I attach a keyboard to error initializing sdl it and communicate directly via the LCD? Thanks! Tags:AVR Microcontrollers, AVR UC3 Log in / register to post comments Top hce Level: Raving Lunatic Joined: Tue. Jan 7, 2003 Posts: 4582 View posts Location: Oslo, Norway #2 Posted by hce: Mon. Aug 11, 2008 - 08:57 PM 12345Total votes: 0 You must enable virtual terminal in your kernel, it is under character device IIRC. Hans-Christian Log in or register to post comments Top icteam Level: Rookie Joined: Tue. Jul 29, 2008 Posts: 38 View posts Location: Miami. Fl #3 Posted by icteam: Mon. Aug 11, 2008 - 09:07 PM 12345Total votes: 0 By enabling virtual kernel, will these enable me to open SDL in the stk1000 LCD? Could you please give me a little info as to how I enable this? Do I have to recompile the kernel, or can I just edit a config file? Thanks! Log in or register to post comments Top hce Level: Raving Lunatic Joined: Tue. Jan 7, 2003 Posts: 4582 View posts Location: Oslo, Norway #4 Posted by hce: Mon. Aug 11, 2008 - 09:28 PM 12345Total votes: 0 You must recompile the kernel, yes. SDL should work fine after that. Hans-Christian Log in or register to post comments Top icteam Level: Rookie