Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Screen resolution problem
Date: Mon, 14 Sep 2009 11:59:55
Message-Id: 1252929585.23332.324.camel@rattus
In Reply to: Re: [gentoo-user] Screen resolution problem by David Relson
1 On Mon, 2009-09-14 at 07:36 -0400, David Relson wrote:
2 > On Mon, 14 Sep 2009 11:23:38 +0200
3 > Alan McKinnon wrote:
4 >
5 > > On Monday 14 September 2009 02:59:28 David Relson wrote:
6 > > > G'day,
7 > > >
8 > > > I'm running Xorg with a minimal config file (only 15 lines - which
9 > > > provide font paths and set the AllowMouseOpenFail option).
10 > > >
11 > > > When I last restarted my computer (about 3 months ago), X came up in
12 > > > 1280x1024 mode. Today I restarted X (because the shift and control
13 > > > keys were non-responsive) and my computer is in 1024x768 mode. I
14 > > > much prefer the higher resolution.
15 > > >
16 > > > I have the Xorg.0.log files from the reboot 3 months ago and
17 > > > today's X restart. What should I be looking at in them to diagnose
18 > > > what has happened differently?
19 > > >
20 > > > Several obvious questions arise:
21 > > >
22 > > > _Why_ did X select a different resolution today?
23 > > > _How_ can I get to the higher resolution?
24 > > > _What_ can I do to prevent a recurrence of this problem?
25 > > >
26 > > > I'm running a 2.6.28-gentoo-r5 kernel with the following packages:
27 > > >
28 > > > x11-base/xorg-x11-7.2
29 > > > x11-drivers/ati-drivers-8.552-r2
30 > > > x11-drivers/xf86-video-ati-6.12.1-r1
31 > >
32 > > Recent Xorg interrogates the hardware to find what resolutions it
33 > > supports and can pick one of those to use. The user can also specify
34 > > their preference, so I reckon you likely didn't specify a preference;
35 > > and what Xorg thinks you want isn't what you want.
36 > >
37 > > Look for the string "EDID" in both logs and make comparisons in that
38 > > area.
39 > >
40 > > Before you do that, run "genlop -l" or examine emerge.log to find
41 > > what upgrades and merges were done in the last three months that
42 > > affect resolution.
43 >
44 > H'lo Alan,
45 >
46 > Here's what genlop found for "x11.*" since June 1:
47 >
48 > Mon Jun 15 00:20:36 2009 >>> x11-libs/openmotif-2.3.2
49 > Sun Jun 21 11:58:51 2009 >>> x11-drivers/ati-drivers-8.552-r2
50 > Sun Jun 21 17:59:39 2009 >>> x11-drivers/ati-drivers-8.552-r2
51 > Sun Jun 21 19:48:37 2009 >>> x11-drivers/ati-drivers-8.552-r2
52 >
53 > *** GOOD REBOOT
54 >
55 > Fri Jul 10 23:28:06 2009 >>> x11-libs/qt-test-4.5.1
56 > Sat Jul 11 07:12:12 2009 >>>
57 > x11-themes/gtk-engines-ubuntulooks-0.9.12-r3 Sat Jul 25 13:02:56 2009
58 > >>> x11-drivers/ati-drivers-8.552-r2 Sun Jul 26 08:24:12 2009 >>>
59 > >>> x11-libs/libgksu-2.0.9
60 > Sun Jul 26 08:30:31 2009 >>> x11-libs/gksu-2.0.2
61 > Tue Jul 28 07:24:07 2009 >>> x11-drivers/ati-drivers-8.552-r2
62 > Fri Aug 7 18:25:05 2009 >>> x11-libs/fltk-2.0_pre6786-r1
63 >
64 > ati-drivers-8.552-r2 package was present at the reboot and has been
65 > reinstalled since. None of these x11 packages seem relevant.
66 >
67 > Grepping for EDID finds no hits in the old log and multiple occurrences
68 > of RADEON in the new log. Comparing the logs shows VESA in old, but
69 > not new. Here are grep counts:
70 >
71 > root@osage log # grep -c VESA Xorg.0.old.log Xorg.0.new.log
72 > Xorg.0.old.log:79
73 > Xorg.0.new.log:4
74 > root@osage log # grep -c RADEON Xorg.0.old.log Xorg.0.new.log
75 > Xorg.0.old.log:0
76 > Xorg.0.new.log:385
77 >
78 > Perhaps I need to specify VESA in xorg.conf somehow ???
79 >
80 > Regards,
81 >
82 > David
83 >
84 I ran into the same problem though with different versions of the
85 software a couple of days ago. The only fix that worked was to -hal
86 xorg-server, and recreate the xorg.conf file that I had previously
87 deleted, making sure that EDID and DDC were not being used.
88
89 Section "Device"
90 Identifier "AtiRadeon"
91 Driver "radeon"
92 VendorName "ATI"
93 Option "DPMS" "On"
94 Option "EnablePageFlip" "1"
95 Option "RenderAccel" "1"
96 Option "AGPMode" "4"
97 Option "IgnoreEDID" "1"
98 Option "NoDDC" "1"
99 EndSection
100
101 Not sure all the settings are optimal, but I have a display thats at
102 least at a usable resolution ...
103
104 It might seem all and good that xorg automaticly chooses the best
105 resolution - but it clearly doesnt. This is on a system running as
106 1600x1200 for years on the same hardware, with xorg suddenly deciding it
107 can only do 1280x1024 (and even then, it first defaulted to 1024x768).
108 Whatever happened to the idea that in Linux (and esp gentoo-linux) its
109 the "user" thats in control :)
110
111 It certainly seems someone - seemingly xorg - dropped the ball
112 recently :(
113
114 BillK

Replies

Subject Author
Re: [gentoo-user] Screen resolution problem Alan McKinnon <alan.mckinnon@×××××.com>