2011-06-09, 01:33
Angelscry Wrote:There is 2 causes that could explain why you are not recovering the 1920x1080 resolution after closing the emulator :
- When you start an emulator it force to use its proper screen resolution. In this case try to configure the emulator to use the same resolution as XBMC.
- When you start/close the emulator, for a few second your are forced to use the windows manager/OS resolution. Here again, in this case try to configure the Ubuntu to use the same resolution as XBMC.
If it is not working, you can also modify you bash script (used to close/pause XBMC) to change the resolution of your screen (just before resume/restart XBMC) using the xrandr command line : http://www.ubuntugeek.com/how-change-dis...randr.html
I wanted to keep my emulator resolution as it was so it didn't distort the game screen. However, your other two suggestions set me off on the right path.
All I had to do was disable my laptop monitor:
xrandr --output LVDS1 --off
This fixed the problem. To ensure it's off when I launch one of the emulators, I just added it to the top line of my script (before I even killed XBMC). That way XBMC didn't default back to the laptop's resolution when it resumed.
Note that the name of the monitor (LVDS1) may differ if you're looking at this at some point in the future. To find out what your monitor is called, type
xrandr -q
That will show a list of all the available monitors with their respective resolutions. LVDS1 is the default name for laptop monitors with intel drivers.