[Wine] Re: Diablo 2, cant start, (direct draw?)

halp wineforum-user at winehq.org
Sat Apr 25 07:37:25 CDT 2009


Yes, thats the problem! xrandr gives me only one resolution: "1280x800       58.5", in LVDS.

I added two resolutions; "800x600_58.50   58.5", and "640x480_58.50   58.5", I made them with "58.5" refreshrate as the original one.

Here's how I did:


> anton at anton ~ $ gtf 800 600 58.5
> 
>   # 800x600 @ 58.50 Hz (GTF) hsync: 36.33 kHz; pclk: 37.20 MHz
>   Modeline "800x600_58.50"  37.20  800 832 912 1024  600 601 604 621  -HSync +Vsync
> 
> anton at anton ~ $ xrandr --newmode "800x600_58.50"  37.20  800 832 912 1024  600 601 604 621  -HSync +Vsync
> anton at anton ~ $ xrandr --addmode LVDS 800x600_58.50
> anton at anton ~ $ xrandr
> Screen 0: minimum 320 x 200, current 1280 x 800, maximum 1280 x 1280
> VGA disconnected (normal left inverted right x axis y axis)
> LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 261mm x 163mm
>    1280x800       58.5*+
>    800x600_58.50   58.5  
> TV disconnected (normal left inverted right x axis y axis)
> anton at anton ~ $ gtf 640 480 58.5
> 
>   # 640x480 @ 58.50 Hz (GTF) hsync: 29.07 kHz; pclk: 23.26 MHz
>   Modeline "640x480_58.50"  23.26  640 656 720 800  480 481 484 497  -HSync +Vsync
> 
> anton at anton ~ $ xrandr --newmode "640x480_58.50"  23.26  640 656 720 800  480 481 484 497  -HSync +Vsync
> anton at anton ~ $ xrandr --addmode LVDS 640x480_58.50
> anton at anton ~ $ xrandr
> Screen 0: minimum 320 x 200, current 1280 x 800, maximum 1280 x 1280
> VGA disconnected (normal left inverted right x axis y axis)
> LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 261mm x 163mm
>    1280x800       58.5*+
>    800x600_58.50   58.5  
>    640x480_58.50   58.5  
> TV disconnected (normal left inverted right x axis y axis)
> anton at anton ~ $ 


And now it works in fullscreen, without Virtual Desktop!
Theres one some minor problems though:

1. When the game replaces the mouse pointer the original gets stuck at that position, while i can only move the "game pointer", so I have to push the pointer to the egde of the screen so it isnt visible when the switch occurs

2. I can not tab out of the game. Well, I can but then I cant get back into the game.

But its alright now. Thanks.







More information about the wine-users mailing list