AMD 1920x1080 resolution permanent

Hi,
I am new to OpenSuse and I just installed version 12.2. I have an AMD 6770M graphics card in an HP laptop and I use it with an external monitor outputted over VGA. The monitor is a Samsung SynaMaster SA300 and it has a resolution of 1920*1080. I installed the proprietary drivers using the instructions from here https://de.opensuse.org/SDB:AMD/ATI-Grafiktreiber and then I can get the correct resolution by modifying Xrandr as follows:

I calculate the necessary information

cvt 1920 1080

and I get an output of

# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

and then I define a new mode for xrandr

xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

and then add the new mode into VGA1

xrandr --addmode VGA1 "1920x1080_60.00"

and then set the new mode

xrandr --ouput VGA1 --mode 1920x1080_60.00

I got this information from the Arch Linux wiki here https://wiki.archlinux.org/index.php/Xrandr

but every time I reboot the resolution switches back to 1024*768. So my question is how can I make the high resolution permanent?

What desktop are you using? Do you only have a VGA connection output to use for the monitor?

Thank You,

If you are using the ATI proprietary driver, use command

amdxdg-su -c amdcccle

to set-up your monitors, xrandr is not appropriate

This command should be in the Gecko launcher, titled
AMD Catalyst Control Center (Administrative)

Hi,

@jdmcdaniel3: I am using a HP dv6 laptop. The external monitor is connected via VGA port.

@keellambert: I will try it out later.
But as i remember, there is no option to control the setting of display in AMD Catalyst Control Center.
There is only option to switch between Intel and AMD graphic card.

Just a another question: (dont want to create a new thread :P)

If i create a virtualbox with Windows 7. Do i need to install AMD driver for Windows 7 in Virtualbox as well ?

I have installed the Legacy-Driver and there is an Option to change the Resolution in the AMD Control Center. Try to rename the /etc/X11/xorg.conf and define it with the Control Center.

Just a another question: (dont want to create a new thread :P)

If i create a virtualbox with Windows 7. Do i need to install AMD driver for Windows 7 in Virtualbox as well ?

No, You have to install the vbox-extensions in the VBox Main Window and the Guest-Extensions in Windows 7 to get higher Resolution. The Native AMD/ATI Driver will not work.

I have installed the Legacy-Driver and there is an Option to change the Resolution in the AMD Control Center. Try to rename the /etc/X11/xorg.conf and define it with the Control Center.

I dont use the Legacy-Driver, therefore no option for change the Resolution, only switch between Intel and AMD.
What do u mean by rename /etc/X11/xorg.conf?

The file “/etc/X11/xorg.conf” file is not required by openSUSE and some entries in the file, should this file exist, might override functions that really work OK without the file. Rename “/etc/X11/xorg.conf” as root so you can look at what it contained for reference or restore if it was required later.

Thank You,

@chocobombo

i. under the Geco button (program launcher) and

  • Applications
    – System
    — Configuration
    you should have two options available
  1. AMD Catalyst Control Center (Administrative) invoking cmd amdxdg-su -c amdcccle
  2. AMD Catalyst Control Center invoking cmd amdcccle
    the first requires root privileges from which the system can be set-up,
    the second is only for viewing the actual set-up

ii. jdmcdaniel3 is suggesting if you have a file named
/etc/X11/xorg.conf
you should rename it, too say,
/etc/X11/xorg.conf-org

iii, can you post here the output of your cmd
xrandr
on this pc the output is

<2013Mar07><00:46><~/Updates/Tumbleweed/ati>  xrandr
Screen 0: minimum 320 x 200, current 3600 x 1080, maximum 3600 x 1920
DFP1 connected 1920x1080+1680+0 (normal left inverted right x axis y axis) 521mm x 293mm
   1920x1080      60.0*+
   1776x1000      60.0 +
   1280x720       60.0 +
   1680x1050      60.0  
   1400x1050      60.0  
   1280x1024      75.0     60.0  
   1440x900       59.9  
   1280x960       75.0     60.0  
   1280x800       75.0     60.0  
   1152x864       75.0     60.0  
   1280x768       74.9     59.9  
   1024x768       75.0     70.1     60.0  
   800x600        72.2     75.0     70.0     60.3     56.2  
   720x480        60.0  
   640x480        75.0     72.8     60.0  
CRT1 connected 1680x1050+0+30 (normal left inverted right x axis y axis) 474mm x 296mm
   1680x1050      60.0*+
   1400x1050      60.0  
   1280x1024      75.0     60.0  
   1440x900       59.9  
   1280x960       75.0     60.0  
   1280x800       75.0     60.0  
   1152x864       75.0     60.0  
   1280x768       74.9     59.9  
   1280x720       60.0  
   1024x768       75.0     60.0  
   800x600        75.0     60.3  
   720x480        60.0  
   640x480        75.0     60.0  
<2013Mar07><00:47><~/Updates/Tumbleweed/ati> 

note the naming convention for the monitors

cheers

I’ll take a stab at this, although I note we have some users who are far more knowledgeable than I when it comes to proposing file edits to fix one’s resolution, based on the excellent information you provided.

First, let me point out this page: https://en.opensuse.org/SDB:Configuring_graphics_cards_and_monitor_settings

From that page, I would speculate that with root permissions you could edit the /etc/X11/xorg.conf.d/50-monitor.conf file now looks like this.


Section "Monitor"
 Identifier "Monitor1"

 HorizSync 28.0 - 85.0
 VertRefresh 56.0 - 100.0

Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

EndSection

Save, Reboot and test. I do not know if the VendorName and ModelName are important. I also do not know if it ok to use the HorizSync and VertRefresh that I suggested (I obtained those from my openSUSE-12.1 default commented out values for the 50-monitor.conf file).

@keellambert:

  1. Here is the screenshot of my catalyst control: There is no option to change the resolution, or i oversee something?
    http://s18.postimage.org/qlfpoufqx/catalyt.png

  2. After rename xorg.config to xorg.config-org, what is the next step ?

  3. Here is the response of my xrandr after i added new mode “1920x1080_60.00” into it:

tran@linux-givw:~> xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
LVDS1 connected (normal left inverted right x axis y axis)
   1366x768       60.0 +
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 521mm x 293mm
   1024x768       60.0  
   800x600        60.3     56.2  
   848x480        60.0  
   640x480        59.9  
   1920x1080_60.00   60.0* 
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)

@oldcpu:

I tried to change the /etc/X11/xorg.conf.d/50-monitor.conf like u said.
But when tried to save it, there was a message, that no access or not enough space.
I did everything in GUI with kedit. Do i need root-right to save it? And how do i active root-right with GUI element ?

@chocobombo

all monitor settings are system wide, so you must be root or have root privileges
to make changes

under the Gecko program starter, you should see, assuming you use kde, select
(something similar also for gnome?)
-applications
– system
— file manager
---- dolphin super user

after entering the root password, kwrite can be used to edit any file
(right mouse click on a file and then select kwrite)
(any ascii editor will do)

NB. the ‘Switchable Graphics’ in catalyst control has not been seen before,
so your set-up is not recognised.

You can always navigate to System → File Manager–> File Manager - Super User Mode. You’ll be prompted for your password.
Navigate to /etc/X11/xorg.conf.d/50-monitor.conf.

Clicking on the file “50-monitor.conf” will open kwrite. Follow oldcpu instructions.

I tried like ur suggestion. But nothing happends. After the reboot, the screen still changes to low resolution, xrandr doesnt have option for 1920x1080.
File 50-monitor.conf now looks like this:

# Having multiple "Monitor" sections is known to be problematic. Make
# sure you don't have in use another one laying around e.g. in another
# xorg.conf.d file or even a generic xorg.conf file. More details can
# be found in https://bugs.freedesktop.org/show_bug.cgi?id=32430.
#
#Section "Monitor"
#  Identifier "Default Monitor"
#
#  ## If your monitor doesn't support DDC you may override the
#  ## defaults here
#  #HorizSync 28-85
#  #VertRefresh 50-100
#
#  ## Add your mode lines here, use e.g the cvt tool
#
#EndSection

Section "Monitor"
 Identifier "Monitor1"
 VendorName "Samsung"
 ModelName "SyncMaster SA300"
 HorizSync 28.0 - 85.0
 VertRefresh 56.0 - 100.0

Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

EndSection


Try adding:

Option   "PreferredMode" "1920x1080"

So it looks like:


Section "Monitor"  
  Identifier "Monitor1"   

HorizSync 28.0 - 85.0  
VertRefresh 56.0 - 100.0 

Option   "PreferredMode" "1920x1080" 
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync  

EndSection

There is a log file, called /var/log/Xorg.0.log, that contains all sort of useful information about why things work and why they do not in X window.

I suspect you had no idea about that file as you did not mention it.

Please, boot with the edits suggested (which you note does not work) and then copy the content of /var/log/Xorg.0.log and paste the content into SUSE Paste, press contribute and post the output URL/web address provided here.

That may have information. It may not have information. But without even looking at that sort of information one is forced to speculated wildly, and if possible, I really like to avoid wild speculation. Thanks.

@oldcpu
Do you think that this can also be added to 50-screen.conf?


Section "Screen"
    Identifier     "Screen[0]"
    Device         "Device[0]"
    Monitor        "Monitor[0]"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1920x1080"
    EndSubSection
EndSection

As you said it’s better to not speculate and wait for the logs.

They should be taken from the specification data usually to be found in the manufacturer’s documentation supplied or available online for the monitor in question. Really a hangover from the days of CRT’s when they could be damaged by operating outside the ranges. Upper limit for Vertical Refresh looks a bit high at 100 (since panels at 60 or 75 Hz are quite common). Anyway, I don’t think it is such a big issue with panels.

They are mainly cosmetic, helpful as a config-file comment, but not important.

In all due honesty, I do not know the exact requirements here. The wiki does not mention it being necessary. I note some of our graphic guru’s have on occasion suggested it be added. But I don’t know.

I’m hoping the /var/log/Xorg.0.log file provides some hints.

Useful, to set the default starting mode - its the first one in a list of Modes. Useful for restricting modes that may be too high a resolution for comfortable viewing, especially when KDE starts out with the highest. Also, useful to lose the lower modes that never get used these days.

There must be at least one Screen definition, but you have that in the basic 50-screen.conf. The Display subsection is not essential. Remember, the “mode-names” must correspond to those in the Monitor section or to any built-in standard vesa modes being used.

In this case, if used, it should be Modes “1920x1080_60.00”, if that is what ends up in the Modeline statement. :wink: