PDA

View Full Version : Cedega and i915


sorcererx84
January 16th, 2006, 09:23 AM
I am running Cedega 5.0 on a laptop with 128mb i915 Intel Graphic Media Accelerator. Enemy Territory, Quake 3, Neverwinter Nights and Unreal Tournament run fine with default settings. But with Cedega, OpenGL games like Warcraft 3, Half-Life run very slow. I have installed 20060107 i915 DRI snapshots and i get around 1100-1200 fps with glxgears and Cedega test show everything is OK. Does anyone have a solution?

curuxz
January 16th, 2006, 10:02 AM
Can we see your Xorg conf, so make sure you have everything loaded correctly :) (/etc/X11/xorg.conf)

sorcererx84
January 18th, 2006, 12:15 PM
Sorry, forgot that:D .
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
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 "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "Device"
Identifier "Intel Corporation i915"
Driver "i810"
BusID "PCI:0:2:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation i915"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
Mode 0666
EndSection

Artificial Intelligence
January 18th, 2006, 12:22 PM
Have you libgl1-mesa-dri installed?

sorcererx84
January 18th, 2006, 12:37 PM
Yes.

curuxz
January 18th, 2006, 12:40 PM
I dont know much about your card but, is this wrong?

Identifier "Intel Corporation i915"
Driver "i810"

should the drive not be "i915" ?

Artificial Intelligence
January 18th, 2006, 12:44 PM
I think there aren't specific for i915 that's why it uses 810. Correct me if I'm wrong.

Artificial Intelligence
January 18th, 2006, 12:48 PM
Found this on Dapper Development forums: http://ubuntuforums.org/showthread.php?t=106025&highlight=i915 (the last post)

sorcererx84
January 18th, 2006, 12:51 PM
The i810 driver supports i915 too.

sorcererx84
January 18th, 2006, 01:10 PM
Tried it. Doesn't work for me.