Xorg segfaults with the fglrx driver on some Shark Bay systems

Bug #1133684 reported by James M. Leddy
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
AMD
Fix Released
Undecided
Kim Naru
HWE Next
Won't Fix
Undecided
Alberto Milone
fglrx-installer (Ubuntu)
Triaged
Undecided
Alberto Milone
Nominated for Precise by James M. Leddy
Nominated for Quantal by James M. Leddy

Bug Description

After getting GreenScreen, we restart system and enter into OOBE. Sometimes, system will restart suddenly and pop the message likes attached picture up. In this case, system cannot enter into OS desktop smoothly.

Steps to Reproduce:
1. Install 12.04.2 64-bit on shark bay platform.
2. Boot
3. Xorg segfaults and the console message like attached picture appears.

Segfault backtrace:

[ 18.746] (==) fglrx(0): hotplug detection: "enabled"
[ 18.772] (EE)
[ 18.772] (EE) Backtrace:
[ 18.772] (EE) 0: /usr/bin/X (xorg_backtrace+0x34) [0x7ffd3b89a634]
[ 18.772] (EE) 1: /usr/bin/X (0x7ffd3b6e5000+0x1b9589) [0x7ffd3b89e589]
[ 18.772] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7ffd3aa0b000+0xfcb0) [0x7ffd3aa1acb0]
[ 18.772] (EE) 3: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/modules/drivers/fglrx_drv.so (xclIn32+0x0) [0x7ffd37c828c0]
[ 18.772] (EE) 4: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/modules/drivers/fglrx_drv.so (xilReadReg32_R600+0xe) [0x7ffd37e2f36e]
[ 18.772] (EE) 5: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/modules/drivers/fglrx_drv.so (xdl_xs113_atiddxPxScreenInit+0xa4) [0x7ffd37df5614]
[ 18.772] (EE) 6: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/modules/drivers/fglrx_drv.so (xdl_xs113_atiddxScreenInit+0xdb9) [0x7ffd37dd29e9]
[ 18.772] (EE) 7: /usr/bin/X (AddScreen+0x8a) [0x7ffd3b73a9fa]
[ 18.772] (EE) 8: /usr/bin/X (InitOutput+0x3f8) [0x7ffd3b77dd88]
[ 18.772] (EE) 9: /usr/bin/X (0x7ffd3b6e5000+0x43f5d) [0x7ffd3b728f5d]
[ 18.772] (EE) 10: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7ffd3969176d]
[ 18.773] (EE) 11: /usr/bin/X (0x7ffd3b6e5000+0x444b1) [0x7ffd3b7294b1]
[ 18.773] (EE)
[ 18.773] (EE) Segmentation fault at address 0x70180
[ 18.773]
Fatal server error:
[ 18.773] Caught signal 11 (Segmentation fault). Server aborting
[ 18.773]
[ 18.773] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[ 18.773] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 18.773] (EE)

tags: added: blocks-hwcert-enablement
Changed in fglrx-installer (Ubuntu):
assignee: nobody → Keng-Yu Lin (lexical)
Changed in amd:
assignee: nobody → Kim Naru (kim-naru)
Revision history for this message
Jammy Zhou (jammy-zhou) wrote :

James, which graphics driver are you using for this problem?

Revision history for this message
James M. Leddy (jm-leddy) wrote :

Hi Jammy, we're using version 12.100 of the driver.

Changed in amd:
status: New → Triaged
Changed in fglrx-installer (Ubuntu):
status: New → Triaged
Revision history for this message
Jammy Zhou (jammy-zhou) wrote :

Please try 12.10.14.2 or 12.102, this issue should have been fixed.

Revision history for this message
James M. Leddy (jm-leddy) wrote :

Thank you Jammy, we have confirmed the fix on our side.

Changed in amd:
status: Triaged → Fix Committed
summary: - Xorg segfaults with the fglrx driver on Shark Bay systems
+ Xorg segfaults with the fglrx driver on some Shark Bay systems
Changed in fglrx-installer (Ubuntu):
assignee: Keng-Yu Lin (lexical) → Alberto Milone (albertomilone)
Revision history for this message
Julian Alarcon (julian-alarcon) wrote :

Hi guys. I have the same error on Ubuntu 13.04, this is the last part of Xorg.0.l.og

-------------------

[ 25.563] (II) fglrx(0): [DRI2] DRI driver: i965
[ 25.563] (II) fglrx(0): direct rendering: DRI2 Enabled
[ 25.563] (WW) fglrx(0): Option "VendorName" is not used
[ 25.563] (WW) fglrx(0): Option "ModelName" is not used
[ 25.563] (WW) fglrx(0): Option "Shadow" is not used
[ 25.563] (WW) fglrx(0): Option "Tiling" is not used
[ 25.563] (WW) fglrx(0): Option "LinearFramebuffer" is not used
[ 25.563] (==) fglrx(0): hotplug detection: "enabled"
[ 25.563] (EE)
[ 25.563] (EE) Backtrace:
[ 25.572] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x7fa4cdf09fa6]
[ 25.572] (EE) 1: /usr/bin/X (0x7fa4cdd5a000+0x1b3de9) [0x7fa4cdf0dde9]
[ 25.572] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fa4cce61000+0xfbd0) [0x7fa4cce70bd0]
[ 25.572] (EE) 3: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so (xclIn32+0x0) [0x7fa4ca0b88c0]
[ 25.573] (EE) 4: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so (xilReadReg32_R600+0xe) [0x7fa4ca294e6e]
[ 25.573] (EE) 5: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so (xdl_xs113_atiddxPxScreenInit+0xa4) [0x7fa4ca25c7d4]
[ 25.573] (EE) 6: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so (xdl_xs113_atiddxScreenInit+0xce0) [0x7fa4ca239f90]
[ 25.573] (EE) 7: /usr/bin/X (AddScreen+0x85) [0x7fa4cddb2cd5]
[ 25.573] (EE) 8: /usr/bin/X (InitOutput+0x402) [0x7fa4cddf42d2]
[ 25.573] (EE) 9: /usr/bin/X (0x7fa4cdd5a000+0x47356) [0x7fa4cdda1356]
[ 25.573] (EE) 10: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7fa4cbaaeea5]
[ 25.573] (EE) 11: /usr/bin/X (0x7fa4cdd5a000+0x47891) [0x7fa4cdda1891]
[ 25.573] (EE)
[ 25.573] (EE) Segmentation fault at address 0x70180
[ 25.573]
Fatal server error:
[ 25.573] Caught signal 11 (Segmentation fault). Server aborting
[ 25.573]
[ 25.573] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[ 25.573] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 25.573] (EE)
[ 25.590] Server terminated with error (1). Closing log file.

---------------------

As you see , is almost the same, but I got this error when I try to use the ATI dedicated VGA.

darkhole@devolo:~$ sudo lspci|grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Whistler [AMD Radeon HD 6600M Series] (rev ff)
darkhole@devolo:~$

I was using fglrx-updates from official repo, version 2:9.010-0ubuntu5

Can you tell me form where can I download the version (12..102) that works for you?

Thanks!

Revision history for this message
Tonal (tonal-promsoft) wrote :

I also hawe this problem after upgrade to 13.04
$ sudo lspci|grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Seymour [Radeon HD 6400M/7400M Series]

I also try fglrx-installer-updates from PPA for Nick Andrik: https://launchpad.net/~andrikos/+archive/ppa
Bat not effect.

[ 38.990] (==) fglrx(0): hotplug detection: "enabled"
[ 38.990] (EE)
[ 38.990] (EE) Backtrace:
[ 39.076] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x7f02d4383476]
[ 39.076] (EE) 1: /usr/bin/X (0x7f02d41d3000+0x1b42b9) [0x7f02d43872b9]
[ 39.076] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f02d32d6000+0xfbd0) [0x7f02d32e5bd0]
[ 39.076] (EE) 3: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so (xclIn32+0x0) [0x7f02d030e8c0]
[ 39.076] (EE) 4: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so (xilReadReg32_R600+0xe) [0x7f02d04bb36e]
[ 39.076] (EE) 5: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so (xdl_xs113_atiddxPxScreenInit+0xa4) [0x7f02d0481614]
[ 39.076] (EE) 6: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so (xdl_xs113_atiddxScreenInit+0xdb9) [0x7f02d045e9e9]
[ 39.076] (EE) 7: /usr/bin/X (AddScreen+0x85) [0x7f02d422bd55]
[ 39.076] (EE) 8: /usr/bin/X (InitOutput+0x402) [0x7f02d426d662]
[ 39.077] (EE) 9: /usr/bin/X (0x7f02d41d3000+0x47386) [0x7f02d421a386]
[ 39.077] (EE) 10: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7f02d1f23ea5]
[ 39.077] (EE) 11: /usr/bin/X (0x7f02d41d3000+0x478c1) [0x7f02d421a8c1]
[ 39.077] (EE)
[ 39.077] (EE) Segmentation fault at address 0x70180
[ 39.077]
Fatal server error:
[ 39.077] Caught signal 11 (Segmentation fault). Server aborting

Changed in hwe-next:
assignee: nobody → Alberto Milone (albertomilone)
status: New → Triaged
Changed in hwe-next:
status: Triaged → Won't Fix
Changed in amd:
status: Fix Committed → 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.