Greetings !!
It is four years now that I did gtf to optain the “modelines” and put them in the /etc/X11/xorg.conf file.
But now my monitor died (power issue) and I replaced by a Samsung 1920x1080 24’’ monitor.
The problem is that: each time I boot to Linux the resolution is decreased to the previous 1680x1050 resolution. I can change to 1920x1080 using the “Size & orientation system settings” but each time I reboot (or kill the startkde process) this resolution is lost !!
I tried to use the good’o technique using gtf (it said cvt is better in the man and /etc/X11/xorg.conf.d/50-monitor.conf) but I have strange issues with awfull displays and still not the right resolution.
Section "Monitor"
Identifier "Monitor[0]"
# tried VGA-0
## If your monitor doesn't support DDC you may override the
## defaults here
#HorizSync 30-81
#VertRefresh 56-75
# Tried with the data given in the Yast System Information (there were three stricly identical entries for this Monitor)
#Option "Preferred Mode" "1920x1080"
# Tried UseModes "Modes[0]"
# Tried Section "Modes"
# Identifier "Modes[0]"
## Add your mode lines here, use e.g the cvt (gtf) tool
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
# Tried EndSection
EndSection
How can I do to make the kde take the good “mode” (1920x1080) at each boot ?
I’m still diggin’ but it is about three hours now that I’m reading forum pages and I’m a little tired ^^
This thread may solve the issue that is very similar…
I have to wait for a slooooow download to complete before killing xserver and try the suggestions.
Since xrandr reports that 1920x1080 is available, (which is also confirmed by your Xorg.0.log), maybe it is as simple as editing /etc/X11/xorg.conf.d/50-screen.conf so that it looks like this
Section "Screen"
Identifier "Default Screen"
Device "Default Device"
## Doesn't help for radeon/radeonhd drivers; use magic in
## 50-device.conf instead
Monitor "Default Monitor"
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
The only thing that worked is a script pushed into ~/.kde4/Autostart with the command xrandr --output VGA-0 --mode 1920x1080…
But it is not really what I expected…
I put those directives in the 50-device.conf file:
13.158] (EE) Failed to load module "fglrx" (module does not exist, 0)
13.158] (II) LoadModule: "radeonhd"
13.159] (II) Loading /usr/lib64/xorg/modules/drivers/radeonhd_drv.so
13.177] (II) Module radeonhd: vendor="AMD GPG"
13.177] compiled for 1.9.3, module version = 1.3.0
13.177] Module class: X.Org Video Driver
13.177] ABI class: X.Org Video Driver, version 8.0
13.177] (II) LoadModule: "ati"
13.178] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
13.187] (II) Module ati: vendor="X.Org Foundation"
13.187] compiled for 1.9.3, module version = 6.14.0
13.187] Module class: X.Org Video Driver
13.187] ABI class: X.Org Video Driver, version 8.0
13.187] (II) LoadModule: "radeon"
13.189] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
13.216] (II) Module radeon: vendor="X.Org Foundation"
13.216] compiled for 1.9.3, module version = 6.14.0
13.216] Module class: X.Org Video Driver
13.216] ABI class: X.Org Video Driver, version 8.0
…
13.269] (EE) FATAL: RadeonHD presently does not work with kernel modesetting (KMS).
Please disable KMS in your kernel.
(done by setting “yes” at the System → Kernel → no_kms_in_initrd (/etc/sysconfig) but I already did that a while ago it changed nothing)
…
I’m trying to gather informations to understand how the Xorg.conf.d directory is used… I’m not fully satisfied concerning the ~/.kde4/Autostart workaround… that sucks…
Is there a way to prevent the DDC information gathering ?
Where the XServer has stored the “old resolution” ?
How can the XServer decide to “fallback” in the old resolution (1680x1050) ?
The keys are located in the** 50-screen.conf** and 50-monitor.conf files… but there is no detailed informations concerning the directives and the usage of them.
12.894] (==) Using config directory: "/etc/X11/xorg.conf.d"
13.002] (==) No Layout section. Using the first Screen section.
13.002] (**) |-->Screen "Default Screen" (0)
13.002] (**) | |-->Monitor "<default monitor>"
13.003] (**) | |-->Device "Default Device"
13.003] (==) No monitor specified for screen "Default Screen".
Using a default monitor configuration.
You should either install fglrx properly (for example with atiupgrade) or remove the line
Driver fglrx
form your xorg.conf (or wherever you put it in the xorg.conf.d directory).
It’s very simple:
From my /var/log/Xorg.0.log:
503.238] (==) Using config file: "/etc/X11/xorg.conf"
503.238] (==) Using config directory: "/etc/X11/xorg.conf.d"
503.238] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
There used to be an option NoDCC, but it’s deprecated now. You should use “UseEDID” instead and set it to "FALSE. It helps on broken monitors.
I would first try the option “PreferredMode” in the monitor section of xorg.conf - or in 50-monitor.conf provided it is not already set in xorg.conf.
Strange thing, I have 1920x1080 at the login scheme… but once at the desktop the resolution “turns” to 1680x1050.
What I want to understand is the importance of the directives like Monitor, Device… and where I could find the correct data to put in brackets.
I use Hardware Information from Yast…
For example, does the directive Device “HD3200” matches with the Device Name in Hardware Information → Display ? Monitor “LGE2241” matches with Hardware Information → Monitor ?
In this case I have three stricly identical entries under the leaf Monitor. I don’t know why.
What this warning means ?
## Doesn't help for radeon/radeonhd drivers; use magic in
## 50-device.conf instead
This is what I have in the Xorg.0.log:
13.872] (==) No Layout section. Using the first Screen section.
13.872] (**) |-->Screen "Screen0" (0)
13.872] (**) | |-->Monitor "<default monitor>"
13.873] (==) No device specified for screen "Screen0".
Using the first device section listed.
13.873] (**) | |-->Device "Default Device"
13.873] (==) No monitor specified for screen "Screen0".
Using a default monitor configuration.
13.873] (==) Automatically adding devices
13.873] (==) Automatically enabling devices
This is the Xord.conf.d content:
Section "Device"
Identifier "radeonhd"
#Driver "radeonhd"
## Required magic for radeon/radeonhd drivers; output name
## (here: "DVI-0") can be figured out via 'xrandr -q'
#Option "monitor-DVI-0" "Default Monitor"
Option "UseEdid" "false"
#Option "ModeValidation" "NoEdidModes,NoVirtualSizeCheck"
EndSection
Section "Monitor"
Identifier "S24B300"
## If your monitor doesn't support DDC you may override the
## defaults here
#HorizSync 30-81
#VertRefresh 56-75
Option "PreferredMode" "1920x1080"
## Add your mode lines here, use e.g the cvt (gtf) tool
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
EndSection
Section "Screen"
Identifier "Screen0"
Device "radeonhd"
Monitor "S24B300"
## Doesn't help for radeon/radeonhd drivers; use magic in
## 50-device.conf instead
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
...
14.898] (II) RADEON(1): Using user preference for initial modes
14.898] (II) RADEON(1): Output VGA-0 using initial mode 1920x1080
...
14.914] (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
14.914] (WW) RADEON(0): Option "UseEDID" is not used
14.914] (WW) RADEON(0): Option "PreferredMode" is not used
...
I put both “Options” at the right place but it seems nothing was taken in count…
No. Because the names you use in xorg.conf are arbitrary ( = up to you). You can use the identifiers you like for Device (graphics card) and Monitor. In automatically generated xorg.conf, you will often see Device0 and Monitor0. But the Identifiers have to match the Device and Monitor in the screen section (as in your example and in mine).
You’re missing a layout section. Thus it uses the first (an only in your case) Screen section.
I never had issues with the driver since the beginning (I bought this motherboard in 2009 if I remember right) and it has always worked good.
I’m just a little disappointed to first boot in 1680x1050 and then with a script in Autostart jump to 1920x1080… that sucks…
I verified when the system is booting (once I choosed SuSE in the grub menu) the resolution switches from 1024x768 to 1920x1080 untill I log on with my user account.
In run level 3 I got 1920x1080… (I will try startx from run level 3)
Using ALT-CTRL-F1 the resolution is 1920x1080… it is only in kde that I have to change manually or use a script to get the optimal resolution.
To make it simple, I would comment out everything in /etc/X11/xorg.conf.d/*, so you know that X is using the Device, Monitor, Screen and layout settings from xorg.conf. Also try to comment out this line in the monitor section:
UseModes "Modes[0]"
See if it makes a difference. It might solve the problem … or be worse. In fact, modelines are rarely needed under Linux … but I don’t use the radeon driver (I recall that I had to use modelines with this driver under Unix though).
I have this card too and use Catalyst 12.4 (12.6 wouldn’t work, but 12.6 legacy beta would). I have 1920x1080 without tweaking under X … but not in console, because fglrx can not use kernel mode setting (unlike the radeon driver).
Thank you… I was believeing as the actual driver could handle the 1920x1080 resolution I could handle this without installing another driver… it works with Catalyst…