Resapplet fails to switch between MergedFB "dualhead" and "clone" modes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
resapplet (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
Resapllet shows incorrect refresh rates and crashes when trying to switch mode - xrandr tool works fine.
configuration:
notebook HP compaq nc6000 (1400x1050) + external 19" LCD HP 1902 (1280x1024)
ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
Linux sarim 2.6.15-21-686 #1 SMP PREEMPT Fri Apr 21 16:57:03 UTC 2006 i686 GNU/Linux => up-to-date Dapper Drake preview
xserver-xorg 7.0.0-0ubuntu2
resapplet 0.0.7+cvs2005
xserver-
xorg set-up using MergedFB with two available modes: 2680x1050 for "dualhead" and 1400x1050 for "clone/no external LCD" mode:
sarim:~$ xrandr
SZ: Pixels Physical Refresh
0 2680 x 1050 ( 681mm x 267mm ) 6895
*1 1400 x 1050 ( 681mm x 267mm ) *-19554
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none
the following commands work as expected:
sarim:~$ xrandr -s 1400x1050 (even move the windows from external LCD back to internal one - coool ;-)
sarim:~$ xrandr -s 2680x1050 (the gnome-panel is shown only on the internal LCD and the screen on external LCD doesn't scroll up/down at all - coool ;-)
when using resapllet I get two available modes in menu:
2680x1050@6895Hz
1400x1050@-19554Hz
strange, the same values are in System/
and switching the mode causes resapllet to crash:
sarim:~$ resapplet
The program 'resapplet' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 1691 error_code 2 request_code 157 minor_code 2)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
sarim:~$ resapplet --sync
The program 'resapplet' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 3890 error_code 2 request_code 157 minor_code 2)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
and when I use the Screen Resolution tool from System menu it allows me to apply the change but nothing happens - if I run it manually it crashes in similar way:
sarim:~$ gnome-display-
The program 'gnome-
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 13128 error_code 2 request_code 157 minor_code 2)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
sarim:~$ gnome-display-
The program 'gnome-
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 31625 error_code 2 request_code 157 minor_code 2)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
I'll attach the xor.conf in a separate post below...
sarim:~$ cat /etc/X11/xorg.conf | grep -v \# X11/fonts/ misc" X11/fonts/ 100dpi/ :unscaled" X11/fonts/ 75dpi/: unscaled" X11/fonts/ Type1" X11/fonts/ 100dpi" X11/fonts/ 75dpi" defoma/ x-ttcidfont- conf.d/ dirs/TrueType"
Section "Files"
FontPath "/usr/lib/
FontPath "/usr/lib/
FontPath "/usr/lib/
FontPath "/usr/lib/
FontPath "/usr/lib/
FontPath "/usr/lib/
FontPath "/var/lib/
EndSection
Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "xtrap"
Load "type1"
Load "v4l"
Load "vbe"
Load "synaptics"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "Device" "/dev/input/mouse1"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons"
Option "ZAxisMapping" "4 5"
Option "SHMConfig" "true"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.12"
Option "MaxSpeed" "0.24"
Option "AccelFactor" "0.0020"
Option "UpDownScrolling" "true"
Option "CircularScrolling" "true"
Option "CircScrollTrigger" "0"
Option "ClickTime" "100"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Device" "/dev/input/mouse0"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device" 1280x1024 1400x1050" ngular" "true"
Identifier "Radeon Mobility 9600 MergedFB"
Driver "radeon"
BusID "PCI:1:0:0"
Option "MergedFB" "true"
Option "CRT2HSsync" "30-80"
Option "CRT2VRefresh" "59-85"
Option "MonitorLayout" "LVDS,TMDS"
Option "OverlayOnCRT2" "true"
Option "MetaModes" "1400x1050-
Option "MergedNonRecta
Option "CRT2Position" "RightOf"
Option "MergedDPI" "100 100"
Option "DynamicClocks" "true"
Option "BIOSHotkeys" "true"
EndSection
Section "Monitor"
Identifier ...