Jesse Allen wrote:
These lines could explain why Starcraft is unable to switch to fullscreen:
err:xrandr:X11DRV_XRandR_GetCurrentMode In unknown mode, returning default fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 16 to 8 fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 16 to 8
You need to have 640x480 in your xorg.conf or XF86Config. If not that try capturing a log with WINEDEBUG=+xrandr and see what is wrong.
Thanks! Ok, here we go:
Starcraft # WINEDEBUG=+xrandr wine starcraft.exe trace:xrandr:X11DRV_XRandR_Init Found XRandR - major: 1, minor: 1 trace:xrandr:X11DRV_XRandR_Init XRandR: found 3 resolutions sizes trace:xrandr:X11DRV_XRandR_Init - at 0: 1280x1024 (2 rates): -19575, -19557 Hz trace:xrandr:X11DRV_XRandR_Init - at 1: 800x600 (1 rates): -19575 Hz trace:xrandr:X11DRV_XRandR_Init - at 2: 640x480 (1 rates): -19575 Hz trace:xrandr:X11DRV_XRandR_Init XRandR modes: count=4 trace:xrandr:X11DRV_XRandR_Init Available DD modes: count=12 trace:xrandr:X11DRV_XRandR_Init Enabling XRandR trace:xrandr:X11DRV_XRandR_Init Found XRandR - major: 1, minor: 1 trace:xrandr:X11DRV_XRandR_Init XRandR: found 3 resolutions sizes trace:xrandr:X11DRV_XRandR_Init - at 0: 1280x1024 (2 rates): -19575, -19557 Hz trace:xrandr:X11DRV_XRandR_Init - at 1: 800x600 (1 rates): -19575 Hz trace:xrandr:X11DRV_XRandR_Init - at 2: 640x480 (1 rates): -19575 Hz trace:xrandr:X11DRV_XRandR_Init XRandR modes: count=4 trace:xrandr:X11DRV_XRandR_Init Available DD modes: count=12 trace:xrandr:X11DRV_XRandR_Init Enabling XRandR err:xrandr:X11DRV_XRandR_GetCurrentMode In unknown mode, returning default fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fd450d0)->(0x30026,00000013) fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 16 to 8 trace:xrandr:X11DRV_XRandR_SetCurrentMode Changing Resolution to 640x480 @45961 Hz fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 16 to 8 trace:xrandr:X11DRV_XRandR_SetCurrentMode Changing Resolution to 640x480 @45961 Hz fixme:x11drv:X11DRV_DDHAL_CreatePalette stub
[ application runs ... click 'exit' ]
trace:xrandr:X11DRV_XRandR_SetCurrentMode Changing Resolution to 1280x1024 @4596 1 Hz Starcraft #
Looks like xrandr is broken. It says "Changing Resolution to 640x480", so that sounds great - only it doesn't.
What should I look for next?