You are not logged in.

#1 2009-10-14 16:24:00

monsieur moche
Member
From: France
Registered: 2009-10-14
Posts: 50

Low and bad screen resolution with radeonhd [SOLVED]

Hi Archers,

I just setted up a brand new PC with an ATI HD4550 GPU and a 22'' 1680x1050 monitor.
I can run Xorg and even Gnome using the radeonhd drivers, but the max resolution I can get is 1280x1024 (which isn't even the correct ratio).
The lower suggested resolutions' ratios are bad as well.

I didn't write an xorg.conf file.
When I try to run X with a configuration file generated by X -configure, the monitor displays an error message like "Unsupported video signal".

What can I do?

Last edited by monsieur moche (2009-10-15 13:44:01)

Offline

#2 2009-10-14 16:32:08

monsieur moche
Member
From: France
Registered: 2009-10-14
Posts: 50

Re: Low and bad screen resolution with radeonhd [SOLVED]

Here is the xorg.conf of my last test:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "extmod"
    Load  "dri2"
    Load  "drm"
    Load  "record"
    Load  "glx"
    Load  "dbe"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
    Option "PreferredMode" "1680x1050"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "AccelMethod"            # [<str>]
        #Option     "offscreensize"          # [<str>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ignoreconnector"        # [<str>]
        #Option     "forcereduced"           # [<bool>]
        #Option     "forcedpi"               # <i>
        #Option     "useconfiguredmonitor"     # [<bool>]
        #Option     "HPD"                    # <str>
        #Option     "NoRandr"                # [<bool>]
        #Option     "RROutputOrder"          # [<str>]
        Option     "DRI" "on"                   # [<bool>]
        #Option     "TVMode"                 # [<str>]
        #Option     "ScaleType"              # [<str>]
        #Option     "UseAtomBIOS"            # [<bool>]
        #Option     "AtomBIOS"               # [<str>]
        #Option     "UnverifiedFeatures"     # [<bool>]
        Option     "Audio" "on"                 # [<bool>]
        Option     "HDMI" "all"                  # [<str>]
        #Option     "COHERENT"               # [<str>]
    Identifier  "Card0"
    Driver      "radeonhd"
    VendorName  "ATI Technologies Inc"
    BoardName   "RV710 [Radeon HD 4550]"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    Defaultdepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

As you can see, I uncommented some lines and I added Option "PreferredMode" "1680x1050" to the monitor section.

Offline

#3 2009-10-14 19:49:51

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 323

Re: Low and bad screen resolution with radeonhd [SOLVED]

monsieur moche wrote:

Here is the xorg.conf of my last test: (...)
As you can see, I uncommented some lines and I added Option "PreferredMode" "1680x1050" to the monitor section.

After a lot of gasping, moaning and countless tries, this xorg.conf works here, with an analogue monitor. Look at the bottom for how I set the mode choices. Good luck!

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "evdev"
    Load  "glx"
    Load  "extmod"
    Load  "record"
    Load  "dri2"
    Load  "dbe"
    Load  "dri"
    Load  "drm"
EndSection

Section "DRI"
    Group    "video"
    Mode    0666
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option        "XkbOptions" "terminate:cntrl_alt_bksp"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "IMPS/2"
    Option        "Device" "/dev/input/mice"
     # Option        "ZAxisMapping" "4 5 6 7"  # Xorg's oppsett
    Option        "Buttons" "5"
    Option        "ZAxisMapping" "4 5"
    Option        "ButtonMapping" "1 2 3 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
    HorizSync     30.0 - 100.0
    VertRefresh   50.0 - 100.0    
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        Option     "AccelMethod" "exa"           # [<str>]
        #Option     "offscreensize"          # [<str>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ignoreconnector"        # [<str>]
        #Option     "forcereduced"           # [<bool>]
        #Option     "forcedpi"               # <i>
        #Option     "useconfiguredmonitor"     # [<bool>]
        #Option     "HPD"                    # <str>
        #Option     "NoRandr"                # [<bool>]
        #Option     "RROutputOrder"          # [<str>]
        Option     "DRI" "on"                   # [<bool>]
        #Option     "TVMode"                 # [<str>]
        #Option     "ScaleType"              # [<str>]
        #Option     "UseAtomBIOS"            # [<bool>]
        #Option     "AtomBIOS"               # [<str>]
        #Option     "UnverifiedFeatures"     # [<bool>]
        #Option     "Audio"                  # [<bool>]
        #Option     "HDMI"                   # [<str>]
        #Option     "COHERENT"               # [<str>]
    Identifier  "Card0"
    Driver      "radeonhd"
    VendorName  "ATI Technologies Inc"
    BoardName   "RV770 [Radeon HD 4850]"
    BusID       "PCI:2:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection

Offline

#4 2009-10-14 20:16:34

monsieur moche
Member
From: France
Registered: 2009-10-14
Posts: 50

Re: Low and bad screen resolution with radeonhd [SOLVED]

Thank you for your message. I tested your xorg.conf file but I got the same error message ("Input not supported" displayed by my monitor)…


However, thanks to this topic, I've been able to add a new resolution mode by using cvt and xrandr.

Unfortunately, when I try to switch to this mode, I get an error message :

[florian@myhost ~]$ cvt 1680 1050
# 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
Modeline "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync
[florian@myhost ~]$ xrandr --newmode "1680x1050" 146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync
[florian@myhost ~]$ xrandr --addmode default 1680x1050
[florian@myhost ~]$ xrandr --output default --mode 1680x1050
xrandr: screen cannot be larger than 1280x1024 (desired size 1680x1050)

I'd like to use Xorg without xorg.conf and by letting HAL do the work for me. It seems to be the cleanest way to do so.

Last edited by monsieur moche (2009-10-14 20:46:04)

Offline

#5 2009-10-14 21:35:42

brendan
Member
From: UK
Registered: 2009-05-16
Posts: 130
Website

Re: Low and bad screen resolution with radeonhd [SOLVED]

why use radeonHD? I have a 4850 on a 22" 1680x1050 monitor using radeon and it works fine. Unless you really need radeonHD then might as well use radeon.

Offline

#6 2009-10-15 13:43:29

monsieur moche
Member
From: France
Registered: 2009-10-14
Posts: 50

Re: Low and bad screen resolution with radeonhd [SOLVED]

Nice, it works!
I thought radeonhd was the most advanced open-source driver for the latest ATI GPU.
Thank you brendan! wink

Offline

Board footer

Powered by FluxBB