PDA

View Full Version : Intel driver identified as i810 in xorg.conf


Thelasko
September 14th, 2007, 07:12 PM
A wile back I posted how my graphics seem to be much better in 64-bit Feisty since I switched from 32-bit. I have an Intel G965 GPU and have the new Intel driver installed. Today I decided I would try to get EXA working since I read a story on Slashdot (http://linux.slashdot.org/linux/07/09/13/1721212.shtml) that compiz-fusion works better on Intel GPUs with EXA except that EXA was buggy.

I open up the xorg.conf file and this is what I found:



# /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 xorg.conf(5) manual page.
# (Type "man 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/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"
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 "Intel Corporation 82G965 Integrated Graphics Controller"
Driver "i810"
BusID "PCI:0:2:0"
EndSection

Section "Monitor"
Identifier "DELL E207WFP"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82G965 Integrated Graphics Controller"
Monitor "DELL E207WFP"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
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"
EndSection

Section "DRI"
Mode 0666
EndSection

Thats right! The driver is set to i810! WTF:confused:? I checked synaptic and the i810 driver isn't even installed. Under my previous but limited experience I know that I should not have x working at all with this config file. Yet I have excellent graphics. I even get proper 1680x1050 resolution out of my monitor. It's not even an option! I can run compiz and watch video at the same time! Can somebody explain this to me?

Update: I added a poll. I'm afraid if I edit the config file I won't be able to start X again. In an effort to get a dialog going should I change the Xorg.conf? Why or why not?
Thanks in advance

Thelasko
September 19th, 2007, 08:10 PM
So I finally decided to play around with it. I figured tinkering is why I run Linux in the first place. It doesn't appear to matter what driver I select in Xorg.conf it still works fine. I tried to get EXA working to no avail. But I did get DRI and Triple Buffering enabled. Page Flipping doesn't work. When I go to log in the screen is all scrambled. It gets better once I log in though.

Syke
September 20th, 2007, 02:38 AM
The magic is this:

lrwxrwxrwx 1 root root 12 2007-08-07 23:59 /usr/lib/xorg/modules/drivers/i810_drv.so -> intel_drv.so

When the -intel driver is installed, a link is created so that the i810 driver actually points to the -intel driver! So it doesn't make a difference what you list in xorg.conf. Both settings will use the same driver.