Wine-1.3.0 Wrong fullscreen resolution in Starcraft 2

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
mgoldshtein
Newbie
Newbie
Posts: 3
Joined: Mon Oct 04, 2010 11:33 am

Wine-1.3.0 Wrong fullscreen resolution in Starcraft 2

Post by mgoldshtein »

Hello!

The system is Debian Squeeze. Wine-1.3.0 was compiled from sources and installed according to instruction included.
$ lspci:
01:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 240M] (rev a2)

Subsystem: Lenovo Device 38fd

Kernel driver in use: nvidia


Native monitor's resolution is 1366x768.

Everything went smooth except for fullscreen resolution of running game. In 'options' → 'graphic' there are only two resolutions available: 1024x768 and 1360x768. How to fix that to native' 1366x768?

Googling gave nothing applicable.

Thanks for your time!
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine-1.3.0 Wrong fullscreen resolution in Starcraft 2

Post by vitamin »

mgoldshtein wrote:Everything went smooth except for fullscreen resolution of running game. In 'options' → 'graphic' there are only two resolutions available: 1024x768 and 1360x768. How to fix that to native' 1366x768?
Run 'xrandr' and check what resolution is listed there. If it's '1366x768' then the game is not showing the correct resolution.
mgoldshtein
Newbie
Newbie
Posts: 3
Joined: Mon Oct 04, 2010 11:33 am

Re: Wine-1.3.0 Wrong fullscreen resolution in Starcraft 2

Post by mgoldshtein »

vitamin wrote: Run 'xrandr' and check what resolution is listed there. If it's '1366x768' then the game is not showing the correct resolution.
$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 175, current 1366 x 768, maximum 1366 x 768
default connected 1366x768+0+0 0mm x 0mm
1366x768 50.0*
1360x768 51.0
1024x768 52.0 53.0
960x540 54.0
840x525 55.0
832x624 56.0
800x600 57.0 58.0 59.0 60.0 61.0
800x512 62.0
720x450 63.0
720x400 64.0
700x525 65.0
680x384 66.0 67.0
640x512 68.0 69.0
640x480 70.0 71.0 72.0 73.0 74.0
640x400 75.0
640x350 76.0
576x432 77.0 78.0 79.0 80.0 81.0 82.0 83.0
512x384 84.0 85.0 86.0 87.0 88.0
416x312 89.0
400x300 90.0 91.0 92.0 93.0 94.0
360x200 95.0
320x240 96.0 97.0 98.0 99.0
320x200 100.0
320x175 101.0
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine-1.3.0 Wrong fullscreen resolution in Starcraft 2

Post by vitamin »

mgoldshtein wrote:$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 175, current 1366 x 768, maximum 1366 x 768
default connected 1366x768+0+0 0mm x 0mm
1366x768 50.0*
1360x768 51.0
Then my guess your game really doesn't like 1366x768 resolution. Try disabling/removing 1360x768 from xorg config. If it's not there, then you'll have to play with nvidia-settings.
mgoldshtein
Newbie
Newbie
Posts: 3
Joined: Mon Oct 04, 2010 11:33 am

Re: Wine-1.3.0 Wrong fullscreen resolution in Starcraft 2

Post by mgoldshtein »

vitamin wrote:
mgoldshtein wrote:$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 175, current 1366 x 768, maximum 1366 x 768
default connected 1366x768+0+0 0mm x 0mm
1366x768 50.0*
1360x768 51.0
Then my guess your game really doesn't like 1366x768 resolution. Try disabling/removing 1360x768 from xorg config. If it's not there, then you'll have to play with nvidia-settings.
Well, there have to be a workaround. Something really simple, like to add "--graphics=1366x768" to game shortcut.

To play ~45 euros game with no screen comfort, it is just not right. And we talk about Starcraft.
Locked