StarCraft display issues,why is WINE not saving my settings?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
havok1977
Newbie
Newbie
Posts: 2
Joined: Sat Feb 21, 2009 6:46 pm

StarCraft display issues,why is WINE not saving my settings?

Post by havok1977 »

Hello, im running Kubuntu 8.10 on my Sony Vaio Laptop; and have WINE installed from the repositories listed in this site.

Im trying to play StarCraft; and while the game does run, the screen is all messed up, instead of displaying full screen it only displays on the top left corner of my screen - It was actually displaying properly in full screen until a couple of days ago - something broke and i cant find what.

My xorg.conf file does have a valid 640x480 in my default color depth, which is the native resolution for this game; but its just wont take the full screen; *and* when i reconfigure WINE with winecfg to run in windowed mode to at least play it inside a tiny window, the setting just wont stick! The settings just go away for no apparent reason.

Oh, I also tried implementing an alternate X.org screen with no success at all, as documented here:

http://ubuntuforums.org/showthread.php?t=822888

Any comments will be appreciated
Francesco85
Newbie
Newbie
Posts: 2
Joined: Tue Mar 03, 2009 12:25 pm

Post by Francesco85 »

Ey I'm glad somebody else has the same problem.. Pls somebody help us...!
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: StarCraft display issues,why is WINE not saving my setti

Post by vitamin »

havok1977 wrote:Im trying to play StarCraft; and while the game does run, the screen is all messed up, instead of displaying full screen it only displays on the top left corner of my screen - It was actually displaying properly in full screen until a couple of days ago - something broke and i cant find what.
Make sure that 'xrandr' command lists all the required resolutions (with correct refresh rate).
Francesco85
Newbie
Newbie
Posts: 2
Joined: Tue Mar 03, 2009 12:25 pm

Post by Francesco85 »

wow thx for the sudden reply!
In my case the problem seems to be there (xrandr) somewhere, because I checked xrandr and there is only 1280x1024 available...
I tried this

Code: Select all

dcrabs@farnsworth: /home/dcrabs $cvt 1280 1024
# 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz
Modeline "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync
[Mon May 12 21:43, Bash Version 3.2.39, 21 Commands, 0 Jobs, tty #0]

dcrabs@farnsworth: /home/dcrabs $ xrandr --newmode "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync

dcrabs@farnsworth: /home/dcrabs $ xrandr --verbose --addmode VGA  "1280x1024_60.00"
from http://forum.ubuntuusers.de/topic/xrand ... nzufuegen/
but after the last line

Code: Select all

dcrabs@farnsworth: /home/dcrabs $ xrandr --verbose --addmode VGA  "1280x1024_60.00"

Code: Select all

i get this message: xrandr: cannot find output "VGA"
sry I'm such a noob maybe I am posting stupid questions..
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Francesco85 wrote:wow thx for the sudden reply!
In my case the problem seems to be there (xrandr) somewhere, because I checked xrandr and there is only 1280x1024 available...
Then you need to edit xorg.conf to list all the modes you need.
How? Well you better ask that on Ubuntu forum. Most distros have a handy tool for that.
havok1977
Newbie
Newbie
Posts: 2
Joined: Sat Feb 21, 2009 6:46 pm

Post by havok1977 »

Sorry for the late reply, had not checked back in a few days...
my xrandr does detect the correct resolution:

Code: Select all

LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1280x800       59.8*+
   1280x768       59.9
   1280x720       59.9
   1024x768       60.0     59.9
   1280x600       59.9
   1024x600       59.9
   800x600        60.3     59.9
   768x576        59.9
   640x480        59.9     59.4
Perhaps the refresh rate is wrong? Would you know the correct setting?
Locked