| Summary: | unresolved symbol libdri.a error when startx is started. Only happens as user, doesn't happen as root. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Kory Stiffler <kstiffle> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Kory Stiffler
2005-05-20 09:37:48 UTC
Add Section "dri" Mode 0666 EndSection to xorg.conf and report back. Nvidia cards don't use DRI, fix your xorg.conf. I modified my xorg.conf file as such:
/etc/X11/xorg.conf:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/lib/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
# FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
EndSection
Section "Module"
Load "extmod"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "type1"
Load "freetype"
EndSection
Section "dri"
Mode 0666
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
# Option "Device" "/dev/input/mice" # 2.6 kernel
Option "Device" "/dev/psaux" # 2.4 kernel
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection
Section "Monitor"
#DisplaySize 340 250 # mm
Identifier "Monitor0"
VendorName "DEL"
ModelName "DELL D1226H"
HorizSync 30.0 - 95.0
VertRefresh 50.0 - 160.0
Option "DPMS"
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 "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
Identifier "Card0"
Driver "nv"
VendorName "NVidia / SGS Thomson (Joint Venture)"
BoardName "Riva128"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
*********************************************************************
*********************************************************************
X still works for root but not for user. In synopsis, here are the differences
in their log files:
both user and root log files have these errors:
Symbol __glXgetActiveScreen from module /usr/lib/modules/extensions/libdri.a is
unresolved!
Symbol __glXgetActiveScreen from module /usr/lib/modules/extensions/libdri.a is
unresolved!
(EE) Failed to initialize GLX extension (NVIDIA X driver not found)
but only the users config file has this error message:
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
|