Hi folks. I've got a problem with getting Diablo II to work with direct rendering.
Some information:
Code:
tycho@mittens:~$ glxinfo | grep direct
direct rendering: Yes
tycho@mittens:~$ wine --version
wine-0.9.36
tycho@mittens:~$ cat /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder26) Mon Feb 26 23:38:28 PST 2007
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 85.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6800 GT"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "metamodes" "CRT: 1600x1200 +1600+0, DFP: nvidia-auto-select +0+0; CRT: 1400x1050 +1600+0, DFP: nvidia-auto-select +0+0; CRT: 1280x1024 +1600+0, DFP: nvidia-auto-select +0+0; CRT: 1280x960 +1600+0, DFP: nvidia-auto-select +0+0; CRT: 1152x864 +1600+0, DFP: nvidia-auto-select +0+0; CRT: 1024x768 +1600+0, DFP: nvidia-auto-select +0+0; CRT: 832x624 +1600+0, DFP: nvidia-auto-select +0+0; CRT: 800x600 +1600+0, DFP: nvidia-auto-select +0+0; CRT: 720x400 +1600+0, DFP: nvidia-auto-select +0+0; CRT: 640x480 +1600+0, DFP: nvidia-auto-select +0+0"
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
tycho@mittens:~$ xrandr
SZ: Pixels Physical Refresh
*0 3200 x 1200 (1083mm x 406mm ) *50
1 3000 x 1200 (1016mm x 406mm ) 51
2 2880 x 1200 ( 975mm x 406mm ) 52 53
3 2752 x 1200 ( 932mm x 406mm ) 54
4 2624 x 1200 ( 888mm x 406mm ) 55
5 2432 x 1200 ( 823mm x 406mm ) 56
6 2400 x 1200 ( 812mm x 406mm ) 57
7 2320 x 1200 ( 785mm x 406mm ) 58
8 2240 x 1200 ( 758mm x 406mm ) 59
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none
For those of you who are aware, Diablo II has a d2vidtest.exe, which is supposed to detect video modes. For whatever reason, it says that it couldn't find any video modes.
A possible solution to this problem is listed here:
http://appdb.winehq.org/commentview....ThreadId=10705
However I'm running a twinview setup, so I'm not sure how that fits into the picture. Any hints?
TIA!