Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
missing /usr/lib64/dri/i965_dri.so
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
tuclogicguy
n00b
n00b


Joined: 17 Dec 2013
Posts: 24

PostPosted: Tue May 31, 2022 7:48 pm    Post subject: missing /usr/lib64/dri/i965_dri.so Reply with quote

I am trying to get X windows working on this new Gentoo installation. I have an Intel i5-3450 processor, which does Gen 7 Intel HD graphics 2500. I have been trying to follow the instructions at https://wiki.gentoo.org/wiki/Intel#Kernel and https://wiki.gentoo.org/wiki/Xorg/Guide.

I added
VIDEO_CARDS="intel i965"
to /etc/portage/make.conf

I ran
Code:
emerge --ask --changed-use --deep @world


I followed the instructions at https://wiki.gentoo.org/wiki/Non_root_Xorg

I tried entering "startx" from my normal userid and xorg almost starts, but I get this error:
Code:
[   109.813] (EE) AIGLX error: dlopen of /usr/lib64/dri/i965_dri.so failed (/usr/lib64/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[   109.813] (EE) AIGLX error: unable to load driver i965


A listing of the /usr/lib64/dri directory shows that it contains:
crocus_dri.so
i915_dri.so
iris_dri.so
kms_swrast_dri.so
swrast_dri.so

I'm missing i965_dri.so

I tried reinstalling media-libs/mesa. That didn't help.

How do I get /usr/lib64/dri/i965_dri.so created?

Thanks,
Charles Bailey
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3909

PostPosted: Tue May 31, 2022 8:37 pm    Post subject: Reply with quote

I also miss the particular module but I have no problem.
You need to have dbus and elogind running.Do you?
Plz check
Code:

grep modeset /var/log/Xorg.0.log

You shuld be running the modesetting driver.
What says
Code:

cat ~/.xinitrc

?
_________________
:)
Back to top
View user's profile Send private message
tuclogicguy
n00b
n00b


Joined: 17 Dec 2013
Posts: 24

PostPosted: Wed Jun 01, 2022 5:02 am    Post subject: Reply with quote

With a valid ~/.xinitrc file, xorg does indeed start up and run in spite of the error message. However, without /usr/lib64/dri/i965_dri.so I must be missing some functionality.

Charles Bailey
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1839

PostPosted: Wed Jun 01, 2022 12:36 pm    Post subject: Reply with quote

tuclogicguy wrote:
With a valid ~/.xinitrc file, xorg does indeed start up and run in spite of the error message. However, without /usr/lib64/dri/i965_dri.so I must be missing some functionality.

Charles Bailey


i965_dri.so was removed from Mesa 22.0 and replaced by crocus_dri.so or iris_dri.so (depending on the chipset) which should load right away.

Without the full log, we can only guess if acceleration is working or not. Sometimes xorg and friends try things in a certain order until a good driver is found.
Back to top
View user's profile Send private message
tuclogicguy
n00b
n00b


Joined: 17 Dec 2013
Posts: 24

PostPosted: Thu Jun 02, 2022 1:43 am    Post subject: Reply with quote

Scanning through the Xorg.0.log showed a couple of references to "Iris"
Code:
[   407.388] (II) intel: Driver for Intel(R) HD Graphics
[   407.388] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   407.388] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics

so,
I changed /etc/portage/make.conf to
VIDEO_CARDS="intel iris"

I reran
Code:
emerge --ask --changed-use --deep @world

and it spun its wheels for a while and reported that there was nothing to do.

Rebooted.
I got the same error message:
Code:
[   109.813] (EE) AIGLX error: dlopen of /usr/lib64/dri/i965_dri.so failed (/usr/lib64/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[   109.813] (EE) AIGLX error: unable to load driver i965


I tried copying /usr/lib64/dri/iris_dri.so to /usr/lib64/dri/i965_dri.so.

That gave me
Code:
[   407.422] (EE) AIGLX error: i965 does not export required DRI extension


I tried copying /usr/lib64/dri/crocus_dri.so to /usr/lib64/dri/i965_dri.so.
Same result.

I wonder why i965_dri.so was removed from Mesa 22.0? Is this version of Intel HD graphics no longer supported?

Charles Bailey
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Thu Jun 02, 2022 7:35 am    Post subject: Reply with quote

One possible thing is that what depend on i965_dri.so have not upgrade to the abandon of it by Mesa. Using the modesetting Xorg module workaround this problem. There is discussion between modesetting and intel Xorg modules and their occuracy and I thing that this discussion can expand to nouveau and radeon Xorg modules.

In practice I see no real difference between modesetting and intel except some FPS differences but the intel Xorg module have more options for configuration. I still use intel and both. Ok I get i965_dri.so on Debian and Arch. Package
libgl1-mesa-dri on Debian and from the mesa-amber package on Arch.
_________________
Paul
Back to top
View user's profile Send private message
micmac
l33t
l33t


Joined: 28 Nov 2003
Posts: 996

PostPosted: Sun Jun 05, 2022 6:22 pm    Post subject: Reply with quote

In short, Mesa removed the "classic dri drivers", so for your Intel gfx you have to move from i965 driver to crocus or iris (which happens automatically once you switch the xorg.conf driver from "intel" to "modesetting").
Back to top
View user's profile Send private message
rich76
n00b
n00b


Joined: 09 Jun 2022
Posts: 1

PostPosted: Thu Jun 09, 2022 8:54 pm    Post subject: missing /usr/lib64/dri/i965_dri.so Reply with quote

I had the same problem and the same references to Iris.

I solved the porblem by adding in: /etc/X11/xorg.conf.d/20-intel.conf: Option "DRI" "iris"

Code:

Section "Device"
        Identifier "Intel Graphics"
        Driver "intel"
        Option "AccelMethod" "sna"
        Option "DRI" "iris"
EndSection


Thanks
rich76
Back to top
View user's profile Send private message
tuclogicguy
n00b
n00b


Joined: 17 Dec 2013
Posts: 24

PostPosted: Mon Sep 05, 2022 9:24 pm    Post subject: Reply with quote

Thanks, rich76, for your response. I tried that 20-intel.conf file and xorg seems to run better now.

(And, sorry for my late reply. I noticed that you posted that on June 9. That was the day I was mauled and severely injured by some big dogs that had been turned loose in my neighborhood and have been recovering ever since. Just now getting back to gentoo.)

Charles Bailey
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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