Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where has my DRI gone? [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
purple_monkey
n00b
n00b


Joined: 10 Nov 2005
Posts: 26

PostPosted: Sun Dec 17, 2006 11:58 pm    Post subject: Where has my DRI gone? [Solved] Reply with quote

Somehow, over many updates and upgrades, I have lost direct rendering on my Asus Z33A (an i915GM graphics chipset)--at least that's what glxinfo tells me. I have been to http://dri.freedesktop.org/wiki/DriTroubleshooting but things still will not work. I can make it as far as "Userspace Setup" before things go south.

In particular, running glxinfo with the "export LIBGL_DEBUG=verbose" environment variable set leads to the following error.
Code:

name of display: :0.0
libGL: XF86DRIGetClientDriverName: 1.7.3 i915 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/tls/i915_dri.so
libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so
libGL error: dlopen /usr/lib/dri/i915_dri.so failed (/usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: i915_dri.so
display: :0  screen: 0
direct rendering: No


Clearly, it is upset because it can't find i915_dri.so. I've looked, it is nowhere on my system. I've tried various kernel/Xorg configs (typically by removing the i915 selections from the kernel and replacing them with the earlier i810 options) and I can only get this error to switch to a complain that it can't find libGL.so.1. The libGL files exist elsewhere and if I either copy or link them to the directory that glxinfo looks in I can remove the complaint about not being able to find something, but direct rendering is still "No".

Here's what I believe may be relevant...

Currently installed are a 2.6.18-r4 kernel, xorg-x11 7.1, x11-drm 20060608, mesa-6.5.2 and gentoo-sources 2.6.18-r4. (I just preformed an emerge world last week to try and fix this, but to no avail)

Relevant sections of xorg.conf
Code:

Section "Module"
   Load  "extmod"
   Load  "dri"
   Load  "dbe"
   Load  "record"
   Load  "xtrap"
   Load  "glx"
   Load  "type1"
   Load  "freetype"
   Load  "synaptics"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"              # [<bool>]
        #Option     "DefaultRefresh"        # [<bool>]
   Identifier  "Card0"
   #Driver     "vesa"
   Driver       "i810"
   VendorName  "Intel Corp."
   BoardName   "i915GM"
   BusID       "PCI:0:2:0"
    #The following added Nov. 22/05 in attempt to improve performance
   Option     "SWCursor"   "0"
   Option       "AGPFastWrite"    "True"
   #Option       "ActiveDevice"    "LCD"
   Option       "DRI"       "True"
   ChipSet    "915GM"
   Option       "AGPMode"    "4"
   Option       "Accel"
   Option      "MonitorLayout"    "CRT,LFP"
   Option      "Clone" "On"
   Option      "CloneRefresh"   "60"
   VideoRam 32768
EndSection

Section "DRI"
   Mode 0666
EndSection


lspci returns the following:
Code:

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)


(Possibly) Relevant pieces of my gentoo-2.6.18-r4 kernel.conf are as follows:
Code:

CONFIG_AGP=y
CONFIG_AGP_INTEL=y
CONFIG_DRM=y
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
CONFIG_DRM_I915=y
CONFIG_FB_I810=y
# CONFIG_FB_I810_GTF is not set
CONFIG_FB_INTEL=m
# CONFIG_FB_INTEL_DEBUG is not set
CONFIG_I2C_I810=y


Any help or suggestions would be appreciated.


Last edited by purple_monkey on Thu Jan 18, 2007 8:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
Haystack
n00b
n00b


Joined: 28 Nov 2005
Posts: 60
Location: Utrecht, Netherlands

PostPosted: Mon Dec 18, 2006 2:07 pm    Post subject: Reply with quote

lib is part of package mesa, maybe reemerging mesa will help?

I hade a similar problem this weekend, (with radeons r200_dri.so not found), I looked everywhere, and found somewhere a possible solution by manually downloading and installing the drivers from freedesktop.org. It screwed up my whole X configuration... so i would advice not trying that if someone tells you to.

Can you please post your solution when you've solved this. At least I will :) Thanks & Good Luck.
Back to top
View user's profile Send private message
purple_monkey
n00b
n00b


Joined: 10 Nov 2005
Posts: 26

PostPosted: Tue Dec 19, 2006 1:53 am    Post subject: Reply with quote

Yeah, I've tried reemerging mesa. I even tried downgrading to an earlier version. Unfortunately it didn't make a difference.

In my travels I've seen some complaints about the radeon file not being found as well. If I uncover anything useful about that I'll post it here as well.

Thanks for the warning about the freedesktop.org download process. I recall seeing that and being afraid. I'll stay away from it until I am forced into it.
Back to top
View user's profile Send private message
Haystack
n00b
n00b


Joined: 28 Nov 2005
Posts: 60
Location: Utrecht, Netherlands

PostPosted: Tue Dec 19, 2006 8:48 am    Post subject: Reply with quote

Well the problem is solved now for me, but not the way you probably want.

What I did:

Reinstall gentoo
following the exact guides:

From gentoo-docs:
3d hardware acceleration guide

From gentoo-wiki
Howto DRI with open source ati drivers (because I have Ati Radeon 9200)
Howto AIGLX

From gentoo-xeffects.org wiki:
AIGLX
(Beryl also, but does not have anything to do with this)

Now, again I had the same problem with libGL not finding r200_dri.so.

#slocate r200_dri found the driver elsewhere, so I made a symlink for that. (slocate didn't find it before the reinstall)

Shit works now.
Back to top
View user's profile Send private message
purple_monkey
n00b
n00b


Joined: 10 Nov 2005
Posts: 26

PostPosted: Wed Dec 20, 2006 1:35 am    Post subject: Reply with quote

Interesting...
I don't think I like the idea of completely reinstalling Gentoo--especially not after just suffering through a mass of MD5 checksum errors during my last "# emerge world".

I'm travelling over the next few days but when back I'll follow the rest of your steps and report back.
Back to top
View user's profile Send private message
purple_monkey
n00b
n00b


Joined: 10 Nov 2005
Posts: 26

PostPosted: Thu Jan 18, 2007 8:42 pm    Post subject: Solution Reply with quote

I was able to get help on another thread. The solution can be had by following this link:

https://forums.gentoo.org/viewtopic-t-364512-start-150.html

(Towards the bottom)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum