Gentoo Archives: gentoo-user

From: Johannes Kimmel <johannes.kimmel@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xorg-server upgrading problem
Date: Mon, 09 Nov 2009 07:04:06
Message-Id: 4AF7BEE8.20105@gmx.de
In Reply to: [gentoo-user] xorg-server upgrading problem by Roy Wright
1 Roy Wright wrote:
2 > Howdy,
3 >
4 > I have a home server/htpc (~x86) that I'm finally updating after a few
5 > months and I hit an issue with xorg-server. Here's the background:
6 >
7 > Was at xorg-server-1.6.3 and current sync tried to upgrade to 1.7.1,
8 > which failed to compile. In researching on b.g.o., discovered that
9 > nvidia has not released a driver yet that will work with 1.7.1, so
10 > followed the bug report directions and masked out several packages to
11 > prevent 1.7.1 upgrading.
12 >
13 > So next attempt at upgrading was to 1.6.5. That failed too, so back
14 > to b.g.o. where the first directions were to install
15 > nvidia-drivers-190.42. But nvidia-drivers has a dependency to
16 > xorg-server-1.6.5, so had to mask >1.6.3 to get nvidia to emerge.
17 > Then hit the bug with nvidia-settings with the work around of
18 > symbolically linking /usr/include/X11/extensions/xf86vmproto.h to
19 > /usr/include/X11/extensions/xf86vmode.h. Finally removed the
20 > >xorg-server-1.6.3 mask and successfully emerged.
21 >
22 > So now it looks like I have xorg-server-1.6.5 and
23 > nvidia-drivers-190.42 installed.
24 >
25 > But when starting the xorg server, it is unable to load glx, dri, and
26 > dri2 modules:
27 >
28 > xbmc log # grep EE Xorg.0.log
29 > Current Operating System: Linux xbmc 2.6.29-gentoo-r2 #7 SMP PREEMPT
30 > Sun Jun 21 10:15:29 CDT 2009 i686
31 > (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
32 > (EE) Failed to load module "glx" (module does not exist, 0)
33 > (II) Loading extension MIT-SCREEN-SAVER
34 > (EE) Failed to load module "dri" (module does not exist, 0)
35 > (EE) Failed to load module "dri2" (module does not exist, 0)
36 > (EE) Nov 08 13:48:35 NVIDIA(0): Failed to initialize the GLX module;
37 > please check in your X
38 > (EE) Nov 08 13:48:35 NVIDIA(0): log file that the GLX module has
39 > been loaded in your X
40 > (EE) Nov 08 13:48:35 NVIDIA(0): server, and that the module is the
41 > NVIDIA GLX module. If
42 > (EE) Nov 08 13:48:35 NVIDIA(0): you continue to encounter
43 > problems, Please try
44 > (EE) Nov 08 13:48:35 NVIDIA(0): reinstalling the NVIDIA driver.
45 > (EE) Microsoft Natural Keyboard Pro: failed to initialize for relative
46 > axes.
47 > (EE) Gyration Gyration RF Technology Receiver: failed to initialize
48 > for relative axes.
49 >
50 > I've even rebooted and still see the same problem.
51 >
52 > I'm not having any luck finding a hint on b.g.o. or with searching (I
53 > use startpage instead of google).
54 >
55 > Here's my xorg.conf which works with xorg-server-1.6.3 (it's a little
56 > explicit because it is connected (DVI) to an A/V receiver (Yamaha
57 > RX-V861) which doesn't pass thru EDID):
58 >
59 > Section "ServerLayout"
60 > Identifier "X.org Configured"
61 > Screen 0 "Screen0" 0 0
62 > EndSection
63 >
64 > Section "Files"
65 > ModulePath "/usr/lib/xorg/modules"
66 > FontPath "built-ins"
67 > EndSection
68 >
69 > Section "Module"
70 > Load "glx"
71 > Load "dbe"
72 > Load "extmod"
73 > EndSection
74 >
75 > Section "Monitor"
76 > # Block type: 2:0 3:fc
77 > Identifier "FPD TV"
78 > VendorName "HTC"
79 > ModelName "FPD TV"
80 > # Block type: 2:0 3:fc
81 > # Block type: 2:0 3:fd
82 > HorizSync 15-70
83 > VertRefresh 59-61
84 > # Max dot clock (video bandwidth) 150 MHz
85 > # DPMS capabilities: Active off:no Suspend:no Standby:no
86 >
87 > Mode "1920x1080" # vfreq 60.000Hz, hfreq 67.500kHz
88 > DotClock 148.500000
89 > HTimings 1920 2008 2052 2200
90 > VTimings 1080 1084 1089 1125
91 > Flags "+HSync" "+VSync"
92 > EndMode
93 > Mode "1920x540" # vfreq 60.053Hz, hfreq 33.750kHz
94 > DotClock 74.250000
95 > HTimings 1920 2008 2052 2200
96 > VTimings 540 542 547 562
97 > Flags "Interlace" "+HSync" "+VSync"
98 > EndMode
99 > EndSection
100 >
101 > Section "Device"
102 > Identifier "Card0"
103 > Driver "nvidia"
104 > VendorName "nVidia Corporation"
105 > Option "RenderAccel" "true"
106 > Option "ModeValidation" "NoDFPNativeResolutionCheck,
107 > NoMaxSizeCheck"
108 > Option "NoLogo" "true"
109 > Option "ConnectedMonitor" "DFP"
110 > Option "TVStandard" "HD1080p"
111 > EndSection
112 >
113 > Section "Screen"
114 > Identifier "Screen0"
115 > Device "Card0"
116 > Monitor "FPD TV"
117 >
118 > # depth of 16 breaks xbmc
119 > DefaultDepth 24
120 >
121 > Option "renderAccel" "true"
122 > Option "ExactModeTimingsDVI" "true"
123 > Option "NoLogo" "true"
124 > Option "DynamicTwinView" "false"
125 > Option "UseEvents" "true"
126 > Option "AllowGLXWithComposite" "true"
127 > Option "AddARGBGLXVisuals" "true"
128 > Option "FlatPanelProperties" "Scaling = Native"
129 >
130 > SubSection "Display"
131 > Depth 24
132 > Modes "1920x1080" "1080p" "1080i" "720p" "720i" "480p"
133 > "480i" "1024x768" "800x600" "640x480"
134 > Virtual 1920 1080
135 > EndSubSection
136 > EndSection
137 >
138 >
139 > Any ideas?
140 >
141 > TIA,
142 > Roy
143 >
144 >
145 Try to resync and emerge the new eselect-opengl and run "eselect opengl
146 set nvidia" again. This could fix it, as I had a similar problem. The
147 old eselect did something wrong, but I can't remember exactly because it
148 went somehow long yesterday :)
149
150
151 Johannes

Replies

Subject Author
Re: [gentoo-user] xorg-server upgrading problem Roy Wright <roy@××××××.org>