[ANNOUNCE] xf86-video-ati 6.7.197

Sverre Froyen sverre at viewmark.com
Sat Dec 22 10:58:16 PST 2007


On Thursday 20 December 2007, Alex Deucher wrote:
> Another RC release.  Lots of stuff fixed and new features.  See the
> changelog for more.  Highlights:

Hi Alex,

For some reason, the patch to restore the display upon exiting the X server, 
and which worked well in the 6.6.3 and 6.6.99 drivers, no longer works in the 
6.7 drivers that I have tried (6.7.195 and 6.7.197).  The patch was 
officially included in the ati driver in

commit 80eee856938756e1222526b6c39cee8b5252b409
Author: Matthieu Herb <>
Date:   Tue Oct 9 16:17:50 2007 -0400

    RADEON: fix console restore on netbsd

      Include the mode restore bugfix from monolithic Xorg, that is derived
      from the version in xsrc which in turn was provided by Matthieu Herb
      over 3 years ago on the XFree86 lists. Suggested by various
      developers, hold-back due to the working state in xorg-server 1.1.1.
      Tracing down the exact change showed that the changed default color
      depth made this issue a lot more prominent again. Discussed with Eric
      Anholt.

I attempted to print out the the content of the saved data right after the 
call to vgaHWSave and right before the call to vgaHWRestore (in radeon.c) and 
it looks like it's been modified in between the two calls (this could, of 
course, be a misunderstanding on my part).

It would be nice to get this issue resolved before the new driver is 
officially released.

Thanks,

Sverre

PS I've attached my log and config files.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log
Type: text/x-log
Size: 50658 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20071222/07fecc1a/attachment.bin>
-------------- next part --------------
# **********************************************************************
# Refer to the xorg.conf(5) man page for details about the format of 
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"  	# Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
#    Load        "type1"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
#    Load       "glx"
# This loads the DRI module
#    Load       "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

#    RgbPath	"/usr/pkg/share/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# 

    FontPath   "/usr/pkg/lib/X11/fonts/misc/"
#    FontPath   "/usr/pkg/lib/X11/fonts/TTF/"
#    FontPath   "/usr/pkg/lib/X11/fonts/OTF"
    FontPath   "/usr/pkg/lib/X11/fonts/Type1/"
    FontPath   "/usr/pkg/lib/X11/fonts/100dpi/"
    FontPath   "/usr/pkg/lib/X11/fonts/75dpi/"
    FontPath   "/usr/pkg/lib/X11/fonts/local/"
    FontPath   "/usr/pkg/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/pkg/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/pkg/lib/X11/fonts/freefont/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/pkg/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client. 

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings. 

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier	"Keyboard0"
    Driver	"kbd"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "Protocol"      "Xqueue"

#    Option "Protocol"    "wskbd"	# wskbd protocol
#    Option "Device"      "/dev/wskbd"

    Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option	"Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"    "pc105"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"   "de"
# or:
#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions"  "ctrl:swapcaps"

# These are the default XKB settings for Xorg
#    Option "XkbRules"    "xorg"
#    Option "XkbModel"    "pc105"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""

#    Option "XkbDisable"

    Option "XkbRules"	"xorg"
    Option "XkbModel"	"pc101"
    Option "XkbLayout"	"us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse0"
    Driver	"mouse"
    #Driver	"ws"
    Option "Protocol"    "wsmouse"	# wsmouse protocol
    Option "Device"      "/dev/wsmouse"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"	"Xqueue"

# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"	"256"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"	"9600"
#    Option "SampleRate"	"150"

# Mouse wheel mapping.  Default is to map vertical wheel to buttons 4 & 5,
# horizontal wheel to buttons 6 & 7.   Change if your mouse has more than
# 3 buttons and you need to map the wheel to different button ids to avoid
# conflicts.

    Option "ZAxisMapping"   "4 5 6 7"

# Emulate3Buttons is an option for 2-button mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
	Identifier   "Monitor0"
	HorizSync    28-99
	VertRefresh  43-85
	VendorName   "IBM"
	ModelName    "T42"
	#Option	      "DPMS" "false"
	Option       "PanelSize" "1400x1050"
	Option       "PreferredMode"  "1400x1050"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	#HorizSync    28-100
	#VertRefresh  43-85
	#DisplaySize  480 310  # mm
	#VendorName   "Mitsubishi"
	#ModelName    "Diamond Plus 200"
	#Option	      "DPMS" "false"
	# For Sony wide
	#ModeLine     "1600x1050" 162.0  1600 1664 1856 2160 1050 1052 1064 1082
	#ModeLine     "1850x1200" 212.0  1850 1874 2076 2400 1200 1202 1210 1252
	Option       "PreferredMode"  "1600x1200"
	Option       "RightOf" "Monitor0"
EndSection

Section "Monitor"
	Identifier   "Monitor2"
	HorizSync    28-82
	#VertRefresh  60.28
	VertRefresh  74.84
	#DisplaySize  480 310  # mm
	VendorName   "PHL"
	ModelName    "Philips 170B2"
	#Option	     "DPMS" "false"
	# 1280x1024 @ 60.28 Hz (GTF) hsync: 63.90 kHz; pclk: 109.39 MHz
	Modeline "1280x1024_60.28"  109.39  1280 1360 1496 1712  1024 1025 1028 1060  -HSync +Vsync
	# 1280x1024 @ 74.84 Hz (GTF) hsync: 80.00 kHz; pclk: 138.25 MHz
	Modeline "1280x1024_74.84"  138.25  1280 1368 1504 1728  1024 1025 1028 1069  -HSync +Vsync
	Option       "PreferredMode"  "1280x1024_74.84"
	Option       "LeftOf" "Monitor0"
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
	Identifier  "Card0"
	Driver      "ati"
	BusID       "PCI:1:0:0"
	Option      "Monitor-LVDS" "Monitor0"
	#Option      "Monitor-VGA-0" "Monitor1"
	#Option      "Monitor-DVI-0" "Monitor2"
EndSection


# Standard VGA Device:

Section "Device"
    Identifier	"Standard VGA"
    VendorName	"Unknown"
    BoardName	"Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset	"generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver     "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam	256

#    Clocks	25.2 28.3

EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.

Section "Screen"
    Identifier  "Screen0"
    Device      "Card0"
    Monitor     "Monitor0"
    DefaultDepth 24

    Subsection "Display"
        Depth       24
        Modes       "1400x1050"
        Virtual     3000 1200
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

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

#Section "ServerLayout"
#    Identifier     "work"
#    Screen         0 "Screen1" 0 0
#    InputDevice    "Mouse0" "CorePointer"
#    InputDevice    "Keyboard0" "CoreKeyboard"
#EndSection
#
#Section "ServerLayout"
#    Identifier     "home"
#    Screen         0 "Screen2" 0 0
#    InputDevice    "Mouse0" "CorePointer"
#    InputDevice    "Keyboard0" "CoreKeyboard"
#EndSection

#Section "DRI"
#    Mode 0666
#EndSection


More information about the xorg mailing list