Bug#607767: Blank screen on starting X with Dual 2 GHz G5 and X800XT; DRM module not loading for radeon driver

2011-01-06 Thread Michel Dänzer
On Mit, 2011-01-05 at 16:43 -0500, dpickett wrote: 
 On Jan 5, 2011, at 9:53 AM, Michel Dänzer wrote:
 
  On Die, 2011-01-04 at 14:35 -0500, dpickett wrote:
  The monitor does not go blank: it loses signal as the entire machine
  locks up. After starting X, I see a brief flash of text, then the
  monitor flashes no signal and the entire machine locks up. An ssh
  session on another machine is locked up, and I can not ping the Linux
  machine. The only way to bring it back it a hard reset.
  
  So it's changed again from not freezing to freezing? :(
 
 Yes: it's as if the machine is throwing random errors just to be difficult. :(
 
 So, I decided on a new tack: I booted without an xorg.conf file, and it 
 _almost_ works. It looks like the card is detected properly and drm is 
 loading. The machine doesn't freeze, and I  get a corrupted desktop. There's 
 a black screen, and a corrupted mouse cursor I can move around.
 
 So, I installed a minimal xorg.conf file and attempted to fix the screen 
 problems. Unfortunately, I couldn't, but it looks like we're very close. The 
 problem seems to be that X is having problems getting proper screen info. The 
 error I'm seeing on my monitor (which as 1680x1050) is vrefresh out of 
 range. There's also an unhandled monitor message.
 
 If it helps, output for cvt 1680x1050 is: # 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

[...]

 Section Monitor
 Identifier  Monitor0
 VendorName  Viewsonic
 ModelName   VG2030WM
 Modeline1680x1050_60.00 146.25 1680 1784 1960 2240
 1050 1053 1059 1089
 HorizSync   65.29
 VertRefresh 55-65
 Option  DPMS
 EndSection
 
 Section Screen
 Identifier  Screen0
 Monitor Monitor0
 DefaultColorDepth 24
 SubSection Display
 Viewport 0 0
 Depth 24
 Modes 1680x1050
 EndSubSection
 EndSection

FWIW, if you want to use your custom modeline, you need to reference its
actual name in SubSection Display.


-- 
Earthling Michel Dänzer   |http://www.vmware.com
Libre software enthusiast |  Debian, X and DRI developer



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1294305011.6019.173.ca...@thor.local



Re: xserver-xorg-video-nouveau update in experimental?

2011-01-06 Thread Julien Cristau
On Wed, Jan  5, 2011 at 11:57:57 -0800, Zack Weinberg wrote:

 On Wed, Jan 5, 2011 at 10:40 AM, Zack Weinberg za...@panix.com wrote:
 
  Will try updating xserver-xorg-video-nouveau to the latest upstream
  sources next.
 
 Didn't help.  Filed https://bugs.freedesktop.org/show_bug.cgi?id=32855
 with upstream.
 
Thanks!

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#608974: Issue 1099 in earth-issues: must answer would you like to switch to direct X mode? over and over each startup

2011-01-06 Thread Julien Cristau
On Wed, Jan  5, 2011 at 11:18:50 +0800, jida...@jidanni.org wrote:

 Package: libgl1-mesa-glx
 Version: 7.8.2-1
 Severity: wishlist
 
 I'm not sure whose problem the below is.
 Anyway, for me Google Earth doesn't even work anymore anyway.
 
  c == codesite-noreply  codesite-nore...@google.com writes:
 
 c Comment #1 on issue 1099 by robertl...@google.com: must answer would
 c you like to switch to direct X mode? over and over each startup
 c http://code.google.com/p/earth-issues/issues/detail?id=1099
 
 c The message is admittedly dumb, but what it's telling you is that
 c working, hardware OpenGL was not found.   Upgrade your video drivers
 c so that glxinfo  reports you're not using Mesa software emulation.
 
So what does your glxinfo report?  Also attach the Xorg log.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#609058: xserver-xorg-input-all: mouse and keyboard became unresponsive after reboot. workaround: set AutoAddDevices to False

2011-01-06 Thread Julien Cristau
On Wed, Jan  5, 2011 at 16:44:05 -0500, Andrew Engelbrecht wrote:

 Package: xserver-xorg-input-all
 Version: 1:7.5+8
 Severity: normal
 
 
 Today when I boot-up my PowerBook G4, the mouse and keyboard would not 
 work. I tried rebooting several times, with no luck.
 
 The workaround for the issue was to set AutoAddDevices to False in 
 the ServerFlags section of my otherwise empty xorg.conf
 
Please attach the Xorg log when running without xorg.conf.

Cheers,
Julien


signature.asc
Description: Digital signature


Processed: tagging 608974, tagging 609058, tagging 609060

2011-01-06 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tags 608974 + moreinfo
Bug #608974 [libgl1-mesa-glx] Issue 1099 in earth-issues: must answer would 
you like to switch to direct X mode? over and over each startup
Added tag(s) moreinfo.
 tags 609058 + moreinfo
Bug #609058 [xserver-xorg-input-all] xserver-xorg-input-all: mouse and keyboard 
became unresponsive after reboot. workaround: set AutoAddDevices to False
Added tag(s) moreinfo.
 tags 609060 + unreproducible
Bug #609060 [xterm] xterm should repeat most commands passed, with arrow up
Added tag(s) unreproducible.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
609060: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609060
608974: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608974
609058: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609058
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.12943083581849.transcr...@bugs.debian.org



[bts-link] source package xorg-server

2011-01-06 Thread bts-link-upstream
#
# bts-link upstream status pull for source package xorg-server
# see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html
#

user bts-link-upstr...@lists.alioth.debian.org

# remote status report for #462582 (http://bugs.debian.org/462582)
#  * https://bugs.freedesktop.org/show_bug.cgi?id=26681
#  * remote status changed: RESOLVED - VERIFIED
usertags 462582 - status-RESOLVED
usertags 462582 + status-VERIFIED

thanks


--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110106163600.19483.55980.btsl...@busoni.debian.org



[bts-link] source package xdm

2011-01-06 Thread bts-link-upstream
#
# bts-link upstream status pull for source package xdm
# see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html
#

user bts-link-upstr...@lists.alioth.debian.org

# remote status report for #575486 (http://bugs.debian.org/575486)
#  * https://bugs.freedesktop.org/show_bug.cgi?id=32794
#  * remote status changed: (?) - NEW
usertags 575486 + status-NEW

thanks


--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110106163601.19483.46013.btsl...@busoni.debian.org



Bug#609145: xserver-xorg-video-radeon: xserver restarts when loading a specific jpeg using iceweasel or midori

2011-01-06 Thread Arthur Marsh
Package: xserver-xorg-video-radeon
Version: 1:6.13.2-1
Severity: normal


When attempting to load the image at: 

http://photojournal.jpl.nasa.gov/jpeg/PIA13706.jpg

using either iceweasel or midori I get an xserver restart

-- Package-specific info:
/var/lib/x11/X.roster does not exist.

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 Apr 10  2009 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1955712 Dec  5 12:09 /usr/bin/Xorg

/var/lib/x11/xorg.conf.roster does not exist.

VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: ATI Technologies Inc RV670PRO [Radeon HD 
3850]

/var/lib/x11/xorg.conf.md5sum does not exist.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 981 Apr 21  2010 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type man xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section Device
Identifier  Radeon 3200
#Driver vesa
#Driver radeonhd
Driver  radeon
#Option CustomEDIDVGA-0:/etc/X11/hp7500.edid # UMS only
#Option  AccelMethod   shadowfb
Option  AccelMethod   exa
#Option  AccelMethod   xaa
Option  DRI on
#Option DRI off
EndSection


Kernel version (/proc/version):
Linux version 2.6.37 (r...@am64) (gcc version 4.4.5 (Debian 4.4.5-10) ) #1 SMP 
Thu Jan 6 02:18:02 CST 2011

Xorg X server log files on system:
-rw-r--r-- 1 root root 28391 Jan  7 05:43 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:
[18.284] 
X.Org X Server 1.9.2.902 (1.9.3 RC 2)
Release Date: 2010-12-03
[18.355] X Protocol Version 11, Revision 0
[18.355] Build Operating System: Linux 2.6.32-5-amd64 x86_64 Debian
[18.355] Current Operating System: Linux am64 2.6.37 #1 SMP Thu Jan 6 
02:18:02 CST 2011 x86_64
[18.355] Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.37 
root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro iommu=noaperture
[18.355] Build Date: 05 December 2010  01:25:07AM
[18.355] xorg-server 2:1.9.2.902-1 (Cyril Brulebois k...@debian.org) 
[18.355] Current version of pixman: 0.16.4
[18.355]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[18.355] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[18.356] (==) Log file: /var/log/Xorg.0.log, Time: Fri Jan  7 05:43:35 
2011
[18.514] (==) Using config file: /etc/X11/xorg.conf
[18.514] (==) Using system config directory /usr/share/X11/xorg.conf.d
[18.672] (==) No Layout section.  Using the first Screen section.
[18.672] (==) No screen section available. Using defaults.
[18.672] (**) |--Screen Default Screen Section (0)
[18.672] (**) |   |--Monitor default monitor
[18.672] (==) No device specified for screen Default Screen Section.
Using the first device section listed.
[18.672] (**) |   |--Device Radeon 3200
[18.672] (==) No monitor specified for screen Default Screen Section.
Using a default monitor configuration.
[18.672] (==) Automatically adding devices
[18.672] (==) Automatically enabling devices
[18.721] (WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
[18.721]Entry deleted from font path.
[18.721] (WW) The directory /usr/share/fonts/X11/100dpi/ does not exist.
[18.721]Entry deleted from font path.
[18.721] (WW) The directory /usr/share/fonts/X11/75dpi/ does not exist.
[18.721]Entry deleted from font path.
[18.737] (WW) The directory /usr/share/fonts/X11/100dpi does not exist.
[18.737]Entry deleted from font path.
[18.737] (WW) The directory /usr/share/fonts/X11/75dpi does not exist.
[18.737]Entry deleted from font path.
[18.784] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
[18.784] (==) ModulePath set to /usr/lib/xorg/modules
[18.784] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[18.784] (II) Loader magic: 

Bug#609145: xorg log when xserver restarted

2011-01-06 Thread Arthur Marsh

xorg.log file attached from when xserver restarted.
[19.224] 
X.Org X Server 1.9.2.902 (1.9.3 RC 2)
Release Date: 2010-12-03
[19.232] X Protocol Version 11, Revision 0
[19.232] Build Operating System: Linux 2.6.32-5-amd64 x86_64 Debian
[19.232] Current Operating System: Linux am64 2.6.37 #1 SMP Thu Jan 6 
02:18:02 CST 2011 x86_64
[19.232] Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.37 
root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro iommu=noaperture
[19.232] Build Date: 05 December 2010  01:25:07AM
[19.232] xorg-server 2:1.9.2.902-1 (Cyril Brulebois k...@debian.org) 
[19.232] Current version of pixman: 0.16.4
[19.232]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[19.232] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[19.232] (==) Log file: /var/log/Xorg.0.log, Time: Fri Jan  7 03:15:52 
2011
[19.338] (==) Using config file: /etc/X11/xorg.conf
[19.338] (==) Using system config directory /usr/share/X11/xorg.conf.d
[19.438] (==) No Layout section.  Using the first Screen section.
[19.438] (==) No screen section available. Using defaults.
[19.438] (**) |--Screen Default Screen Section (0)
[19.438] (**) |   |--Monitor default monitor
[19.438] (==) No device specified for screen Default Screen Section.
Using the first device section listed.
[19.438] (**) |   |--Device Radeon 3200
[19.438] (==) No monitor specified for screen Default Screen Section.
Using a default monitor configuration.
[19.438] (==) Automatically adding devices
[19.438] (==) Automatically enabling devices
[19.487] (WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
[19.487]Entry deleted from font path.
[19.487] (WW) The directory /usr/share/fonts/X11/100dpi/ does not exist.
[19.487]Entry deleted from font path.
[19.487] (WW) The directory /usr/share/fonts/X11/75dpi/ does not exist.
[19.487]Entry deleted from font path.
[19.502] (WW) The directory /usr/share/fonts/X11/100dpi does not exist.
[19.502]Entry deleted from font path.
[19.502] (WW) The directory /usr/share/fonts/X11/75dpi does not exist.
[19.502]Entry deleted from font path.
[19.567] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
[19.567] (==) ModulePath set to /usr/lib/xorg/modules
[19.567] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[19.567] (II) Loader magic: 0x7ceb20
[19.567] (II) Module ABI versions:
[19.567]X.Org ANSI C Emulation: 0.4
[19.567]X.Org Video Driver: 8.0
[19.567]X.Org XInput driver : 11.0
[19.567]X.Org Server Extension : 4.0
[19.568] (--) PCI:*(0:1:0:0) 1002:9505:1462:1121 rev 0, Mem @ 
0xd000/268435456, 0xfeaf/65536, I/O @ 0xd000/256, BIOS @ 
0x/131072
[19.600] (II) Open ACPI successful (/var/run/acpid.socket)
[19.600] (II) LoadModule: extmod
[19.663] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[19.751] (II) Module extmod: vendor=X.Org Foundation
[19.751]compiled for 1.9.2.902, module version = 1.0.0
[19.751]Module class: X.Org Server Extension
[19.751]ABI class: X.Org Server Extension, version 4.0
[19.751] (II) Loading extension SELinux
[19.751] (II) Loading extension MIT-SCREEN-SAVER
[19.751] (II) Loading extension XFree86-VidModeExtension
[19.751] (II) Loading extension XFree86-DGA
[19.751] (II) Loading extension DPMS
[19.751] (II) Loading extension XVideo
[19.751] (II) Loading extension XVideo-MotionCompensation
[19.751] (II) Loading extension X-Resource
[19.751] (II) LoadModule: dbe
[19.752] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[19.767] (II) Module dbe: vendor=X.Org Foundation
[19.767]compiled for 1.9.2.902, module version = 1.0.0
[19.767]Module class: X.Org Server Extension
[19.767]ABI class: X.Org Server Extension, version 4.0
[19.767] (II) Loading extension DOUBLE-BUFFER
[19.767] (II) LoadModule: glx
[19.767] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[19.835] (II) Module glx: vendor=X.Org Foundation
[19.835]compiled for 1.9.2.902, module version = 1.0.0
[19.835]ABI class: X.Org Server Extension, version 4.0
[19.835] (==) AIGLX enabled
[19.835] (II) Loading extension GLX
[19.994] (II) LoadModule: record
[19.994] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[20.290] (II) Module record: vendor=X.Org Foundation
[20.291]compiled for 

Bug#609058: xserver-xorg-input-all: mouse and keyboard became unresponsive after reboot. workaround: set AutoAddDevices to False

2011-01-06 Thread Drew Engelbrecht
Huh, that's weird. It works without the xorg.conf file now. It was a
persistent issue yesterday, though the issue appeared in isolation a number
of times in the past. If it comes up again, I'll send the Xorg.0.log.

-Drew


On Thu, Jan 6, 2011 at 5:05 AM, Julien Cristau jcris...@debian.org wrote:

 On Wed, Jan  5, 2011 at 16:44:05 -0500, Andrew Engelbrecht wrote:

  Package: xserver-xorg-input-all
  Version: 1:7.5+8
  Severity: normal
 
 
  Today when I boot-up my PowerBook G4, the mouse and keyboard would not
  work. I tried rebooting several times, with no luck.
 
  The workaround for the issue was to set AutoAddDevices to False in
  the ServerFlags section of my otherwise empty xorg.conf
 
 Please attach the Xorg log when running without xorg.conf.

 Cheers,
 Julien

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)

 iQIcBAEBCAAGBQJNJZPsAAoJEDEBgAUJBeQMu5AP/1qR17nDuwH6RXoqYSL7Q9F1
 fZO3jGfgHtHfXh4hNYNFC7zzLQLRr6lvHJCIVirOieIldE/PNMfPdqJjcAgkuju+
 qqmNu8MayReLdvFWQyx7FFWJq7G/tDL0cHe9pOvE8f+oZgnmNIqz/O8H30yykRWi
 XRR1UXj3pwkYq3fE28pLa7pQ1FjDN5aIBWe6282JfUkWRFy7ifUfcC0S7bfVvRDe
 VPyhtCW3bpSlwmvl/srD8NvaVYTSvGrUvDfC2hqMn8oAP8btsBL5oJY5QfBTMxrB
 ZCGVrbJ4eJCv+66l8xKprT62O25hTqcNhMGcGNN3uECW8i7ghGF7UeO+CO6SbRIn
 I0AoiVVdyZ1ZlA/zT2X0Lj/gXjfN1iVh9oINGj0zs9Y/He/vrpBYJ0MXHiEXrrAD
 N1ijlsnfbUvXw14GEAvxxEwsPa81YaOEJ3BlIjTld1XLRM/EbC+zo5InUTLACBV1
 oH/wbz6DcVEKltUjHpeRSX76yi5UMRu4WkTUzLqqJBGbBSHAboMobiQPCD+CKCBY
 NS1nl58iZSa5ef+4qXHjABC6N+JjQi5/uri8DYh5BjYfCKzX8Wm/5jbA1gVIYNIW
 8s4FleE+RSxO4cMr9xGA+H6m9MFlwXRcQNKJDaEEv8c9HzsZaWK2Q/0XtLrI1Z6A
 VM6T42sgroayzistqbJp
 =eHlO
 -END PGP SIGNATURE-




Bug#608974: Issue 1099 in earth-issues: must answer would you like to switch to direct X mode? over and over each startup

2011-01-06 Thread jidanni
 JC == Julien Cristau jcris...@debian.org writes:
JC So what does your glxinfo report?  Also attach the Xorg log.
OK, will try next week.



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/874o9llqrm@jidanni.org



xorg-server: Changes to 'ubuntu'

2011-01-06 Thread Bryce Harrington
 debian/changelog   |   18 
 debian/patches/207_dga_master_device.patch |   27 +++
 debian/patches/208_switch_on_release.diff  |  109 +
 debian/patches/series  |2 
 4 files changed, 156 insertions(+)

New commits:
commit 8ec8f0068170a012b371c13b8463b6d4550bce9a
Author: Bryce Harrington br...@canonical.com
Date:   Thu Jan 6 14:38:16 2011 -0800

Make layout switching key combos not interfere with application shortcut
key combos.

diff --git a/debian/changelog b/debian/changelog
index b0a509b..77f8bbd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+xorg-server (2:1.9.0.902-1ubuntu4) natty; urgency=low
+
+  * Add 208_switch_on_release.diff: Perform keyboard layout switches on
+key-release rather than key-press events.  This solves a very
+long-standing issue where e.g. ctrl+shift+key fails when
+ctrl+shift is configured for layout switching.
+(LP: #36812)
+
+ -- Bryce Harrington br...@ubuntu.com  Thu, 06 Jan 2011 14:35:59 -0800
+
 xorg-server (2:1.9.0.902-1ubuntu3) natty; urgency=low
 
   * Add 207_dga_master_device.patch: Cherrypick from upstream xserver git
diff --git a/debian/patches/208_switch_on_release.diff 
b/debian/patches/208_switch_on_release.diff
new file mode 100644
index 000..86a7f5c
--- /dev/null
+++ b/debian/patches/208_switch_on_release.diff
@@ -0,0 +1,109 @@
+diff --git a/xkb/xkbActions.c b/xkb/xkbActions.c
+index 2cdb6fc..3ed6263 100644
+--- a/xkb/xkbActions.c
 b/xkb/xkbActions.c
+@@ -325,24 +325,83 @@ _XkbFilterLatchState(XkbSrvInfoPtr   xkbi,
+ return 1;
+ }
+ 
++static int xkbSwitchGroupOnRelease(void)
++{
++/* TODO: user configuring */
++return TRUE;
++}
++
++static void xkbUpdateLockedGroup(XkbSrvInfoPtr xkbi, XkbAction* pAction)
++{
++XkbGroupAction ga = pAction-group;
++if (ga.flagsXkbSA_GroupAbsolute)
++  xkbi-state.locked_group= XkbSAGroup(ga);
++else xkbi-state.locked_group+= XkbSAGroup(ga);
++}
++
++static XkbFilterPtr _XkbNextFreeFilter(XkbSrvInfoPtr xkbi);
++
+ static int
+-_XkbFilterLockState(  XkbSrvInfoPtr   xkbi,
++_XkbFilterLockGroup(  XkbSrvInfoPtr   xkbi,
+   XkbFilterPtrfilter,
+   unsignedkeycode,
+   XkbAction * pAction)
+ {
+-if (pAction(pAction-type==XkbSA_LockGroup)) {
+-  if (pAction-group.flagsXkbSA_GroupAbsolute)
+-   xkbi-state.locked_group= XkbSAGroup(pAction-group);
+-  else xkbi-state.locked_group+= XkbSAGroup(pAction-group);
+-  return 1;
++int sendEvent = 1;
++
++if (!xkbSwitchGroupOnRelease()) {
++  xkbUpdateLockedGroup(xkbi, pAction);
++  return sendEvent;
++}
++
++/* Delay switch till button release */
++if (filter-keycode==0) { /* initial press */
++  filter-keycode = keycode;
++  filter-active = 1;
++  filter-filterOthers = 0; /* for what? */
++  filter-filter = _XkbFilterLockGroup;
++
++  /* filter-priv = 0; */
++  filter-upAction = *pAction;
++
++  /* Ok, now we need to simulate the action which would go if this action 
didn't block it.
++ XkbSA_SetMods is the one: it is to set modifier' flag up. */
++  {
++  XkbStateRec fake_state = xkbi-state;
++  XkbAction act;
++
++  fake_state.mods = 0;
++  act = XkbGetKeyAction(xkbi, fake_state, keycode);
++
++  /* KLUDGE: XkbSA_SetMods only? */
++  if (act.type == XkbSA_SetMods) { 
++  XkbFilterPtr filter = _XkbNextFreeFilter(xkbi);
++  sendEvent = _XkbFilterSetState(xkbi,filter,keycode,act);
++  }
++  }
+ }
++else {
++  /* do nothing if some button else is pressed */
++  if (!pAction)
++  xkbUpdateLockedGroup(xkbi, filter-upAction);
++  filter-active = 0;
++}
++
++return sendEvent;
++}
++
++static int
++_XkbFilterLockMods(   XkbSrvInfoPtr   xkbi,
++  XkbFilterPtrfilter,
++  unsignedkeycode,
++  XkbAction * pAction)
++{
+ if (filter-keycode==0) { /* initial press */
+   filter-keycode = keycode;
+   filter-active = 1;
+   filter-filterOthers = 0;
+   filter-priv = 0;
+-  filter-filter = _XkbFilterLockState;
++  filter-filter = _XkbFilterLockMods;
+   filter-upAction = *pAction;
+   xkbi-state.locked_mods^= pAction-mods.mask;
+   xkbi-setMods = pAction-mods.mask;
+@@ -1104,9 +1163,12 @@ xkbDeviceInfoPtr xkbPrivPtr = XKBDEVICEINFO(dev);
+   sendEvent=_XkbFilterLatchState(xkbi,filter,key,act);
+   break;
+   case XkbSA_LockMods:
++  filter = _XkbNextFreeFilter(xkbi);
++  sendEvent=_XkbFilterLockMods(xkbi,filter,key,act);
++  break;
+   case XkbSA_LockGroup:
+   filter = _XkbNextFreeFilter(xkbi);
+-   

Bug#609145: xserver-xorg-video-radeon: backtrace from gdb

2011-01-06 Thread Arthur Marsh
Package: xserver-xorg-video-radeon
Version: 1:6.13.2-1
Severity: normal


I've attached the output of bt full as
described in:

http://wiki.debian.org/XStrikeForce/XserverDebugging

(The instructions above could be clarified further to include
issuing a continue command after attaching to the X server
and before doing whatever caused the crash).

-- Package-specific info:
/var/lib/x11/X.roster does not exist.

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 Apr 10  2009 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1955712 Dec  5 12:09 /usr/bin/Xorg

/var/lib/x11/xorg.conf.roster does not exist.

VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: ATI Technologies Inc RV670PRO [Radeon HD 
3850]

/var/lib/x11/xorg.conf.md5sum does not exist.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 981 Apr 21  2010 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type man xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section Device
Identifier  Radeon 3200
#Driver vesa
#Driver radeonhd
Driver  radeon
#Option CustomEDIDVGA-0:/etc/X11/hp7500.edid # UMS only
#Option  AccelMethod   shadowfb
Option  AccelMethod   exa
#Option  AccelMethod   xaa
Option  DRI on
#Option DRI off
EndSection


Kernel version (/proc/version):
Linux version 2.6.37 (r...@am64) (gcc version 4.4.5 (Debian 4.4.5-10) ) #1 SMP 
Thu Jan 6 02:18:02 CST 2011

Xorg X server log files on system:
-rw-r--r-- 1 root root 35976 Jan  7 13:41 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:
[   150.051] 
X.Org X Server 1.9.2.902 (1.9.3 RC 2)
Release Date: 2010-12-03
[   150.059] X Protocol Version 11, Revision 0
[   150.061] Build Operating System: Linux 2.6.32-5-amd64 x86_64 Debian
[   150.064] Current Operating System: Linux am64 2.6.37 #1 SMP Thu Jan 6 
02:18:02 CST 2011 x86_64
[   150.066] Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.37 
root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro iommu=noaperture
[   150.069] Build Date: 05 December 2010  01:25:07AM
[   150.071] xorg-server 2:1.9.2.902-1 (Cyril Brulebois k...@debian.org) 
[   150.074] Current version of pixman: 0.16.4
[   150.077]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[   150.082] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   150.090] (==) Log file: /var/log/Xorg.0.log, Time: Fri Jan  7 13:33:30 
2011
[   150.092] (==) Using config file: /etc/X11/xorg.conf
[   150.095] (==) Using system config directory /usr/share/X11/xorg.conf.d
[   150.098] (==) No Layout section.  Using the first Screen section.
[   150.098] (==) No screen section available. Using defaults.
[   150.098] (**) |--Screen Default Screen Section (0)
[   150.098] (**) |   |--Monitor default monitor
[   150.098] (==) No device specified for screen Default Screen Section.
Using the first device section listed.
[   150.098] (**) |   |--Device Radeon 3200
[   150.098] (==) No monitor specified for screen Default Screen Section.
Using a default monitor configuration.
[   150.098] (==) Automatically adding devices
[   150.098] (==) Automatically enabling devices
[   150.098] (WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
[   150.098]Entry deleted from font path.
[   150.098] (WW) The directory /usr/share/fonts/X11/100dpi/ does not exist.
[   150.098]Entry deleted from font path.
[   150.098] (WW) The directory /usr/share/fonts/X11/75dpi/ does not exist.
[   150.098]Entry deleted from font path.
[   150.098] (WW) The directory /usr/share/fonts/X11/100dpi does not exist.
[   150.098]Entry deleted from font path.
[   150.098] (WW) The directory /usr/share/fonts/X11/75dpi does not exist.
[   150.098]Entry deleted from font path.
[   150.098] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
[   150.098] (==) ModulePath set to /usr/lib/xorg/modules
[   150.098] (II) The server relies on udev to provide the list of input 

Bug#607767: Blank screen on starting X with Dual 2 GHz G5 and X800XT; DRM module not loading for radeon driver

2011-01-06 Thread dpickett
Referenced the modeline in the Display subsection, but didn't see to change 
anything. I read through the xorg_conf man page and constructed what I think is 
the minimal xorf_conf I could, but no avail. 

Grepping the xorg.log for 1680 gives:

(II) RADEON(0): Adding Screen mode: 1680x1050
(II) RADEON(0): Not using default mode 1680x1050 (monitor doesn't support 
reduced blanking)
(II) RADEON(0): Not using default mode 1680x1050 (hsync out of range)
(II) RADEON(0): Modeline 1680x1050_60.00x60.0  146.25  1680 1784 1960 2240  
1050 1053 1059 1089 (65.3 kHz)
(II) RADEON(0): Modeline 1680x1050x74.9  187.00  1680 1800 1976 2272  1050 
1053 1059 1099 -hsync +vsync (82.3 kHz)
(II) RADEON(0): Modeline 1680x1050x69.9  174.00  1680 1800 1976 2272  1050 
1053 1059 1096 -hsync +vsync (76.6 kHz)
(II) RADEON(0): Modeline 1680x1050x60.0  146.25  1680 1784 1960 2240  1050 
1053 1059 1089 -hsync +vsync (65.3 kHz)
(II) RADEON(0): Output DVI-1 using initial mode 1680x1050_60.00

I looked up the vertical and horizontal refresh rates of my monitor and made 
sure to add them to the xorg_conf, in the Monitor section, but that doesn't 
seem to help those errors. There is also the error Unhandled monitor type 0, 
but I can't find information as to exactly what that means. 

Xorg.0.log and xorg_conf attached.

# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type man xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section Device
Identifier  ATI Technologies Inc R420 JH [Radeon X800]
Driver  radeon
EndSection

Section Monitor
Identifier  Monitor0
VendorName  Viewsonic
ModelName   VG2030WM
Modeline1680x1050_60.00 146.25 1680 1784 1960 2240 1050 1053 
1059 1089
HorizSync   24-92
VertRefresh 50-85
Option  DPMS
EndSection

Section Screen
Identifier  Screen0
Monitor Monitor0
Device  ATI Technologies Inc R420 JH [Radeon X800]
DefaultColorDepth 24
SubSection Display
Viewport 0 0
Depth 24
Modes 1680x1050_60.00
EndSubSection
EndSection

Section ServerLayout
Identifier  Monitor0
Screen  Screen0
EndSection

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.26-2-powerpc64 ppc Debian
Current Operating System: Linux G5 2.6.32-5-powerpc64 #1 SMP Fri Dec 10 
18:58:21 UTC 2010 ppc64
Kernel command line: root=/dev/sdb3 ro drm.debug=7 video=ofonly single
Build Date: 02 December 2010  01:48:29AM
xorg-server 2:1.7.7-10 (Julien Cristau jcris...@debian.org) 
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Fri Jan  7 02:18:00 2011
(==) Using config file: /etc/X11/xorg.conf
(==) Using system config directory /usr/share/X11/xorg.conf.d
(==) ServerLayout Monitor0
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device ATI Technologies Inc R420 JH [Radeon X800]
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(==) ModulePath set to /usr/lib/xorg/modules
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
(II) Loader magic: 0x101e8180
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) using VT number 1

(--) PCI:*(0:240:16:0) 1002:4a48:1002:4a48 ATI Technologies Inc R420 JH [Radeon 
X800] rev 0, Mem @ 0xa000/268435456, 0x9000/65536, I/O @ 
0x0400/256, BIOS @ 0x/131072
(II) LoadModule: extmod
(II)