Roy Wright wrote:
Howdy,
I have a home server/htpc (~x86) that I'm finally updating after a few
months and I hit an issue with xorg-server. Here's the background:
Was at xorg-server-1.6.3 and current sync tried to upgrade to 1.7.1,
which failed to compile. In researching on b.g.o., discovered that
nvidia has not released a driver yet that will work with 1.7.1, so
followed the bug report directions and masked out several packages to
prevent 1.7.1 upgrading.
So next attempt at upgrading was to 1.6.5. That failed too, so back
to b.g.o. where the first directions were to install
nvidia-drivers-190.42. But nvidia-drivers has a dependency to
xorg-server-1.6.5, so had to mask >1.6.3 to get nvidia to emerge.
Then hit the bug with nvidia-settings with the work around of
symbolically linking /usr/include/X11/extensions/xf86vmproto.h to
/usr/include/X11/extensions/xf86vmode.h. Finally removed the
>xorg-server-1.6.3 mask and successfully emerged.
So now it looks like I have xorg-server-1.6.5 and
nvidia-drivers-190.42 installed.
But when starting the xorg server, it is unable to load glx, dri, and
dri2 modules:
xbmc log # grep EE Xorg.0.log
Current Operating System: Linux xbmc 2.6.29-gentoo-r2 #7 SMP PREEMPT
Sun Jun 21 10:15:29 CDT 2009 i686
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(EE) Failed to load module "glx" (module does not exist, 0)
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)
(EE) Nov 08 13:48:35 NVIDIA(0): Failed to initialize the GLX module;
please check in your X
(EE) Nov 08 13:48:35 NVIDIA(0): log file that the GLX module has
been loaded in your X
(EE) Nov 08 13:48:35 NVIDIA(0): server, and that the module is the
NVIDIA GLX module. If
(EE) Nov 08 13:48:35 NVIDIA(0): you continue to encounter
problems, Please try
(EE) Nov 08 13:48:35 NVIDIA(0): reinstalling the NVIDIA driver.
(EE) Microsoft Natural Keyboard Pro: failed to initialize for relative
axes.
(EE) Gyration Gyration RF Technology Receiver: failed to initialize
for relative axes.
I've even rebooted and still see the same problem.
I'm not having any luck finding a hint on b.g.o. or with searching (I
use startpage instead of google).
Here's my xorg.conf which works with xorg-server-1.6.3 (it's a little
explicit because it is connected (DVI) to an A/V receiver (Yamaha
RX-V861) which doesn't pass thru EDID):
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "built-ins"
EndSection
Section "Module"
Load "glx"
Load "dbe"
Load "extmod"
EndSection
Section "Monitor"
# Block type: 2:0 3:fc
Identifier "FPD TV"
VendorName "HTC"
ModelName "FPD TV"
# Block type: 2:0 3:fc
# Block type: 2:0 3:fd
HorizSync 15-70
VertRefresh 59-61
# Max dot clock (video bandwidth) 150 MHz
# DPMS capabilities: Active off:no Suspend:no Standby:no
Mode "1920x1080" # vfreq 60.000Hz, hfreq 67.500kHz
DotClock 148.500000
HTimings 1920 2008 2052 2200
VTimings 1080 1084 1089 1125
Flags "+HSync" "+VSync"
EndMode
Mode "1920x540" # vfreq 60.053Hz, hfreq 33.750kHz
DotClock 74.250000
HTimings 1920 2008 2052 2200
VTimings 540 542 547 562
Flags "Interlace" "+HSync" "+VSync"
EndMode
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
Option "RenderAccel" "true"
Option "ModeValidation" "NoDFPNativeResolutionCheck,
NoMaxSizeCheck"
Option "NoLogo" "true"
Option "ConnectedMonitor" "DFP"
Option "TVStandard" "HD1080p"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "FPD TV"
# depth of 16 breaks xbmc
DefaultDepth 24
Option "renderAccel" "true"
Option "ExactModeTimingsDVI" "true"
Option "NoLogo" "true"
Option "DynamicTwinView" "false"
Option "UseEvents" "true"
Option "AllowGLXWithComposite" "true"
Option "AddARGBGLXVisuals" "true"
Option "FlatPanelProperties" "Scaling = Native"
SubSection "Display"
Depth 24
Modes "1920x1080" "1080p" "1080i" "720p" "720i" "480p"
"480i" "1024x768" "800x600" "640x480"
Virtual 1920 1080
EndSubSection
EndSection
Any ideas?
TIA,
Roy
Try to resync and emerge the new eselect-opengl and run "eselect opengl
set nvidia" again. This could fix it, as I had a similar problem. The
old eselect did something wrong, but I can't remember exactly because it
went somehow long yesterday :)
Johannes