I'm trying to get CSS working using Wine and Cedega. Steam works without a problem, and the games are fully updated, but the Half-Life 2 main menu map doesn't play smoothly at all (one frame every few seconds) let alone play, and CSS does not work either.
I've used this guide: ( https://help.ubuntu.com/community/RadeonDriver#head-7e2283943de094f4c373154f2e8178bfa9374050) to verify that my 3D acceleration is working using the command "glxinfo | grep vendor" and "glxinfo | grep "direct rendering"", but when apparently on Cedega's test program, my system only passes the OpenGL test and not the 3D acceleration test. I have a feeling that something is missing in my xorg configuration file. Here it is:
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
Option "MinSpeed" "0.7"
Option "MaxSpeed" "0.8"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "ATI Technologies Inc RS300M AGP [Radeon Mobility 9100IGP]"
Driver "ati"
BusID "PCI:1:5:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc RS300M AGP [Radeon Mobility 9100IGP]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
-
Your "driver" under the "Device" section should probably be "radeon", and not "ati". Try that, and it should get things working for you, I believe. I don't have an ATI card, so this is just going off of what I understand to be the case.
-
Actually, I think the drivers for legacy ATi cards are called "ati" and not "radeon." Nothing past the 9700 or something is supported by the fglrx drivers.
-
It works! Shattered glass looks weird, but it seems to work... anyone else wanting to get Steam games on Linux, just use this guide. Thanks Pitabred.
http://linux.wordpress.com/2007/02/...ife-half-life-2-counter-strike-source-and-16/
According to the guide I linked in my first post, the "ati" driver is supposed to use the "radeon" driver automatically if a legacy card is detected. Apparently that is not the case. -
-
After a couple more minutes of testing, there are other issues which I'll get fixed over time, namely:
- triangular artifacts flashing from the center of the screen in the event of a flashbang or explosion
- glass texture is no present; only white lines that represent the individual sections that the glass can break into
- sound sometimes doesn't work at all, or it skips, or it works fine
I wish Linux had a bit more support for these things. -
-
Code:DirectX 9: mat_dxlevel 90 DirectX 8.1: mat_dxlevel 81 DirectX 8.0: mat_dxlevel 80 DirectX 7.0: mat_dxlevel 70
-
I changed the DX mode for CSS and HL2 to 8.1, but I'm not sure how to do the same for Wine. There is no option for changing the DX mode in "winecfg".
-
just thought i would sneak this in there, but do these games run as quickly as on windows? or is there still a slowdown running under wine/cdega
-
And you aren't a better hacker than I am just because you found a site that has an nslookup hooked to a JPG rendering script that you can partially customizeBesides, it really should be a png for something with such hard lines and text, it'd make it much smaller and still stay readable as compared to the jpg.
-
"I don't think there is a way to do it. But the question is, did it work? Did it fix any of the artifacting you've seen, or any of the display glitches? Does it run faster?"
I don't see the artifacts as much, although flashes cause the screen to go yellow. It runs very well (not as smooth as XP perhaps), but pretty much everything works, except the mouse isn't very smooth. In CSS, that is a problem. Another weird thing to note is that items like crates and chairs appear to be extremely bright relative to their surroundings. Still not a problem though. Thanks for the help guys.
Full 3D Acceleration with Radeon 9100 IGP
Discussion in 'Linux Compatibility and Software' started by Bog, Jun 25, 2007.