[hardy] displayconfig-restore causes X to crash

Bug #202164 reported by laga
12
Affects Status Importance Assigned to Milestone
kde-guidance (Ubuntu)
Won't Fix
Undecided
Unassigned
xorg-server (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

Hi,

I'm using a multiseat setup. The primary VGA card is a Nvidia 7600GS with the proprietary driver (nvidia-glx-new), the second card is a ATI Radeon 9250 PCI using the free driver. After the upgrade to Hardy, the second X server will repeatedly use lots of CPU and crash almost immediately. It starts using a lot of CPU as soon as displayconfig-restore is run. If I run chmod -x /usr/bin/displayconfig-restore, X works just fine. I've tried disabling various calls in displayconfig-restore but I never found out which one was actually causing the crashes.

Here's the backtrace I'm getting from the second X server:

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x6a) [0x48401a]
1: /lib/libc.so.6 [0x7f006a50f150]
2: /usr/bin/X(VidModeGetCurrentModeline+0x4e) [0x48729e]
3: /usr/lib/xorg/modules/extensions//libextmod.so [0x7f00692c7414]
4: /usr/bin/X(Dispatch+0x2ef) [0x44ea9f]
5: /usr/bin/X(main+0x47d) [0x436b9d]
6: /lib/libc.so.6(__libc_start_main+0xf4) [0x7f006a4fb1c4]
7: /usr/bin/X(FontFileCompleteXLFD+0x279) [0x435ed9]

Fatal server error:
Caught signal 11. Server aborting

I'll attach my xorg.conf and my Xorg.1.log file.

Revision history for this message
laga (laga) wrote :
Revision history for this message
laga (laga) wrote :
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

quite an exotic setup.. Note that nvidia doesn't support randr-1.2 while -ati does.

Changed in xorg:
importance: Undecided → Wishlist
Revision history for this message
Bryce Harrington (bryce) wrote :

I'm sorry but configurations with both -fglrx and -nvidia installed is not supported in Hardy and likely won't be supported in Intrepid either. It may be possible to get it working on an individual basis with a lot of hacking, but it's not a feature we will be supporting in the near- or mid-term, so we're marking that task as wontfix.

However, the displayconfig-restore bug with guidance-backends seems relevant and possibly fixable, so leaving that task open.

Changed in xorg-server:
status: New → Won't Fix
Revision history for this message
laga (laga) wrote :

Bryce,

I'm using the binary nvidia driver and the free radeon driver. I'm re-opening this ticket as your justification for closing it doesn't quite apply.

I agreed with Timo Aaltonen that I need to provide a proper backtrace. I'll do so as soon as time permits.

Changed in xorg-server:
status: Won't Fix → New
Revision history for this message
Scott Kitterman (kitterman) wrote :

From a Guidance perspective, I think in order to make this kind of case work it would be necessary to re-engineer this to work with Xrandr 1.2. That kind of invasive change is clearly not suitable for an update to the released version. Using Guidance Display Config is already deprecated in Hardy for Ubuntu. For Kubuntu it is intended to migrate to a KDE4 native tool in Intrepid, so further progress for this is extremely unlikely.

Changed in kde-guidance:
status: New → Won't Fix
Bryce Harrington (bryce)
Changed in xorg-server:
status: New → Won't Fix
Revision history for this message
Davor Cubranic (cubranic) wrote :

I ran into an identical traceback on my machine after I installed Kubuntu 64-bit Hardy. In my case, however, I made zero customizations to the out-of-the box drivers or xorg.conf, and my sole graphics card is the integrated X200 that comes with ATI's Xpress200 chipset.

Interestingly, there were no errors in xorg.log, only in kdm.log. (Probably related to the fact that I was getting the login screen, but after I logged in, the screen would go black for a few seconds and I would be kicked back out to the login screen.) Failsafe login worked, and once I disabled the executable bit on displayconfig-restore regular login to the default KDE desktop started working too. (Except that my wide-screen Dell monitor is not recognized and the "Monitor and Display" module in the system settings cannot load.)

Revision history for this message
Fergal Daly (fergal) wrote :

I have a rather unexotic setup and I don't have non-free drivers installed.

I'm running the RADEON driver. In order to get X to start at all, I have to comment out displayconfig-restore.

If I do that X starts just fine.

If I then run displayconfig-restore, X dies with this trace

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x7e) [0x80c780e]
1: [0xb7fa7420]
2: /usr/lib/xorg/modules/extensions//libextmod.so [0xb7c037a2]
3: /usr/bin/X [0x81506ee]
4: /usr/bin/X(Dispatch+0x2cf) [0x808d8df]
5: /usr/bin/X(main+0x48b) [0x807471b]
6: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7d37450]
7: /usr/bin/X(FontFileCompleteXLFD+0x201) [0x8073a91]

I've attached my Xorg.log and will attach xorg.conf next.

Revision history for this message
Fergal Daly (fergal) wrote :
Revision history for this message
Fergal Daly (fergal) wrote :

I have reopened this because I can reproduce this bug on a box with a default config file and only 1 monitor. This is a regression from 7.10

Changed in xorg-server:
status: Won't Fix → New
Revision history for this message
Fergal Daly (fergal) wrote :

Seems I can reliably crash X with a few lines of python doing anything with mplayer. Python script attached.

Revision history for this message
Fergal Daly (fergal) wrote :

Sorry, that should be "*or* doing anything with mplayer"

Revision history for this message
Scott Kitterman (kitterman) wrote :

That doesn't cause a crash here on an Intel chipset. Mplayer I've had crashing problems with, but I haven't figured it out yet.

Revision history for this message
magicus (mag-icus) wrote :

I have ran into what I believe is the same problem. I get a similar stack trace:
Backtrace:
0: /usr/bin/X(xf86SigHandler+0x94) [0x10092df4]
1: [0x100344]
2: /usr/bin/X(VidModeGetCurrentModeline+0x3c) [0x1009769c]
3: /usr/lib/xorg/modules/extensions//libextmod.so [0xf971c84]
4: /usr/bin/X [0x10135380]
5: /usr/bin/X(Dispatch+0x38c) [0x1004ad4c]
6: /usr/bin/X(main+0x4a4) [0x1002bcc4]
7: /lib/libc.so.6 [0xfb6db10]
8: /lib/libc.so.6 [0xfb6dcd0]

which happens when I run displayconfig-restore. Removing displayconfig-restore enables me to login. Otherwise the X server just crashed during KDE startup (I'm running kubuntu).

I'm running on a PPC Mac Mini. I don't really believe that's relevant, though. The videocard is (from lspci):
0000:00:10.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200] (rev 01)

I'm using the "radeon" X driver.

I didn't have these problems when I installed hardy. But when I did a apt-get dist-upgrade today (for the very first time since installing Hardy, I think) this problem started to appear.

Revision history for this message
Fergal Daly (fergal) wrote :

Could someone change this to something other than wishlist as this is impacting at least 2 people with uninteresting hardware that used to work just fine.

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automated message]

Hi laga,

Please attach the output of `lspci -vvnn` too.

Changed in xorg-server:
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xorg-server:
status: Incomplete → Invalid
Revision history for this message
Fergal Daly (fergal) wrote :

My setup works again with intrepid, so this bug has been fixed somehow.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.