Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
09-20-2006, 04:05 AM
|
#1
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Rep: 
|
Intel 915GM express 3d acceleration
I have an Intel 915GM chipset on my laptop. Here's the output of lspci
Code:
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
02:04.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
02:06.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
02:06.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
02:0e.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
and the output of lsmod
Code:
Module Size Used by
ipv6 217760 8
nls_iso8859_1 3936 0
isofs 32160 0
udf 72576 0
appletalk 31284 2
ax25 48152 2
ipx 23980 2
p8023 1888 1 ipx
i915 17536 1
drm 61972 2 i915
ppdev 8228 0
parport_pc 31472 0
lp 10432 0
parport 31720 3 ppdev,parport_pc,lp
button 6320 0
ac 4612 0
battery 9252 0
dm_snapshot 15324 0
dm_mirror 17236 0
dm_mod 47892 2 dm_snapshot,dm_mirror
sbp2 19364 0
scsi_mod 122220 1 sbp2
loop 14472 0
befs 25284 0
pcmcia 34844 0
firmware_class 9472 1 pcmcia
joydev 8864 0
snd_intel8x0 29436 1
snd_intel8x0m 15372 1
snd_pcm_oss 43520 0
snd_mixer_oss 15584 1 snd_pcm_oss
tsdev 7200 0
mousedev 10368 1
snd_ac97_codec 82784 2 snd_intel8x0,snd_intel8x0m
snd_ac97_bus 2048 1 snd_ac97_codec
evdev 8736 2
snd_pcm 74408 4 snd_intel8x0,snd_intel8x0m,snd_pcm_oss,snd_ac97_codec
snd_timer 20292 1 snd_pcm
eth1394 17924 0
pcspkr 2948 0
intel_agp 20860 1
agpgart 29232 3 drm,intel_agp
rtc 11252 0
yenta_socket 23660 1
rsrc_nonstatic 11840 1 yenta_socket
pcmcia_core 37264 3 pcmcia,yenta_socket,rsrc_nonstatic
snd 46080 11 snd_intel8x0,snd_intel8x0m,snd_pcm_oss,snd_mixer_oss,snd_ac97_codec,snd_pcm,snd_timer
soundcore 8672 1 snd
snd_page_alloc 9800 3 snd_intel8x0,snd_intel8x0m,snd_pcm
psmouse 34248 0
serio_raw 6436 0
usbhid 32128 0
reiserfs 216784 1
ide_cd 35328 0
cdrom 31888 1 ide_cd
ide_disk 14528 3
ehci_hcd 26856 0
uhci_hcd 26640 0
usbcore 110560 4 usbhid,ehci_hcd,uhci_hcd
piix 8932 0 [permanent]
generic 4164 0 [permanent]
ide_core 111440 4 ide_cd,ide_disk,piix,generic
ohci1394 29328 0
ieee1394 85560 3 sbp2,eth1394,ohci1394
b44 21996 0
mii 5056 1 b44
thermal 12968 0
processor 21696 1 thermal
fan 4452 0
When I type glxinfo I get this error
Code:
name of display: :0.0
ERROR! sizeof(I830DRIRec) does not match passed size from device driver
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
...
...
What could be the problem here? I'm using the i810 driver in xorg.conf
|
|
|
|
09-20-2006, 04:14 AM
|
#2
|
|
Member
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 977
Rep:
|
What shows
Code:
cat /var/log/Xorg.0.log | grep dri
Did you update your kernel before ? Have you applied something from
DRI freedesktop?
Here is also a troubleshoot guide
I've got the same card and it works fine here is my output of the command I mentioned above
Code:
X.Org XInput driver : 0.5
ABI class: X.Org XInput driver, version 0.5
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
(II) Loading /usr/lib/xorg/modules/drivers/i810_drv.so
ABI class: X.Org XInput driver, version 0.5
ABI class: X.Org XInput driver, version 0.5
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(II) I810(0): [drm] loaded kernel module for "i915" driver
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [dri] visual configs initialized
Last edited by odcheck; 09-20-2006 at 04:16 AM.
|
|
|
|
09-20-2006, 04:18 AM
|
#3
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
Here's the output:
Code:
X.Org XInput driver : 0.5
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
(II) Loading /usr/lib/xorg/modules/drivers/i810_drv.so
ABI class: X.Org XInput driver, version 0.5
ABI class: X.Org XInput driver, version 0.5
ABI class: XFree86 XInput driver, version 0.3
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(II) I810(0): [drm] loaded kernel module for "i915" driver
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [dri] visual configs initialized
(II) Synaptics touchpad driver version 0.14.6 (1406)
Quote:
Did you update your kernel before ? Have you applied something from
DRI freedesktop?
|
Actually I just changed the driver from vesa to i810 in my xorg.conf file. And it's a fresh installation of Debian.
|
|
|
|
09-20-2006, 04:23 AM
|
#4
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
Here's my xorg.conf. I'm pretty sure some driver options are needed for the chipset, but I'm not sure what I should do.
Code:
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/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 "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
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"
EndSection
Section "Device"
Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
Driver "i810"
BusID "PCI:0:2:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
# HorizSync 28-51
HorizSync 50-90
# VertRefresh 43-60
VertRefresh 70-120
Gamma 0.85 0.85 0.85 # created by KGamma
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
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
|
|
|
|
09-20-2006, 04:26 AM
|
#5
|
|
Member
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 977
Rep:
|
This is mine, so lets compare both...
Code:
# XFree86 4 configuration created by pyxf86config
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
InputDevice "Mouse0" "AlwaysCore"
EndSection
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "synaptics"
Load "dri"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
Option "LeftEdge" "120"
Option "RightEdge" "830"
Option "TopEdge" "120"
Option "BottomEdge" "650"
Option "FingerLow" "14"
Option "FingerHigh" "15"
Option "MaxTapMove" "110"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "20"
Option "MinSpeed" "0.3"
Option "MaxSpeed" "0.75"
EndSection
Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Dell 1024x768 Laptop Display Panel"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 48.5
VertRefresh 59.0 - 75.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "i810"
VendorName "Videocard vendor"
BoardName "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
Last edited by odcheck; 09-20-2006 at 04:29 AM.
|
|
|
|
09-20-2006, 04:28 AM
|
#6
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
Here's my "Modules" section
Quote:
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
|
|
|
|
|
09-20-2006, 04:36 AM
|
#7
|
|
Member
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 977
Rep:
|
Sorry harishankar I've seen that you posted your whole xorg.conf so I decided to change my post and also post my conf.
So how about if you copy my conf regarding the sections DEVICE, SCREEN
I also checked your lsmod output against mine and I don't see a huge differences only some but nothing regarding the problem we're trying to fix.
|
|
|
|
09-20-2006, 04:39 AM
|
#8
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
I'm going to remove BusID and see.
|
|
|
|
09-20-2006, 04:40 AM
|
#9
|
|
Member
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 977
Rep:
|
So what shows
Code:
dmesg | grep drm
this is my output:
[drm] Initialized drm 1.0.1 20051102
[drm] Initialized i915 1.4.0 20060119 on minor 0
Check this out step by step
http://dri.freedesktop.org/wiki/DriTroubleshooting
|
|
|
|
09-20-2006, 04:43 AM
|
#10
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
Same
Code:
[drm] Initialized drm 1.0.1 20051102
[drm] Initialized i915 1.4.0 20060119 on minor 0
I'm at my wits end. Everything seems all right and yet it doesn't work.
|
|
|
|
09-20-2006, 04:50 AM
|
#11
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
It all seems to rest in this particular error in glxinfo
Code:
...
ERROR! sizeof(I830DRIRec) does not match passed size from device driver
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
...
Last edited by vharishankar; 09-20-2006 at 04:53 AM.
|
|
|
|
09-20-2006, 04:55 AM
|
#12
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
Xorg version is 7.0.22 (from Etch)
|
|
|
|
09-20-2006, 05:01 AM
|
#13
|
|
Member
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 977
Rep:
|
I've found this BUG Report:
Bug#359328: ERROR! sizeof(I830DRIRec) does not match passed size from device driver
- They said you've to update mesa
|
|
|
|
09-20-2006, 07:32 AM
|
#15
|
|
Member
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 977
Rep:
|
As you LQ is shared IQ ;-)
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:59 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|