View previous topic :: View next topic |
Author |
Message |
nickiank n00b
Joined: 08 Jul 2006 Posts: 36 Location: Chicago, IL
|
Posted: Sat Nov 11, 2006 10:15 pm Post subject: xmame fullscreen crashes X, locks system |
|
|
(I posted this under the Games forum previously, but then thought it might make more sense here. Apologies for duplication.)
So, I tried out Beryl yesterday to see what it was like, and after getting bored with it, I removed it from my system. Everything seems to be working fine, except for the fact that now, whenever I go to load any rom for xmame in fullscreen mode, X crashes without displaying any error message or dumping me at the command line, and then my system locks completely, and stops outputting a video signal. What's odd is that I can run any of my working roms just fine if I *don't* set them as full screen (i.e. run them in a window), but the fullscreen causes everything to bomb.
running
Code: |
xmame /mediaarch/mame/zaxxon --fullscreen 2> xmameerror.txt |
,
xmameerror.txt reads as follows:
Code: |
info: trying to parse: /usr/share/games/xmame/xmamerc
info: trying to parse: /home/nkeiser/.xmame/xmamerc
info: trying to parse: /usr/share/games/xmame/xmame-SDLrc
info: trying to parse: /home/nkeiser/.xmame/xmame-SDLrc
info: trying to parse: /usr/share/games/xmame/rc/zaxxonrc
info: trying to parse: /home/nkeiser/.xmame/rc/zaxxonrc
loading rom 0: zaxxon.3
loading rom 1: zaxxon.2
loading rom 2: zaxxon.1
loading rom 3: zaxxon.14
loading rom 4: zaxxon.15
loading rom 5: zaxxon.6
loading rom 6: zaxxon.5
loading rom 7: zaxxon.4
loading rom 8: zaxxon.11
loading rom 9: zaxxon.12
loading rom 10: zaxxon.13
loading rom 11: zaxxon.8
loading rom 12: zaxxon.7
loading rom 13: zaxxon.10
loading rom 14: zaxxon.9
loading rom 15: zaxxon.u98
loading rom 16: zaxxon.u72
done
info: set to 16bit linear stereo 44100Hz
info: sysdep_dsp: using alsa plugin
info: sysdep_mixer: using oss plugin
OSD: Info: Ideal mode for this game = 398x256
SDL found mode:1280x1024x32
SDL found mode:1280x960x32
SDL found mode:1152x864x32
SDL found mode:1152x768x32
SDL found mode:1024x768x32
SDL found mode:832x624x32
SDL found mode:800x600x32
SDL found mode:800x512x32
SDL found mode:640x512x32
SDL found mode:640x480x32
SDL found mode:640x400x32
SDL found mode:576x432x32
SDL found mode:576x384x32
SDL found mode:512x384x32
SDL found mode:416x312x32
SDL found mode:400x300x32
SDL found mode:320x240x32
SDL found mode:1280x1024x32
SDL found mode:1280x960x32
SDL found mode:1152x864x32
SDL found mode:1152x768x32
SDL found mode:1024x768x32
SDL found mode:832x624x32
SDL found mode:800x600x32
SDL found mode:800x512x32
SDL found mode:640x512x32
SDL found mode:640x480x32
SDL found mode:640x400x32
SDL found mode:576x432x32
SDL found mode:576x384x32
SDL found mode:512x384x32
SDL found mode:416x312x32
SDL found mode:400x300x32
SDL found mode:320x240x32
X connection to :0.0 broken (explicit kill or server shutdown). |
/etc/X11/xorg.conf is as follows:
Code: |
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "AIGLX" "true"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/freefont"
FontPath "/usr/share/fonts/sharefonts"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/unifont"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/artwiz"
EndSection
Section "Module"
Load "record"
# Load "dri"
Load "dbe"
Load "glx"
Load "extmod"
Load "xtrap"
Load "type1"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
# Option "Emulate3Buttons" "true"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
# Option "ZAxisMapping" "6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Viewsonic"
ModelName "Viewsonic VX922"
# OLD HSYNC 31-68
HorizSync 30-82
# OLD VERT 70
VertRefresh 50-75
#Gamma 1.30 1.30 1.30 # created by KGamma
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
#Option "FPScale" # [<bool>]
#Option "FPTweak" # <i>
Option "UseEdidDpi" "false"
Option "DPI" "96 x 96"
Option "RenderAccel" "true"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce 6600LE"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
|
Again, this worked *fine* until I'd installed Beryl. What doesn't make sense to me is that I (believe I) switched everything back to the way it was and removed all the packages I'd installed in the process. This is with xmame 0.106, KDE 3.5.5-r1, and xorg-x11 7.1. I currently have AIGLX on, as it seems to provide a slight performance increase in terms of X starting, though I've tried things both with and without it on, and the results are the same in either case.
I'm sure I'm missing something obvious. Anyone want to backhand me in the right direction? |
|
Back to top |
|
|
whig l33t
Joined: 27 Nov 2004 Posts: 973 Location: New Zealand
|
Posted: Sat Nov 11, 2006 10:51 pm Post subject: |
|
|
Not a direct solution, but I use compiz and opengl games can crash me out of X(gl) if I don't use the xlaunch script. |
|
Back to top |
|
|
nickiank n00b
Joined: 08 Jul 2006 Posts: 36 Location: Chicago, IL
|
Posted: Sat Nov 11, 2006 11:30 pm Post subject: |
|
|
Well, that's the thing. I'm confused as big, weighty OpenGL applications work just fine for me ATM, even Quake4, and yet xmame just craps out inexplicably. I can't seem to replicate the behavior with any other application. |
|
Back to top |
|
|
nickiank n00b
Joined: 08 Jul 2006 Posts: 36 Location: Chicago, IL
|
Posted: Sun Nov 12, 2006 12:26 am Post subject: |
|
|
Okay, correction to that last remark: just emerged and tried to run a game called rRootage and attempted to run it...same thing. I'm starting to wonder if this might have something to do with trying to switch resolutions...not sure though, honestly don't have much knowledge of how X handles such a process. |
|
Back to top |
|
|
whig l33t
Joined: 27 Nov 2004 Posts: 973 Location: New Zealand
|
Posted: Sun Nov 12, 2006 3:07 am Post subject: |
|
|
Longshot: when my apps don't work I re-emerge them. Try it with xmame. |
|
Back to top |
|
|
nickiank n00b
Joined: 08 Jul 2006 Posts: 36 Location: Chicago, IL
|
Posted: Sun Nov 12, 2006 3:20 am Post subject: |
|
|
Tried xmame and xorg...no go. |
|
Back to top |
|
|
maKKus Guru
Joined: 07 Aug 2002 Posts: 356 Location: /Universe/Milky Way/Sol/Earth/Europe/EEC/The Netherlands/Limburg/Beek/Neerbeek
|
Posted: Sun Nov 12, 2006 9:40 am Post subject: |
|
|
I had crashes with SDL based games (included xmame) when running fullscreen after I intalled nvidia-drivers-1.0.9629 to try out compiz on my laptop. Compiz worked beautiful but SDL fullscreen games crashed X. Going back to nvidia-drivers-1.0.8776.ebuild resolves the crashes, but then I have no 3D desktop . |
|
Back to top |
|
|
nickiank n00b
Joined: 08 Jul 2006 Posts: 36 Location: Chicago, IL
|
Posted: Sun Nov 12, 2006 6:42 pm Post subject: |
|
|
Ah, there's that seemingly obvious point I was talking about...forgot that I hadn't upgraded my nvidia driver to 1.0.9629 until I tried Beryl. 1.0.8776 works just fine. Thanks for the suggestion. Mark this problem solved!
It's worth noting that I also had to drop down to version 1.0.20060516-r1 of nvidia-settings to get all of the options back...seems that the newer version of nvidia-settings isn't fully backwards-compatible with the previous version of the driver. |
|
Back to top |
|
|
maKKus Guru
Joined: 07 Aug 2002 Posts: 356 Location: /Universe/Milky Way/Sol/Earth/Europe/EEC/The Netherlands/Limburg/Beek/Neerbeek
|
Posted: Sun Nov 12, 2006 6:47 pm Post subject: |
|
|
Downgrading to 9626 works also and then you can use Beryl. 9626 isn't in portage anymore but you can change the 9629 ebuild and but it in /usr/local/portage. |
|
Back to top |
|
|
|