Re: [radeonhd] Re: 0x7143:0x18BC:0x3000: GeCube X1550
Sven Lankes writes:
On Sat, Jul 19, 2008 at 08:57:40PM +0200, Hans Ulrich Niedermann wrote:
Program received signal SIGINT, Interrupt.
SIGINT? We were looking for a SIGSEGV... something is very wrong here :-/
Right. It is just me being dumb and not used to gdb and debugging at all. I have read some wiki pages on debugging xorg in the meantime - maybe this is better:
Yes, definitely!
(gdb) run -keeptty -dumbSched Starting program: /usr/bin/Xorg -keeptty -dumbSched [Thread debugging using libthread_db enabled]
X.Org X Server 1.4.99.905 (1.5.0 RC 5) Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.18-92.1.6.el5 i686 Current Operating System: Linux xob.killefiz.local 2.6.27-0.156.rc0.git4.fc10.i686 #1 SMP Wed Jul 16 21:20:33 EDT 2008 i686 Build Date: 02 July 2008 11:04:45AM Build ID: xorg-x11-server 1.4.99.905-2.20080701.fc10 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present 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: Sat Jul 19 21:29:10 2008 (==) Using config file: "/etc/X11/xorg.conf" [New Thread 0xb80c2710 (LWP 3625)]
Program received signal SIGSEGV, Segmentation fault. bestModeForAspect (config=0x9ac5f40, enabled=0x9ac6f48, aspect=0) at xf86Crtc.c:1857 1857 while ((mode = nextAspectMode(config->output[o], mode, aspect))) { (gdb) bt #0 bestModeForAspect (config=0x9ac5f40, enabled=0x9ac6f48, aspect=0) at xf86Crtc.c:1857 #1 0x080e7181 in xf86TargetAspect () at xf86Crtc.c:1917 #2 xf86InitialConfiguration (scrn=0x9aac610, canGrow=0) at xf86Crtc.c:2049
Maybe this patch for xf86Crtc.c would already help: - nextEnabledOutput(config, enabled, &o); + if (!nextEnabledOutput(config, enabled, &o)) + return NULL; while ((mode = nextAspectMode(config->output[o], mode, aspect))) { Cheers, Egbert. -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
On Mon, Jul 21, 2008 at 01:42:31PM +0200, Egbert Eich wrote:
Maybe this patch for xf86Crtc.c would already help:
- nextEnabledOutput(config, enabled, &o); + if (!nextEnabledOutput(config, enabled, &o)) + return NULL; while ((mode = nextAspectMode(config->output[o], mode, aspect))) {
It did help somewhat, yes. No more segfault - now X refuses to start because the driver wasn't able to find anything connected to the card. See attached Xorg.0.log (using -logverbose 7). -- sven === jabber/xmpp: sven@lankes.net
On Mon, Jul 21, 2008 at 09:42:02PM +0200, Sven Lankes wrote:
It did help somewhat, yes. No more segfault - now X refuses to start because the driver wasn't able to find anything connected to the card.
Update: I now have an old 17" LCD connected to the analog port of the card and that actually works. The other panel which is connected to the other port via dvi is still not seen by the driver: [sven@com ~]$ xrandr Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1400 x 1400 DVI-I_1/analog connected 1280x1024+0+0 338mm x 270mm 1280x1024 60.0*+ 74.9 75.0 59.9 60.0* 1400x1050 60.0 1280x960 60.0 1152x864 75.0 1024x768 75.1 75.0 70.1 60.0 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 75.0 72.8 72.8 75.0 66.7 60.0 59.9 720x400 70.1 DVI-I_1/digital disconnected TV_SVIDEO disconnected DVI-I_2/analog disconnected DVI-I_2/digital disconnected -- sven === jabber/xmpp: sven@lankes.net -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
participants (2)
-
Egbert Eich
-
Sven Lankes