Gentoo Archives: gentoo-user

From: Bill Longman <bill.longman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Monitor Resolution
Date: Fri, 24 Sep 2010 14:49:28
Message-Id: 4C9CBA16.10407@gmail.com
In Reply to: Re: [gentoo-user] Monitor Resolution by dhk
1 On 09/24/10 05:38, dhk wrote:
2 > On 09/24/2010 07:06 AM, Albert Hopkins wrote:
3 >> On Fri, 2010-09-24 at 06:47 -0400, dhk wrote:
4 >>> After a recent xorg upgrade my display hasn't been quite right. It's
5 >>> all usable, but it looks like the resolution is wrong. The resolution
6 >>> is now set at the highest 1024x768 where it use to be 1280x1024.
7 >>>
8 >>> Gnome->System->Preference->Monitors
9 >>> Under Monitor Preferences the monitor is Unknown, Resolution 1024x768,
10 >>> Refresh Rate 0 Hz, and Rotation Normal. The Detect monitors button
11 >>> doesn't seem to do anything. The only other option under Resolution is
12 >>> 800x600.
13 >>>
14 >>> I have a fairly new Samsung 932BW LCD Monitor and using an Nvidia
15 >>> graphics card.
16 >>>
17 >>> Any ideas on how to get my display back?
18 >>>
19 >>> Thanks,
20 >> First, the obligatory "have you looked at the logs"?
21 >>
22 >> Not a lot of information was given (upgraded to what version? what
23 >> drivers?, etc). but here is a guess.
24 >>
25 >> Since you are using an nvidia card, I'm guessing you are using the
26 >> proprietary nvidia drivers. The gnome preference thingie uses xrandr
27 >> which, as far as I know, the proprietery nvidia drivers do not support.
28 >> I don't use nvidia cards anymore, but from my memory the GNOME monitor
29 >> app has never worked with Nvidia.
30 >>
31 >> I'm also guessing that you upgraded to xorg-server 1.9. Based on that,
32 >> and the fact that Nvidia drivers are usually behind Xorg updates, I'm
33 >> going to guess that the proprietary drivers are not working correctly,
34 >> either because Nvidia has to push out an update that supports 1.9 or you
35 >> have not re-compiled your drivers after upgrading the server.
36 >>
37 >> So I would say first to try recompiling the Nvidia driver (if you
38 >> haven't already done so) and if that doesn't fix the problem you'll
39 >> might have to wait until Nvidia updates their proprietary drivers.
40 >>
41 >> Anyway that's just a guess, since I no longer use Nvidia and based on
42 >> the limited information received. You will likely find more information
43 >> (that you can post) by looking at the X server's log file.
44 >>
45 >> -a
46 >>
47 >>
48 >>
49 > After doing the following I didn't notice any difference and the nvidia
50 > driver wasn't installed in the first place.
51 >
52 > First)
53 > # emerge x11-drivers/nvidia-drivers
54 > Calculating dependencies... done!
55 >>>> Verifying ebuild manifests
56 >>>> Starting parallel fetch
57 >>>> Emerging (1 of 4) app-emulation/emul-linux-x86-opengl-20100611
58 >>>> Emerging (2 of 4) x11-libs/libvdpau-0.4
59 >>>> Installing (2 of 4) x11-libs/libvdpau-0.4
60 >>>> Installing (1 of 4) app-emulation/emul-linux-x86-opengl-20100611
61 >>>> Emerging (3 of 4) x11-drivers/nvidia-drivers-195.36.31
62 >>>> Installing (3 of 4) x11-drivers/nvidia-drivers-195.36.31
63 >>>> Recording x11-drivers/nvidia-drivers in "world" favorites file...
64 >>>> Emerging (4 of 4) media-video/nvidia-settings-195.36.24
65 >>>> Installing (4 of 4) media-video/nvidia-settings-195.36.24
66 >>>> Jobs: 4 of 4 complete Load avg: 3.49,
67 > 2.20, 1.21
68 >
69 > * Messages for package x11-drivers/nvidia-drivers-195.36.31:
70 >
71 > * ***** WARNING *****
72 > *
73 > * You are currently installing a version of nvidia-drivers that is
74 > * known not to work with a video card you have installed on your
75 > * system. If this is intentional, please ignore this. If it is not
76 > * please perform the following steps:
77 > *
78 > * Add the following mask entry to /etc/portage/package.mask by
79 > * echo ">=x11-drivers/nvidia-drivers-177.0.0" >>
80 > * /etc/portage/package.mask
81 > *
82 > * Failure to perform the steps above could result in a non-working
83 > * X setup.
84 > *
85 > * For more information please read:
86 > * http://www.nvidia.com/object/IO_32667.html
87 > * You must be in the video group to use the NVIDIA device
88 > * For more info, read the docs at
89 > * http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap3_sect6
90 > *
91 > * This ebuild installs a kernel module and X driver. Both must
92 > * match explicitly in their version. This means, if you restart
93 > * X, you must modprobe -r nvidia before starting it back up
94 > *
95 > * To use the NVIDIA GLX, run "eselect opengl set nvidia"
96 > *
97 > * NVIDIA has requested that any bug reports submitted have the
98 > * output of /usr/bin/nvidia-bug-report.sh included.
99 > *
100 > * To work with compiz, you must enable the
101 > * AddARGBGLXVisuals option.
102 > *
103 > * If you are having resolution problems, try
104 > * disabling DynamicTwinView.
105 >>>> Auto-cleaning packages...
106 >>>> No outdated packages were found on your
107 >>>> system.
108 > * GNU info directory index is up-to-date.
109 >
110 > Second)
111 > echo ">=x11-drivers/nvidia-drivers-177.0.0" >> /etc/portage/package.mask
112 >
113
114 You should have emerged nvidia-drivers here.
115 > Third)
116 > modprobe has nothing to do.
117 > # modprobe -rn nvidia
118 >
119 > Original opengl setting
120 > # eselect opengl list
121 > Available OpenGL implementations:
122 > [1] nvidia
123 > [2] xorg-x11 *
124 >
125 > Restarted and nothing changed.
126 >
127 > fourth)
128 > # eselect opengl set nvidia
129 > # eselect opengl list
130 > Available OpenGL implementations:
131 > [1] nvidia *
132 > [2] xorg-x11
133 >
134 > Restarted and nothing changed.
135 >
136 > Do I need to set the resolution somewhere? I haven't used an xorg.conf
137 > file in sometime.
138 >
139 > Thanks,
140 >
141 > dhk
142 >