Mykro
October 15th, 2007, 05:09 AM
Hi, I'm using Mythbuntu 7.10 Beta.
Neither MythGame or the mythtv user is able to launch SDLMESS correctly for me.
BUT the whole thing works fine from the console as the default user. Here are the steps I followed:
1. downloaded SDLMESS 0.199u3
2. extracted to /usr/share/games/sdlmess
3. compiled with default makefile => "mess" executable
4. created link accessible to all users:
/usr/local/bin$ sudo ln /usr/share/games/sdlmess/mess mess --symbolic
5. created directory structure for the ROMS:
/usr/local/share/games/sdlmess/.
/usr/local/share/games/sdlmess/mess.ini
/usr/local/share/games/sdlmess/roms/.
/usr/local/share/games/sdlmess/roms/cpc464.zip
/usr/local/share/games/sdlmess/roms/Amstrad/.
/usr/local/share/games/sdlmess/roms/Amstrad/demo.dsk
6. I can run mess from the command line (as long as its in the correct directory) and it will find and boot the BIOS ROM and load the game ROM onto the media device with no problems:
/usr/local/share/games/sdlmess$ mess cpc464 -flop1 /roms/Amstrad/demo.dsk
7. All good, so I then configured a MythGame player:
Player Type: MAME
Command: mess cpc464 -flop1
Rom Dir: /usr/local/share/games/sdlmess/roms/
Working Dir: /usr/local/share/games/sdlmess/
8. Scan for games works. The database is populated with the ROMs, and I can browse them within MythTV. When I press 'M' the launch information for the player is correct.
9. BUT when I actually launch the ROM, nothing happens (screen flickers black for a second)
10. I finally get the idea it might be a user permissions problem. When I try to launch mess using the mythtv user:
/usr/local/share/games/sdlmess$ sudo -u mythtv mess
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
---------------------- DirectFB v0.9.25 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2007-08-07 19:21)
(*) Direct/Memcpy: Using MMX optimized memcpy()
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
--> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system' core!
--> Initialization error!
Could not initialize SDL: %s.
: DirectFBCreate: Initialization error!
I'm ASSUMING this is the same error that MythGame is failing on, but I don't know if MythGame is actually launching it with the "mythtv" user, or how to find out what error MythGame is encountering.
So in short, launching SDLMESS as either the root user or as my own default login works, but launching it as the mythtv user fails.
NOTE: it's not a MythGame issue in general as I have SDLMAME working perfectly in MythGame. But that was an apt-get package, not compiled.
Does anyone know what is going wrong here? I'm kind of stuck here in an empty place between the MythGame documentation and SDLMESS documentation.
Please help if you can! Thanks!
Neither MythGame or the mythtv user is able to launch SDLMESS correctly for me.
BUT the whole thing works fine from the console as the default user. Here are the steps I followed:
1. downloaded SDLMESS 0.199u3
2. extracted to /usr/share/games/sdlmess
3. compiled with default makefile => "mess" executable
4. created link accessible to all users:
/usr/local/bin$ sudo ln /usr/share/games/sdlmess/mess mess --symbolic
5. created directory structure for the ROMS:
/usr/local/share/games/sdlmess/.
/usr/local/share/games/sdlmess/mess.ini
/usr/local/share/games/sdlmess/roms/.
/usr/local/share/games/sdlmess/roms/cpc464.zip
/usr/local/share/games/sdlmess/roms/Amstrad/.
/usr/local/share/games/sdlmess/roms/Amstrad/demo.dsk
6. I can run mess from the command line (as long as its in the correct directory) and it will find and boot the BIOS ROM and load the game ROM onto the media device with no problems:
/usr/local/share/games/sdlmess$ mess cpc464 -flop1 /roms/Amstrad/demo.dsk
7. All good, so I then configured a MythGame player:
Player Type: MAME
Command: mess cpc464 -flop1
Rom Dir: /usr/local/share/games/sdlmess/roms/
Working Dir: /usr/local/share/games/sdlmess/
8. Scan for games works. The database is populated with the ROMs, and I can browse them within MythTV. When I press 'M' the launch information for the player is correct.
9. BUT when I actually launch the ROM, nothing happens (screen flickers black for a second)
10. I finally get the idea it might be a user permissions problem. When I try to launch mess using the mythtv user:
/usr/local/share/games/sdlmess$ sudo -u mythtv mess
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
---------------------- DirectFB v0.9.25 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2007-08-07 19:21)
(*) Direct/Memcpy: Using MMX optimized memcpy()
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
--> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system' core!
--> Initialization error!
Could not initialize SDL: %s.
: DirectFBCreate: Initialization error!
I'm ASSUMING this is the same error that MythGame is failing on, but I don't know if MythGame is actually launching it with the "mythtv" user, or how to find out what error MythGame is encountering.
So in short, launching SDLMESS as either the root user or as my own default login works, but launching it as the mythtv user fails.
NOTE: it's not a MythGame issue in general as I have SDLMAME working perfectly in MythGame. But that was an apt-get package, not compiled.
Does anyone know what is going wrong here? I'm kind of stuck here in an empty place between the MythGame documentation and SDLMESS documentation.
Please help if you can! Thanks!