Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2008 15:08:58 +0200
From:      Zbigniew Baniewski <zb@ispid.com.pl>
To:        freebsd-x11@freebsd.org
Subject:   FreeBSD7/xorg/radeon: cannot change resolution using <Ctrl>-<Alt>-<+/->
Message-ID:  <20080712130858.GA5296@sarge.my.own.domain.no-net>

next in thread | raw e-mail | index | archive | help
Hallo,

Since longer time I'm unable to make anything with this; perhaps somebody
knows the cure:

1. It seems, that xorg totally ignores either entire `Section "Screen"'
paragraph, or at least every single `SubSection "Display"' entry inside
that paragaraph. In effect I'm unable to have desired resolution at desired
bpp; when starting X-server, it always chooses it on its own. The second
consequence is, that there's no possibility to switch resolutions using
<Ctrl>-<Alt>-<+ -> anymore.

Below a copy of my xorg.conf. I'm using the same config under Linux (got
dual-boot install) - with just slight differences (mouse, /dev/* etc. - you
know; nothing screen-related) - without any problems. So, it must be a bug
in FreeBSD's port of radeon driver, most probably. Does there exist any
workaround?

Or perhaps there's missing something FreeBSD specific?

=========================================================================
# xorg.conf (Xorg X Window System server configuration file)

# Transparency on
Section "Extensions"
    Option "Composite" "Enable"
EndSection

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/local/share/X11/rgb"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/webfonts/"
        FontPath     "/usr/local/lib/X11/fonts/freefont-ttf/"
        FontPath     "/usr/local/lib/X11/fonts/terminus-font/"
        FontPath     "/usr/local/lib/X11/fonts/freefont/"
        FontPath     "/usr/local/lib/X11/fonts/sharefont/"
        FontPath     "/usr/local/lib/X11/fonts/OTF"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load    "GLcore"
        Load    "bitmap"
        Load    "dbe"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "type1"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc101"
        Option          "XkbLayout"     "pl"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "Device"                "/dev/sysmouse"
        Option          "Protocol"              "Auto"
        Option          "Buttons"               "5"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
        Identifier      "Card0"
        Driver          "radeon"
        VendorName      "ATI"
        BoardName       "ATI Radeon 9000 Pro"
        Option          "AccelMethod"   "XAA"
        Option          "AGPMode"       "1"
        Option          "EnablePageFlip"        "1"
        Option          "ColorTiling"   "1"
        BusID           "PCI:1:0:0"
        Option "backingstore" "true"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "Proview"
        ModelName       "900 P"
        Option          "DPMS"
        HorizSync       30.0 - 80.0
        VertRefresh     60.0 - 85.0
EndSection

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

Section "DRI"
        Group   0
        Mode    0666
EndSection

====================================

2. Yesterday I've replaced xorg radeon driver with the newest one, taken
from ports (6.9.0), and the Xserver as well (1.4.2) - still no desired
effect.

3. Since xorg has(?) ability to create kind of "template" of its config
file, I've renamed my /etc/xorg.conf to /etc/xorg.conf.bak, then started
X Window again, to see, what settings it'll write on its own. It didn't
write anything, but... it started - for a first look - exactly, as if it
had /etc/xorg.conf (although it didn't read it, as I saw in log file). I
couldn't see any difference: same resolution, and same unability to change
it using <Ctrl>-<Alt>-<Keypad +/->. Perhaps although it was reading
/etc/xorg.conf earlier - but my own settings were totally ignored? But why?
Shouldn't they override any "autodetected values"?

4. No, I don't have any other xorg.conf file nowhere (made a search with
"find / -name xorg*").

5. As I've checked, I can change resolution using xrandr. But of course
it's not any solution, it should be possible with <Ctrl>-<Alt>-<+/->,
like it's possible under every unix-like OS, with exception of FreeBSD.


Looking for information, I could see, that I'm not only one, who's looking
for solution: http://tinyurl.com/5p64jn - perhaps somebody found it
meanwhile?

If it's a bug - to whom should it be reported?
-- 
				pozdrawiam / regards

						Zbigniew Baniewski



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080712130858.GA5296>