[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: X server does not allow to switch between resolutions
- From: Rainer Koschke <koschke at informatik dot uni-bremen dot de>
- Date: Mon, 28 Mar 2005 09:22:08 +0200
Strangely enough, /var/log/XFree86.0.log lists:
(==) RandR enabled
this is a bug :( of the driver
replace line bellow in your XF86Config-4 file:
Option "no_dri" "False"
with:
Option "no_dri" "True"
and it should work now, but you loose 3d acceleration :(
Many thanks. That solved the problem.
Mathieu recommended:
According to gentoo FAQ you should do:
http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html#4_randr
Question 4.31: Why doesn't the RANDR extension work?
To enable the RANDR extension, you must disable DGA (Direct Graphics Access). This is done by adding the following text to the "Modules" section of your /etc/X11/xorg.conf or /etc/X11/XF86Config-4:
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
This text may already be in the file if you configured it with fglrxconfig, but the second line may be commented out, which enables DGA. To disable it, simply uncomment the second line.
XFCE users may find that the resolution switching system it has (which uses the RANDR extension) won't work properly if the "extmod" module is loaded, even if DGA is disabled. To prevent the "extmod" module from loading, comment out or remove all three lines listed above from your xorg.conf.
The recommended extension to XF86Config-4 did already exist (see
my attached configuration). Apparently, that wasn't the problem.
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
# Load "extmod" but omit DGA extension
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "TouchMouse"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/mouse"
EndSection
Section "Device"
Identifier "ATI"
Driver "fglrx"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "False"
# switching no_dri to True allows randr but gives up 3d acceleration
Option "no_dri" "True"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"
EndSection
Section "Monitor"
Identifier "Standardbildschirm"
HorizSync 30-90
VertRefresh 58-78
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI"
Monitor "Standardbildschirm"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "TouchMouse" "CorePointer"
# InputDevice "Configured Mouse"
# InputDevice "Generic Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection