[HD2400] crashes in xf86CrtcSetMode+0x5da (CD_INVALID_OPCODE)

Bug #277423 reported by Psy[H[]
4
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-radeonhd

When booting in live mode radeonhd needs to be manually set in xorg.conf. If not, X starts with bulletproofX

Asus A8Sr laptop with ati HD2400

Backtrace:
0: /usr/X11R6/bin/X(xf86SigHandler+0x79) [0x80c2ff9]
1: [0xb80ea400]
2: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xb7b82e51]
3: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xb7b827ce]
4: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xb7b81840]
5: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xb7b82a38]
6: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xb7b868ee]
7: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xb7b84018]
8: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xb7b84180]
9: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xb7b9a6c1]
10: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xb7b9b704]
11: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xb7b7bb38]
12: /usr/X11R6/bin/X(xf86CrtcSetMode+0x5da) [0x80eb3ba]
13: /usr/X11R6/bin/X(xf86SetDesiredModes+0x1af) [0x80eb76f]
14: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xb7b5f1ea]
15: /usr/X11R6/bin/X(AddScreen+0x19f) [0x807137f]
16: /usr/X11R6/bin/X(InitOutput+0x206) [0x80aa526]
17: /usr/X11R6/bin/X(main+0x279) [0x8071b19]
18: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7cf3685]
19: /usr/X11R6/bin/X [0x8071101]
Saw signal 11. Server aborting.

Revision history for this message
Psy[H[] (vovik-wfa) wrote :
Revision history for this message
Tormod Volden (tormodvolden) wrote :

Thanks for your bug report. That bulletproofX starts, is because the default radeon driver crashes, and is hence a bug in the -ati package. Using radeonhd instead is a good workaround.

Can you please install the xserver-xorg-video-ati-dbg and xserver-xorg-video-radeon-dbg packages and try again (with "ati" or no driver specified) so that we can get a full backtrace?

Changed in xserver-xorg-video-radeonhd:
assignee: nobody → tormodvolden
status: New → Incomplete
Revision history for this message
Psy[H[] (vovik-wfa) wrote : Re: crashes on ati HD2400 in xf86CrtcSetMode+0x5da

Done. Here are logs...
Or it was something else needed with dbg's?

Why X does not start radeonhd after radeon crashes?

Revision history for this message
Tormod Volden (tormodvolden) wrote :

It seems like the debug symbols are still missing:
2: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xb7b81d41]

Make sure you really installed both debug packages and restart the X server. Maybe you installed the -dbg package for radeonhd instead?

Please just attach the Xorg.0.log directly next time.

> Why X does not start radeonhd after radeon crashes?
radeon is not supposed to crash. We don't design for failure :)

Revision history for this message
Psy[H[] (vovik-wfa) wrote :

I've installed both (ati, radeon) dbg packages with their dependencies (r128, mach64 dbg's), even reinstalling ati and radeon driver packages.
...maybe X was not fully restarted after that... I tried ctrl+alt+backspace, stopping gdm by init script, so there were no gdm or Xorg in "ps -A" output.
After starting it again there were no major changes in the log.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Thanks, seems like those -dbg packages don't help. Can you please try installing them (ati, radeon, + corresponding -dbg packages) from my PPA?

Revision history for this message
Psy[H[] (vovik-wfa) wrote :

They just work.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Excellent. The Intrepid -ati package was just updated to include this revision. Can you please upgrade (to version 1:6.9.0+git20081003.f9826a56-0ubuntu2) and verify that it also works?

Changed in xserver-xorg-video-ati:
status: Incomplete → Fix Committed
Revision history for this message
Psy[H[] (vovik-wfa) wrote :

It' not working.
After upgrading ati driver nothing changed, after upgrading radeon driver interval between screen flicks gone, but still it does not work.

I will post log with -dbg packages after 3-4 hours. Now I have no time, so just without them...

Revision history for this message
Psy[H[] (vovik-wfa) wrote :

Now with all upgraded drivers and dbg's and dependencies.
Screen flickers differently with new drivers, and error in acceleration initialization added.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Thanks. Actually I see that my test packages disable DRI, and maybe this avoids the crashing part. There are few code changes between my package (c359c2a3) and the new in Intrepid (f9826a56), I think the one that reenables DRI is http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/diff/src/radeon_driver.c?id=346228b20c69a965c9e7d67157f42c1d36a5b6c3

I think the important part of the log is this:
(EE) RADEON(0): ParseTable said: CD_INVALID_OPCODE

This should be reported upstream as quickly as possible. Would you be able to do it?

Changed in xserver-xorg-video-ati:
assignee: tormodvolden → nobody
status: Fix Committed → Confirmed
Revision history for this message
Psy[H[] (vovik-wfa) wrote :

Sorry, can't find where to report. Is it bugs.freedesktop.org?

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Yes, bugs.freedesktop.org (Product=xorg, Component=Driver/Radeon).

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

Hi Psyh,

We've recently updated the -ati driver to the latest git version, and suspect it may have fixed this issue.
Can you please test either by upgrading to latest or testing a daily live cd (from cdimage.ubuntu.com)?

Changed in xserver-xorg-video-ati:
status: Confirmed → Incomplete
Revision history for this message
Psy[H[] (vovik-wfa) wrote :

...I see only old version 1:6.9.0+git20081003.f9826a56-0ubuntu2 on Ubuntu Packages.

Revision history for this message
Psy[H[] (vovik-wfa) wrote :

Bad changes on RC. Even bulletproofx does not start, and radeonhd drivers are missing.

Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati:
status: Incomplete → Confirmed
Bryce Harrington (bryce)
description: updated
Revision history for this message
Bryce Harrington (bryce) wrote : Re: crashes on ati HD2400 in xf86CrtcSetMode+0x5da (CD_INVALID_OPCODE)

Hi Psy,

Are you able to reproduce this issue on Jaunty? If so, what we need is a detailed trace with debug symbols - see http://wiki.ubuntu.com/X/Backtracing for directions.

Changed in xserver-xorg-video-ati:
status: Confirmed → Incomplete
Revision history for this message
Psy[H[] (vovik-wfa) wrote :

On Jaunty Alpha 4 X starts normal, ati driver works.
...touchpad doesn't though.
But this bug seems to be fixed in Jaunty.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Thanks, closing.

Changed in xserver-xorg-video-ati:
status: Incomplete → Fix Released
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.