Build Your Own Arcade Controls Forum
Main => Software Forum => Linux => Topic started by: captbaritone on November 24, 2007, 10:33:14 pm
-
I recently upgraded my Ubuntu cabinet (in progress) to Ubuntu Gutsy (7.10) and have encountered a strange problem. Now (usually but not always) when xmame exits, instead of returning to the original system resolution (1024x768) the system stays at the resolution that the game was using. (640x480) which completely screws up wahcade.
Any ideas why this would happen? Do you know of a place to ask questions about xame?
Any help is appreciated, I am sooo close to getting this thing running after MONTHS!
-Captbaritone
-
Not too familiar with XMAME, but I remember stumbling across an option in advancemame that will revert the video mode upon exit when I was perusing the documentation one day. XMAME may have a similar option - you might try searching the documentation for video mode or revert or something.
-
Unfortunately, I don't see any such reference here:
http://linux.die.net/man/6/xmame
One possible fix I am thinking of is finding some application or command which will revert the video mode and having wahcade run it after xmame.
ideas?
-
hmmm... maybe a re-start of your window manager or x-server? I can't remember if programs running under X are child processes of the X server or not. If not, perhaps wahcade can send a hangup signal to the x server....?
-
I FINALLY figured it out!
In Wahcade, at the end of the list of options that get passed to xmame, I added:
"; xrandr -s 1024x768"
Which means that after xmame closes, it runs the application xrandr to manually reset the video mode (in case xmame forgot this time).
-Captbaritone
http://www.classicalcode.com