X selects wrong modeline for LG Flatron L222WS

Bug #212018 reported by AleksanderAdamowski
4
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Expired
Medium
Unassigned

Bug Description

I have a Radeon 9000 Pro video card and LG Flatron L222WS wide screen LCD monitor on Kubuntu Gutsy.

The native resolution of LCD is 1680x1050@60.0 Hz.

The problem is with modeline selection that's performed by X server.

There are two autodetected modelines that qualify for the native 1680x1050 resolution:

(II) RADEON(0): Modeline "1680x1050" 119.00 1680 1728 1760 1840 1050 1053 1059 1080 -hsync +vsync
(II) RADEON(0): Modeline "1680x1050" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 +hsync -vsync

The first one doesn't work correctly - the montor only displays the central part of the viewport, and the left and right side are cut off, and using the "auto" button on the monitor doesn't help. The second modeline is OK. But it's the first one that is chosen by X automatically as the preferred one.

"xrandr --verbose" displays those modes this way:

BAD:
  1680x1050 (0x47) 119.0MHz -HSync +VSync
        h: width 1680 start 1728 end 1760 total 1840 skew 0 clock 64.7KHz
        v: height 1050 start 1053 end 1059 total 1080 clock 59.9Hz

GOOD:
  1680x1050 (0x48) 146.2MHz +HSync -VSync
        h: width 1680 start 1784 end 1960 total 2240 skew 0 clock 65.3KHz
        v: height 1050 start 1053 end 1059 total 1089 clock 60.0Hz

Notice that the bad mode has a vertical refresh of 59.9 Hz. However, when I choose "60Hz" in display properties, this 59.9 Hz mode is used. There's no way to switch to the 60.0 Hz mode using GUI (using systemsetting and krandrtray).

However, using "xrandr --output VGA-0 --mode 0x48" I can switch to the correct mode. I got the 0x48 mode identifier from "xrandr --verbose".

I can permanently force X to use this particular modeline by default by placing the following entries into the "Monitor" section:

  Modeline "1680x1050 at 60.0" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 +hsync -vsync
  Option "PreferredMode" "1680x1050 at 60.0"

However, X should automatically pick the 60.0 Hz mode over the 59.9 Hz mode.

Tags: kubuntu
Revision history for this message
AleksanderAdamowski (aadamowski) wrote :
Revision history for this message
Bryce Harrington (bryce) wrote :

Please also attach your /var/log/Xorg.0.log file

Changed in xorg-server:
status: New → Incomplete
Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

Here's the Xorg.2.log file

Revision history for this message
lg_help (sageatalori) wrote : LG Flatron L222WS

Hello, i need some help please!

i have the same LG Flatron L222WS

Graphic Card nVidia GeForce 8500 GT

problem ..image gets cut off to the left and right and ..as you said the "auto" function doesnt fix it ..so i hav to go to the nVidia Control panel and manually move the CRT screen position and them press Auto and he fixes it..until the next restart OR change the resolution to a lower one and then back to the one im talkin about "1680x1050"

i changed the graphic driver ..reinstalled the monitor ..same problem is there a fix? a patch a new driver? a better one or do these settings u talked about fix the problem? if so where can i find them so i can replace them ?

and one more thing ... if some one is kind enough to help me ...i attached a print scrn with an option that allows me to create my own resolution ..it has a lot of settings but i don t know whu goes where..maybe someone can help..

Thanks for your help! :(

Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

Simply change your "Monitor" section in /etc/X11/xorg.conf to look like this then restart your X server:

Section "Monitor"
 Identifier "<YOU_HAVE_TO_USE_THE_IDENTIFIER_YOU_HAVE_IN_YOUR_XORG.CONF>"
 Option "DPMS"
 HorizSync 28-83
 Modeline "1680x1050 at 60.0" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 +hsync -vsync
 Option "PreferredMode" "1680x1050 at 60.0"
 VertRefresh 56-75
EndSection

Revision history for this message
lg_help (sageatalori) wrote : LG Flatron L222WS problem

First of all thanks for helping me!

Now..there are some things i do not understend ..if you would be so kind to help me some more so i can fix my problem..

1. You said to modify a file called "xorg.conf" who is located in these folders "/etc/X11/"
I cant find this file on my Hard drive .. where is it located? am i looking in the wrong direction? I used the Search for "xorg.conf" and nothing.. where is it?

2. what is X server?

thanks!

Revision history for this message
lg_help (sageatalori) wrote : LG Flatron L222WS

Im using Microsoft Windows XP Service Pack 2

i searched the net for this xorg.conf to better understend "it" ..i got some idea ..but i still cant find it

and another thing..when i find it ..what doi i use to open it? notepad?

do you have some other program installed ?

or is it just a file somewere that i can simply modify?

anyway, where&how do i find it?

Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

Sorry, this site is dedicated to Ubuntu Linux operating system. It has nothing to do with Microsoft Windows in any way.

I don't know if this problem can be solved under MS Windows. In fact I haven't used MS Windows for a couple of years already.

Revision history for this message
lg_help (sageatalori) wrote : Thanks

Thanks anyway!

Have a nice life!

Bryce Harrington (bryce)
Changed in xorg-server:
importance: Undecided → Medium
status: Incomplete → Confirmed
Bryce Harrington (bryce)
tags: added: kubuntu
Revision history for this message
penalvch (penalvch) wrote :

AleksanderAdamowski, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p xorg-server REPLACE-WITH-BUG-NUMBER

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in xorg-server (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xorg-server (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg-server (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.