Jump to content

Intel Video Drivers


ianw1974
 Share

Recommended Posts

I'm running MDV LE2005, and the video card is Intel 82852/82855.

 

I downloaded the rpm from the Intel website, and went to install, but it says that agpgart module is not compiled into the kernel.

 

I have ran the following command from the prompt:

 

ls mod | grep agpgart

agpgart                28264  3 drm,intel-agp

 

This tells me that I have the module running. I checked for the following as well:

 

ls -R /lib/modules/2.6.11-6mdk/kernel | grep agpgart

agpgart.ko.gz

 

so this exists here. However, in

usr/src/linux-2.6.11-6mdk/drivers/char/agp
, the file agpgart.o does not exist, which is why I think I'm experiencing problems installing the drivers.

 

Does anyone know where I can get this file from, or how I can compile this module?

Link to comment
Share on other sites

I'm currently using the ones with LE2005, but I can't get OpenGL to work (screensavers games etc). If I run glxgears it fails, and glxinfo won't report back either. This is what I get:

 

glxinfo
name of display: :0.0
Loading required GL library /usr/lib/libGL.so.1
Segmentation fault

 

glxgears
Loading required GL library /usr/lib/libGL.so.1
Segmentation fault

Link to comment
Share on other sites

Just done that, restarted X, but still have same probs.

 

glxgears and glxinfo still reports the same info as above. Is there anything I should be doing after the restarting of X?

Link to comment
Share on other sites

Here is the lsmod:

 

lsmod
Module                  Size  Used by
sg                     34268  0
scsi_mod              115784  1 sg
i915                   17344  1
drm                    58388  2 i915
md5                     3648  1
ipv6                  232320  8
snd-seq-dummy           2596  0
snd-seq-oss            31584  0
snd-seq-midi-event      6208  1 snd-seq-oss
snd-seq                47472  5 snd-seq-dummy,snd-seq-oss,snd-seq-midi-event
snd-seq-device          6796  3 snd-seq-dummy,snd-seq-oss,snd-seq
snd-pcm-oss            49056  0
snd-mixer-oss          17248  1 snd-pcm-oss
snd-intel8x0           29216  1
snd-ac97-codec         75256  1 snd-intel8x0
snd-pcm                80776  3 snd-pcm-oss,snd-intel8x0,snd-ac97-codec
snd-timer              20324  2 snd-seq,snd-pcm
snd-page-alloc          7588  2 snd-intel8x0,snd-pcm
snd                    46980  11 snd-seq-oss,snd-seq,snd-seq-device,snd-pcm-oss,snd-mixer-oss,snd-intel8x0,snd-ac97-codec,snd-pcm,snd-timer
soundcore               7104  1 snd
parport_pc             31652  1
lp                      9864  0
parport                31624  2 parport_pc,lp
af_packet              16232  0
pcmcia                 18632  2
yenta_socket           19720  1
rsrc_nonstatic          9056  1 yenta_socket
pcmcia_core            41504  3 pcmcia,yenta_socket,rsrc_nonstatic
video                  13892  0
toshiba_acpi            4724  0
thermal                10600  0
tc1100-wmi              5188  0
processor              18164  1 thermal
fan                     3108  0
container               3040  0
button                  4880  0
battery                 7460  0
ac                      3300  0
eepro100               27056  0
mii                     4224  1 eepro100
ide-cd                 36772  0
loop                   13544  0
nls_iso8859-15          4288  1
ntfs                  205368  1
intel-agp              20028  1
agpgart                28264  3 drm,intel-agp
tsdev                   6016  0
evdev                   7744  0
usbmouse                4640  0
usbhid                 43712  0
ehci-hcd               28648  0
uhci-hcd               28944  0
usbcore               106008  5 usbmouse,usbhid,ehci-hcd,uhci-hcd
xfs                   571544  1
exportfs                4512  1 xfs

 

And the xorg.conf is here:

 

cat xorg.conf
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
   # Multiple FontPath entries are allowed (they are concatenated together)
   # By default, Mandrake 6.0 and later now use a font server independent of
   # the X server to render fonts.
   FontPath "unix/:-1"
EndSection

Section "ServerFlags"
   #DontZap # disable <Crtl><Alt><BS> (server abort)
   AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
   #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
   Load "dbe" # Double-Buffering Extension
   Load "v4l" # Video for Linux
   Load "extmod"
   Load "type1"
   Load "freetype"
   Load "glx" # 3D layer
   Load "/usr/X11R6/lib/modules/extensions/libglx.a"
   Load "synaptics"
   Load "dri" # direct rendering
EndSection

Section "InputDevice"
   Identifier "Keyboard1"
   Driver "keyboard"
   Option "XkbModel" "pc105"
   Option "XkbLayout" "gb"
   Option "XkbOptions" ""
EndSection

Section "InputDevice"
   Identifier "Mouse1"
   Driver "mouse"
   Option "Protocol" "ExplorerPS/2"
   Option "Device" "/dev/mouse"
   Option "ZAxisMapping" "6 7"
EndSection

Section "InputDevice"
   Identifier "SynapticsMouse1"
   Driver "synaptics"
   Option "Protocol" "auto-dev"
   Option "Device" "/dev/input/mice"
   Option "EdgeMotionMinSpeed" "200"
   Option "MaxSpeed" "1.00"
   Option "MinSpeed" "0.8"
   Option "BottomEdge" "650"
   Option "EdgeMotionMaxSpeed" "200"
   Option "CircScrollTrigger" "2"
   Option "UpDownScrolling" "0"
   Option "SHMConfig" "on"
   Option "EmulateMidButtonTime" "75"
   Option "CircScrollDelta" "0.1"
   Option "LeftEdge" "120"
   Option "FingerLow" "14"
   Option "HorizScrollDelta" "20"
   Option "MaxTapTime" "180"
   Option "MaxTapMove" "110"
   Option "FingerHigh" "15"
   Option "VertScrollDelta" "20"
   Option "CircularScrolling" "1"
   Option "TopEdge" "120"
   Option "RightEdge" "830"
   Option "AccelFactor" "0.015"
EndSection

Section "Monitor"
   Identifier "monitor1"
   VendorName "Generic"
   ModelName "Flat Panel 1024x768"
   HorizSync 31.5-48.5
   VertRefresh 40-70

   # Sony Vaio C1(X,XS,VE,VN)?
   # 1024x480 @ 85.6 Hz, 48 kHz hsync
   ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync

   # Dell D800 and few Inspiron (16/10) 1280x800
   ModeLine "1280x800"  147.89  1280 1376 1512 1744  800 801 804 848

   # Dell D800 and few Inspiron (16/10) 1680x1050
   ModeLine "1680x1050"  214.51  1680 1800 1984 2288  1050 1051 1054 1103

   # Dell D800 and few Inspiron (16/10) 1920x1200
   ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync

   # TV fullscreen mode or DVD fullscreen output.
   # 768x576 @ 79 Hz, 50 kHz hsync
   ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630

   # 768x576 @ 100 Hz, 61.6 kHz hsync
   ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Monitor"
   Identifier "monitor2"
   VendorName "Generic"
   ModelName "Flat Panel 1024x768"
   HorizSync 31.5-48.5
   VertRefresh 40-70

   # Sony Vaio C1(X,XS,VE,VN)?
   # 1024x480 @ 85.6 Hz, 48 kHz hsync
   ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync

   # Dell D800 and few Inspiron (16/10) 1280x800
   ModeLine "1280x800"  147.89  1280 1376 1512 1744  800 801 804 848

   # Dell D800 and few Inspiron (16/10) 1680x1050
   ModeLine "1680x1050"  214.51  1680 1800 1984 2288  1050 1051 1054 1103

   # Dell D800 and few Inspiron (16/10) 1920x1200
   ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync

   # TV fullscreen mode or DVD fullscreen output.
   # 768x576 @ 79 Hz, 50 kHz hsync
   ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630

   # 768x576 @ 100 Hz, 61.6 kHz hsync
   ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
   Identifier "device1"
   VendorName "Intel Corp."
   BoardName "Intel 85x"
   Driver "i810"
   Screen 0
   BusID "PCI:0:2:0"
   Option "DPMS"
EndSection

Section "Device"
   Identifier "device2"
   VendorName "Intel Corp."
   BoardName "Intel 85x"
   Driver "i810"
   Screen 0
   BusID "PCI:0:2:1"
   Option "DPMS"
EndSection

Section "Screen"
   Identifier "screen1"
   Device "device1"
   Monitor "monitor1"
   DefaultColorDepth 24

   Subsection "Display"
       Depth 8
       Virtual 1024 768
   EndSubsection

   Subsection "Display"
       Depth 15
       Virtual 1024 768
   EndSubsection

   Subsection "Display"
       Depth 16
       Virtual 1024 768
   EndSubsection

   Subsection "Display"
       Depth 24
       Virtual 1024 768
   EndSubsection
EndSection

Section "Screen"
   Identifier "screen2"
   Device "device2"
   Monitor "monitor2"
   DefaultColorDepth 24

   Subsection "Display"
       Depth 8
       Virtual 1024 768
   EndSubsection

   Subsection "Display"
       Depth 15
       Virtual 1024 768
   EndSubsection

   Subsection "Display"
       Depth 16
       Virtual 1024 768
   EndSubsection

   Subsection "Display"
       Depth 24
       Virtual 1024 768
   EndSubsection
EndSection

Section "ServerLayout"
   Identifier "layout1"
   InputDevice "Keyboard1" "CoreKeyboard"
   InputDevice "Mouse1" "CorePointer"
   InputDevice "SynapticsMouse1" "AlwaysCore"
   Screen "screen1"
   Screen "screen2" RightOf "screen1"
   #Option "Xinerama"
EndSection

 

What I've noticed is that the i915 is bound to drm, but it's not bound to agpgart. I noticed that intel_agp is bound to agpgart along with drm. So what I've just done, is removed intel_agp from /etc/modprobe.preload to see if when I reboot, whether agpgart will grab the i915 that we just did the modprobe for earlier.

 

Does this sound OK to you, or should I be leaving intel_agp in place? I'm assuming this is a generic one it has probed and found and might be the source of the problem?!?

Link to comment
Share on other sites

I have ko.gz, so I must be ok there then.

 

I've just disabled intel_agp, and enabled i915 in it's place. I reconfigured the driver, and then added the section DRI and Mode 0666 to the xorg.conf.

 

I restarted X, but still have the same errors before.

 

Still no idea as to how to get OpenGL working etc.

Link to comment
Share on other sites

Update:

 

Put intel-agp and i915 in the modprobe.preload file in case this would help. Unfortunately it didn't, but this is the point I'm at now, so any help appreciated in how to go further.

Link to comment
Share on other sites

Update:

 

Put intel-agp and i915 in the modprobe.preload file in case this would help.  Unfortunately it didn't, but this is the point I'm at now, so any help appreciated in how to go further.

Try booting from Knoppix LiveCD. If 3D works, have a look what driver/modules knoppix loads. You can even copy their xorg.conf and /etc/modules to your Mandrake system and try loading the same config.

Link to comment
Share on other sites

Its the right driver coverup, i915 kernel + i810 Xorg, theres also an i810(i think thats right) kernel driver, but the i915 driver is substantially better

 

Does anything run as root that needs direct rendering/3dgl?

Link to comment
Share on other sites

No, nothing at all. I'm thinking it might have something to do with upgrading from 10.1 OE to LE2005.

 

Seems to have problems loading the OpenGL stuff when running Xorg.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...