Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327749 - app-eselect/eselect-opengl-1.1.1-r2: symlink not created
Summary: app-eselect/eselect-opengl-1.1.1-r2: symlink not created
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo X packagers
Depends on: 531842
  Show dependency tree
Reported: 2010-07-11 07:32 UTC by Dennis Schridde
Modified: 2016-02-27 14:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2010-07-11 07:32:58 UTC
It seems that x11-drivers/nvidia-drivers-195.36.24 needs app-admin/eselect-opengl-1.1.1-r2 to install a symlink in /usr/lib/xorg/modules/extensions/, which it does not.

Hence the nvidia driver complains on Xorg startup:
[   329.347] (II) Loading sub module "dri2"
[   329.347] (II) LoadModule: "dri2"
[   329.348] (WW) Warning, couldn't open module dri2
[   329.348] (II) UnloadModule: "dri2"
[   329.348] (EE) NVIDIA: Failed to load module "dri2" (module does not exist, 0)
[   329.348] (II) NVIDIA(0): The X server will not be able to send the VDPAU driver name to
[   329.348] (II) NVIDIA(0):     libvdpau.

Reproducible: Always
Comment 1 Dennis Schridde 2010-07-11 07:39:13 UTC
Manually symlinking /usr/lib/xorg/modules/extensions/ -> ../../../opengl/xorg-x11/extensions/ seems to silence the warning:
[   968.780] (II) Loading sub module "dri2"
[   968.780] (II) LoadModule: "dri2"
[   968.780] (II) Reloading /usr/lib64/xorg/modules/extensions/
[   968.780] (II) NVIDIA(0): [DRI2] Setup complete
[   968.780] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2010-07-13 05:20:12 UTC
This is a minor warning in the grand scheme, basically the dri2 module won't be able to send the driver name to VDPAU. But since nvidia-drivers don't use dri2, nvidia has provided a fall back in VDPAU to assume nvidia. So all is well in the end.

I can look at a work around within X to potentially clean up this warning.

Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2011-09-14 18:37:47 UTC
I've brought this up with the eselect-opengl maintains and they're basically skipping creating the symlink for nvidia-drivers but shouldn't be.
Comment 4 Adam Jiang 2012-01-05 08:47:45 UTC
Actually, I encountered this problem with xorg-server-1.11.3 and nvidia-290.10 on ~amd64 box.

It could be fixed either by symblink or adding module paths in xorg-server like 

Section "File"
      ModulePath  /usr/lib64/xorg/
      ModulePath  /usr/lib64/xorg/modules/extensions/
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-12-31 12:26:19 UTC
I've just unmasked eselect-opengl-1.3* and related packages, and I think they implicitly fix this issue. Could you upgrade @world and retry, please (removing any workarounds you have applied first)?