mriedel
April 25th, 2008, 10:01 AM
I use nvidia-new drivers and two displays at a native resolution of 1680x1050 each, configured through nvidia-settings.
I added an additional metamode for 640x480 in nvidia-settings. It was properly saved and appears in /etc/X11/xorg.conf.
Now when I start StarCraft through wine, it says it couldn't switch video modes. I then switched to 256 colors manually. "Couldn't switch video modes". I also tried switching to 640x480 and 256 colors manually. "Couldn't switch video modes".
My question pretty much comes down to "Why?".
I do NOT want to enable the virtual desktop setting in wine, as StarCraft ends up in a 640x480 window that is too small to play in and furthermore can't keep my mouse from moving out of it (thus making scrolling impossible) although the respective setting (DirectX mouse capture) is enabled.
wine version is 0.9.59. OS is hardy. I let wine emulate Win98. Changing this has no effect.
The wine error message is:
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x480x8 @0! (XRandR)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1680x1050x8 @0! (XRandR)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1680x1050x32 @0! (XRandR)
Update:
After checking the ouput of xrandr, I could solve my original problem by turning my second display off in the metamode that sets 640x480 for the primary monitor.
StarCraft now properly starts in fullscreen, but two new problems arise:
A) Even the menus run slow as hell (that wasn't the case when I ran it in windowed / virtual desktop mode)
B) Video mode isn't switched back to 3360x1050 upon exiting StarCraft
Update2:
Fixed problem A by doing nothing / doing somethin else. A new problem arose though:
C) Shift-Click and Ctrl-Click (unit grouping and unit type selection) don't work
I added an additional metamode for 640x480 in nvidia-settings. It was properly saved and appears in /etc/X11/xorg.conf.
Now when I start StarCraft through wine, it says it couldn't switch video modes. I then switched to 256 colors manually. "Couldn't switch video modes". I also tried switching to 640x480 and 256 colors manually. "Couldn't switch video modes".
My question pretty much comes down to "Why?".
I do NOT want to enable the virtual desktop setting in wine, as StarCraft ends up in a 640x480 window that is too small to play in and furthermore can't keep my mouse from moving out of it (thus making scrolling impossible) although the respective setting (DirectX mouse capture) is enabled.
wine version is 0.9.59. OS is hardy. I let wine emulate Win98. Changing this has no effect.
The wine error message is:
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x480x8 @0! (XRandR)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1680x1050x8 @0! (XRandR)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1680x1050x32 @0! (XRandR)
Update:
After checking the ouput of xrandr, I could solve my original problem by turning my second display off in the metamode that sets 640x480 for the primary monitor.
StarCraft now properly starts in fullscreen, but two new problems arise:
A) Even the menus run slow as hell (that wasn't the case when I ran it in windowed / virtual desktop mode)
B) Video mode isn't switched back to 3360x1050 upon exiting StarCraft
Update2:
Fixed problem A by doing nothing / doing somethin else. A new problem arose though:
C) Shift-Click and Ctrl-Click (unit grouping and unit type selection) don't work