You are not logged in.

#1 2008-10-20 06:21:02

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Can't play D2:LoD in fullscreen in WINE

I can play it when I emulate a 800x600 desktop, but when I try full screen, this happens: (Note, D2videotest didn't say I had any proper video drivers as well)

fixme:advapi:SetSecurityInfo stub
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32 vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0x32f338,0x00000000), stub!
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:d3d:IWineD3DDeviceImpl_CreateAdditionalSwapChain The app requests more than one back buffer, this can't be supported properly. Please configure the application to use double buffering(=1 back buffer) if possible
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x146550,0x1464c0): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x146550,0x1464c0): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x146550,0x1464c0): stub
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 800x600x8 @0! (XRandR)
wine: Unhandled page fault on read access to 0x003e0e80 at address 0x6f9b7878 (thread 0022), starting debugger...
Unhandled exception: page fault on read access to 0x003e0e80 in 32-bit code (0x6f9b7878).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:6f9b7878 ESP:7b439a04 EBP:00000000 EFLAGS:00010202(   - 00      - -RI1)
 EAX:003e0e80 EBX:01f00000 ECX:7eba1ce0 EDX:003e0e80
 ESI:01f00000 EDI:6f9b7800
Stack dump:
0x7b439a04:  6f9b7800 00000000 7b439a38 7efe4444
0x7b439a14:  7efe4444 003e0e80 00000000 7efec9c4
0x7b439a24:  7efec9c4 7efff29c 7efc597e 00000000
0x7b439a34:  6f9b7800 7b439ad8 7efc6d82 6f9b7800
0x7b439a44:  00000000 7efffa80 b7e70c01 b7e63140
0x7b439a54:  00000001 7b439a78 b7d913ec b7e63140
Backtrace:
=>1 0x6f9b7878 in d2sound (+0x7878) (0x00000000)
0x6f9b7878: movl    0x0(%edx),%ebx
Modules:
Module    Address            Debug info    Name (128 modules)
PE      330000-  344000    Deferred        d2lang
PE      400000-  411000    Deferred        game
PE     1820000- 1872000    Deferred        binkw32
PE     2020000- 202d000    Deferred        d2net
PE    10000000-1001a000    Deferred        smackw32
PE    60000000-6002e000    Deferred        ijl11
PE    6f8c0000-6f8d3000    Deferred        d2ddraw
PE    6f8e0000-6f9ae000    Deferred        d2win
PE    6f9b0000-6f9c9000    Export          d2sound
PE    6fa20000-6fa34000    Deferred        d2mcpclient
PE    6fa40000-6fa6d000    Deferred        d2launch
PE    6fa80000-6faa1000    Deferred        d2gfx
PE    6fbf0000-6fc50000    Deferred        storm
PE    6fe10000-6ff18000    Deferred        d2cmp
PE    6ff20000-6ff44000    Deferred        bnclient
PE    6ff50000-6ffac000    Deferred        fog
ELF    7bf00000-7bf03000    Deferred        <wine-loader>
ELF    7c0b8000-7ce2a000    Deferred        libglcore.so.1
ELF    7d281000-7d28e000    Deferred        libgcc_s.so.1
ELF    7d2e6000-7d2e8000    Deferred        libnvidia-tls.so.1
ELF    7d2e8000-7d38b000    Deferred        libgl.so.1
ELF    7d3a5000-7d43a000    Deferred        opengl32<elf>
  \-PE    7d3c0000-7d43a000    \               opengl32
ELF    7d43a000-7d55d000    Deferred        wined3d<elf>
  \-PE    7d450000-7d55d000    \               wined3d
ELF    7d55d000-7d5b6000    Deferred        ddraw<elf>
  \-PE    7d570000-7d5b6000    \               ddraw
ELF    7d7d8000-7d7ed000    Deferred        psapi<elf>
  \-PE    7d7e0000-7d7ed000    \               psapi
ELF    7d7ed000-7d839000    Deferred        dbghelp<elf>
  \-PE    7d800000-7d839000    \               dbghelp
ELF    7d94a000-7d95e000    Deferred        midimap<elf>
  \-PE    7d950000-7d95e000    \               midimap
ELF    7d95e000-7d986000    Deferred        msacm32<elf>
  \-PE    7d960000-7d986000    \               msacm32
ELF    7d986000-7d98f000    Deferred        librt.so.1
ELF    7d98f000-7da57000    Deferred        libasound.so.2
ELF    7da57000-7da8d000    Deferred        winealsa<elf>
  \-PE    7da60000-7da8d000    \               winealsa
ELF    7da8d000-7da91000    Deferred        libgpg-error.so.0
ELF    7da91000-7db03000    Deferred        libgcrypt.so.11
ELF    7db03000-7db13000    Deferred        libtasn1.so.3
ELF    7db13000-7dbb0000    Deferred        libgnutls.so.26
ELF    7dbb0000-7dbe2000    Deferred        libcrypt.so.1
ELF    7dbe2000-7dbf4000    Deferred        libroken.so.18
ELF    7dbf4000-7dc1c000    Deferred        libwind.so.0
ELF    7dc1c000-7dc97000    Deferred        libasn1.so.8
ELF    7dc97000-7dde8000    Deferred        libcrypto.so.0.9.8
ELF    7dde8000-7ddeb000    Deferred        libcom_err.so.2
ELF    7ddeb000-7de26000    Deferred        libhx509.so.3
ELF    7de26000-7dee7000    Deferred        libkrb5.so.25
ELF    7dee7000-7df10000    Deferred        libgssapi.so.2
ELF    7df10000-7df46000    Deferred        libcups.so.2
ELF    7df48000-7df60000    Deferred        msacm32<elf>
  \-PE    7df50000-7df60000    \               msacm32
ELF    7dfa7000-7dfd9000    Deferred        uxtheme<elf>
  \-PE    7dfb0000-7dfd9000    \               uxtheme
ELF    7dfd9000-7dfe2000    Deferred        libxcursor.so.1
ELF    7dfe2000-7dfe7000    Deferred        libxfixes.so.3
ELF    7dfe7000-7dfea000    Deferred        libxcomposite.so.1
ELF    7dfea000-7dff0000    Deferred        libxrandr.so.2
ELF    7dff0000-7dff8000    Deferred        libxrender.so.1
ELF    7dff8000-7dffd000    Deferred        libxxf86vm.so.1
ELF    7dffd000-7e01d000    Deferred        imm32<elf>
  \-PE    7e000000-7e01d000    \               imm32
ELF    7e01d000-7e022000    Deferred        libxdmcp.so.6
ELF    7e022000-7e03a000    Deferred        libxcb.so.1
ELF    7e03a000-7e129000    Deferred        libx11.so.6
ELF    7e129000-7e137000    Deferred        libxext.so.6
ELF    7e137000-7e14e000    Deferred        libice.so.6
ELF    7e14e000-7e156000    Deferred        libsm.so.6
ELF    7e156000-7e1f0000    Deferred        winex11<elf>
  \-PE    7e160000-7e1f0000    \               winex11
ELF    7e2af000-7e2cf000    Deferred        libexpat.so.1
ELF    7e2cf000-7e2fa000    Deferred        libfontconfig.so.1
ELF    7e2fa000-7e30e000    Deferred        libz.so.1
ELF    7e30e000-7e392000    Deferred        libfreetype.so.6
ELF    7e392000-7e3f8000    Deferred        rpcrt4<elf>
  \-PE    7e3a0000-7e3f8000    \               rpcrt4
ELF    7e3f8000-7e503000    Deferred        ole32<elf>
  \-PE    7e410000-7e503000    \               ole32
ELF    7e503000-7e596000    Deferred        winmm<elf>
  \-PE    7e510000-7e596000    \               winmm
ELF    7e596000-7e5e0000    Deferred        dsound<elf>
  \-PE    7e5a0000-7e5e0000    \               dsound
ELF    7e5e0000-7e5f3000    Deferred        libresolv.so.2
ELF    7e5f3000-7e5f8000    Deferred        libheimntlm.so.0
ELF    7e60d000-7e62c000    Deferred        iphlpapi<elf>
  \-PE    7e610000-7e62c000    \               iphlpapi
ELF    7e62c000-7e658000    Deferred        ws2_32<elf>
  \-PE    7e630000-7e658000    \               ws2_32
ELF    7e658000-7e672000    Deferred        wsock32<elf>
  \-PE    7e660000-7e672000    \               wsock32
ELF    7e672000-7e686000    Deferred        lz32<elf>
  \-PE    7e680000-7e686000    \               lz32
ELF    7e686000-7e6bb000    Deferred        winspool<elf>
  \-PE    7e690000-7e6bb000    \               winspool
ELF    7e6bb000-7e77f000    Deferred        comctl32<elf>
  \-PE    7e6c0000-7e77f000    \               comctl32
ELF    7e77f000-7e7da000    Deferred        shlwapi<elf>
  \-PE    7e790000-7e7da000    \               shlwapi
ELF    7e7da000-7e8f2000    Deferred        shell32<elf>
  \-PE    7e7f0000-7e8f2000    \               shell32
ELF    7e8f2000-7e99e000    Deferred        comdlg32<elf>
  \-PE    7e900000-7e99e000    \               comdlg32
ELF    7e99e000-7e9f2000    Deferred        advapi32<elf>
  \-PE    7e9b0000-7e9f2000    \               advapi32
ELF    7e9f2000-7ea90000    Deferred        gdi32<elf>
  \-PE    7ea00000-7ea90000    \               gdi32
ELF    7ea90000-7ebdc000    Deferred        user32<elf>
  \-PE    7eab0000-7ebdc000    \               user32
ELF    7eddc000-7ef19000    Deferred        kernel32<elf>
  \-PE    7ee00000-7ef19000    \               kernel32
ELF    7ef19000-7ef3f000    Deferred        libm.so.6
ELF    7ef40000-7ef59000    Deferred        version<elf>
  \-PE    7ef50000-7ef59000    \               version
ELF    7ef59000-7f000000    Deferred        ntdll<elf>
  \-PE    7ef70000-7f000000    \               ntdll
ELF    b7d11000-b7d14000    Deferred        libxinerama.so.1
ELF    b7d14000-b7d1f000    Deferred        libnss_files.so.2
ELF    b7d20000-b7d24000    Deferred        libdl.so.2
ELF    b7d24000-b7e66000    Deferred        libc.so.6
ELF    b7e66000-b7e7e000    Deferred        libpthread.so.0
ELF    b7e7e000-b7e80000    Deferred        libxcb-xlib.so.0
ELF    b7e90000-b7e93000    Deferred        libxau.so.6
ELF    b7e93000-b7e97000    Deferred        libuuid.so.1
ELF    b7e98000-b7fce000    Deferred        libwine.so.1
ELF    b7fcf000-b7fec000    Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
0000000c 
    00000014    0
    00000013    0
    00000012    0
    0000000e    0
    0000000d    0
0000000f 
    00000016    0
    00000015    0
    00000011    0
    00000010    0
00000019 (D) C:\Program Files\Diablo II\Game.exe
    00000022    0 <==
    0000001e    1
    0000001d    0
    0000001a    0
0000001f 
    00000020    0
Backtrace:
=>1 0x6f9b7878 in d2sound (+0x7878) (0x00000000)

Any suggestions? Do I have to add an entry in xorg.conf with 800x600 in it?

Last edited by zephyrus17 (2008-10-20 06:21:53)

Offline

#2 2008-10-20 16:24:40

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Can't play D2:LoD in fullscreen in WINE

Post your hardware and your xorg.conf...
I suppose the problematic line is this one

err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 800x600x8 @0! (XRandR)

My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#3 2008-10-20 22:53:38

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: Can't play D2:LoD in fullscreen in WINE

Yeah, I guessed as much as well.

Hardware? Thinkpad T61p, 15.4" WSXGA+, Intel Core 2 Duo T9300 2.5Ghz, 2Gb RAM, 160Gb@7200rpm, 256MB nVIDIA Quadro FX 570M.

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder57)  Thu Jul 17 18:39:19 PDT 2008


Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Inputdevice       "Joystick0" "SendCoreEvents"
EndSection

Section "Files"
    RgbPath         "/usr/share/X11/rgb"
    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/100dpi:unscaled"
    FontPath        "/usr/share/fonts/75dpi:unscaled"
    FontPath        "/usr/share/fonts/TTF"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/cyrillic"
    FontPath        "/usr/share/fonts/encodings"
    FontPath        "/usr/share/fonts/util"
    FontPath        "/usr/share/fonts/local"    
EndSection

Section "Module"
    Load           "glx"
    Load           "extmod"
    Load           "dbe"
    Load           "record"
    Load           "xtrap"
    Load           "freetype"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option "Xkblayout" "dvorak"
EndSection

Section "InputDevice"
    Identifier    "Joystick0"
    Driver            "joystick"
    #Option "Device" "/dev/input/by-id/usb-Microsoft_Corporation_Controller_0BAA05D-joystick"
    #Option "Path" "/dev/input/by-id/usb-Microsoft_Corporation_Controller_0BAA05D-joystick"
    Option "Device" "/dev/input/by-id/usb-Microsoft_Corporation_Controller_1EF60BA-joystick"
    Option "Path" "/dev/input/by-id/usb-Microsoft_Corporation_Controller_1EF60BA-joystick"    
    Option "SendCoreEvents" "true"
        Option "MapButton1"   "button=1" #left click
        Option "MapButton2"   "button=3" #right click
        Option "MapButton3"   "button=2" #middle click
    Option "MapButton4"     "key=Alt_R,Tab" #"alt-tab"    
    Option "MapButton5"   "key=Control_L,Alt_L,Delete" #"alt-tab"

         Option "MapAxis1"     "mode=relative    axis=+2x  deadzone=50"
         Option "MapAxis2"     "mode=relative    axis=+2y  deadzone=50"
         Option "MapAxis3"     "mode=none"
         Option "MapAxis4"     "mode=none"
         Option "MapAxis5"     "mode=none"
         Option "MapAxis6"     "mode=none"
         Option "MapAxis3"     "mode=none"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "Quadro FX 570M"
    #Option "UseEdidDpi" "false"
    #Option "DPI" "96 x 96" 
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    Option         "AddARGBGLXVisuals" "True"
    Option "RenderAccel" "true"
    Option "NoLogo" "true"
    Option "AGPFastWrite" "true"
    Option "EnablePageFlip" "true"
    SubSection     "Display"
        Viewport    0 0
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes "1680x1050"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

While it's up, if there's any other corrections/tweaks you can see, just tell me as well.

Last edited by zephyrus17 (2008-10-20 22:54:43)

Offline

#4 2008-10-21 04:41:35

kevin1024
Member
From: Kailua, Hawaii
Registered: 2007-08-26
Posts: 18
Website

Re: Can't play D2:LoD in fullscreen in WINE

For what it's worth, Diablo 2 plays great in VMWare.  Probably would work in virtualbox too.

Offline

#5 2008-10-21 06:15:35

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: Can't play D2:LoD in fullscreen in WINE

Oh, really? I thought Virtualbox doesn't have 3d acceleration?

Offline

#6 2008-10-21 14:45:36

bentzl
Member
Registered: 2008-09-10
Posts: 11

Re: Can't play D2:LoD in fullscreen in WINE

You dont need 3d acceleration for d2. I'm running it in software mode in vmware and works smooth.

Offline

#7 2008-10-21 14:47:42

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: Can't play D2:LoD in fullscreen in WINE

Nice. But I'd still prefer to run it from WINE. I don't want to have a virtual XP when I already have a XP partition already.

I've tried adding all the screen resolutions to xorg.conf, but that still didn't work.

Offline

#8 2008-10-21 15:07:52

creslin
Member
Registered: 2008-10-04
Posts: 241

Re: Can't play D2:LoD in fullscreen in WINE

You should probably remove AGPFastWrite from your config.  Have you tried forcing opengl when you launch the game?  Something like this:

$ env WINEPREFIX="/home/zephyrus/.wine" wine "C:\\Program Files\\Diablo II\\Game.exe" -opengl

ARCH|awesome3.0 powered by Pentium M 750 | 512MB DDR2-533 | Radeon X300 M
The journey is the reward.

Offline

#9 2008-10-21 15:18:22

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: Can't play D2:LoD in fullscreen in WINE

Heh. I only wrote AGPFastWrite into xorg.conf because the Arch beginners guide said so. What exactly does it do?

I thought the opengl mode for D2 wasn't complete?

Offline

#10 2008-10-21 15:29:01

creslin
Member
Registered: 2008-10-04
Posts: 241

Re: Can't play D2:LoD in fullscreen in WINE

I don't know the technical details of AGPFastWrite (maybe someone else can explain), but it seems to be somewhat unstable based on what I've googled.

Hmm you're right.. it appears that D2+opengl isn't a good mix either.  The only reason I suggested it is because that's the only way I could get my directx games to function properly in wine (although I don't have D2 anymore to try it in wine).

Last edited by creslin (2008-10-21 15:30:41)


ARCH|awesome3.0 powered by Pentium M 750 | 512MB DDR2-533 | Radeon X300 M
The journey is the reward.

Offline

#11 2008-10-22 00:35:10

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: Can't play D2:LoD in fullscreen in WINE

Thing is, with Ubuntu in the past, I used to be able to get it to run full screen *occasionally*. It always seemed to be a hit or a miss. Mostly miss.

Offline

#12 2008-10-22 06:08:02

Denacke
Member
Registered: 2008-04-09
Posts: 106

Re: Can't play D2:LoD in fullscreen in WINE

I just played diablo2 on my archlinux full screen without any specific configuration settings (as far as I know big_smile).

I'm interested to see what your xrandr outputs though. Mine gives me this:

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) 331mm x 207mm
   1280x800       60.0*+   60.0     60.0* 
   1280x768       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
TV disconnected (normal left inverted right x axis y axis)

I supect you won't have these other modes in there except your native one?

I'm not sure if it'll help, but I guess it's worth a try, my xorg has the modes added at the display lines:

    DefaultDepth  24
    SubSection "Display"
        Viewport   0 0
        Depth     1
        modes       "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
        modes       "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
        modes       "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
        modes       "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
        modes       "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        modes       "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection

good luck!

Offline

#13 2008-10-22 06:10:46

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: Can't play D2:LoD in fullscreen in WINE

*sigh* lucky you..

Here's my xrandr:

Screen 0: minimum 640 x 450, current 1680 x 1050, maximum 1680 x 1050
default connected 1680x1050+0+0 0mm x 0mm
   1680x1050      50.0*    51.0     57.0     58.0     62.0  
   1600x1024      52.0  
   1440x900       53.0  
   1280x1024      54.0  
   1280x960       55.0  
   640x480        56.0  
   800x512        59.0  
   720x450        60.0  
   640x512        61.0

It seems to be similar to yours. So I guess there's no problems.

For my xorg, I used the nVidia settings thing to set it to auto-detect. I'll try your method.

Last edited by zephyrus17 (2008-10-22 06:11:44)

Offline

#14 2008-10-22 15:50:31

Denacke
Member
Registered: 2008-04-09
Posts: 106

Re: Can't play D2:LoD in fullscreen in WINE

It's odd that your xrandr outputs almost any unthinkable mode except the one you need: 800x600.

I don't know how to enable this mode when xrandr doesn't list it, it's very odd.

I googled a little bit, perhaps this is worth a try: setting your X session to 800x600, then trying to start diablo

xrandr -s 800x600 --rate 75

you could perhaps test a bit with the --rate (refresh rate) value. using 'xrandr -s 0' will get you back to your native resolution.

Offline

#15 2008-10-23 00:14:48

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: Can't play D2:LoD in fullscreen in WINE

Well, I think it's because I'm using a widescreen screen, so it can't display 4:3 resolutions. If I start X with 800x600, wouldn't that mean that my whole desktop would be in 800x600?

Offline

#16 2009-02-17 19:57:52

intellitech
Member
From: Chicago, IL
Registered: 2008-09-18
Posts: 34
Website

Re: Can't play D2:LoD in fullscreen in WINE

Sorry to bring up an old post, but I also have a Lenovo Thinkpad T61p with a Quadro FX 570M, and I'm getting the exact same error message. It has to be more than a coincidence. My xrandr output is also identical to yours.

Has anybody come up with a solution for this?


With regards,
Adam Eberlin

My AUR Packages

Offline

#17 2009-03-05 20:43:09

intellitech
Member
From: Chicago, IL
Registered: 2008-09-18
Posts: 34
Website

Re: Can't play D2:LoD in fullscreen in WINE

WOOT!!! Finally solved this! The trick was to change the HorizSync and VertRefresh, and then add an option to ignore the edid values. Here is my xorg config (for a Lenovo T61P with a Quadro FX 570M and a 14.1" SXGA+ TFT display, model 8891-CTO):

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "SynPS/2 Synaptics Touchpad" "CorePointer"
EndSection

Section "Files"
    FontPath        "/home/user/.fonts"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "synaptics"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "SynPS/2 Synaptics Touchpad"
    Driver         "synaptics"
    Option         "Name" "SynPS/2 Synaptics Touchpad"
    Option         "Protocol" "auto-dev"
    Option         "LeftEdge" "1700"
    Option         "RightEdge" "5300"
    Option         "TopEdge" "1700"
    Option         "BottomEdge" "4200"
    Option         "FingerLow" "25"
    Option         "FingerHigh" "30"
    Option         "MaxTapTime" "180"
    Option         "MaxTapMove" "220"
    Option         "MinSpeed" "0.10"
    Option         "MaxSpeed" "0.20"
    Option         "AccelFactor" "0.0010"
    Option         "SHMConfig" "on"
    Option         "CornerCoasting" "1"
    Option         "VertEdgeScroll" "0"
    Option         "HorizEdgeScroll" "0"
    Option         "TapButton1" "1"
    Option         "TapButton2" "88"
    Option         "TapButton3" "99"
    Option         "VertTwoFingerScroll" "1"
    Option         "HorizTwoFingerScroll" "0"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LEN"
    HorizSync        30.0 - 67.0 #IMPORTANT
    VertRefresh        50.0 - 75.0 #IMPORTANT
    Option         "DPMS"
    Modeline "800x600_50"  31.15  800 824 904 1008  600 601 604 618  -HSync +Vsync #IMPORTANT
    Modeline "1400x1050_50"  99.88  1400 1480 1624 1848  1050 1051 1054 1081  -HSync +Vsync #IMPORTANT
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro FX 570M"
    Option         "AddARGBGLXVisuals" "True"
    Option         "DisableGLXRootClipping" "True"
    Option         "Coolbits" "1"
    Option           "UseEdidFreqs" "False" #IMPORTANT
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth   24
    Option         "NoLogo" "True"
    Option         "RenderAccel" "True"
    Option         "TripleBuffer" "True"
    Option         "BackingStore" "True"
    Option         "DamageEvents" "True"
    Option         "DPMS" "True"
    Option           "UseEdidFreqs" "False" #IMPORTANT
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes        "1400x1050_50" "800x600_50"
    EndSubSection
    SubSection       "Display"
        Viewport    0 0
        Depth        16
        Modes        "1400x1050_50" "800x600_50"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

With regards,
Adam Eberlin

My AUR Packages

Offline

Board footer

Powered by FluxBB