1002:6779 xorg hangs randomly with Radeon HD 7450A [solved, root cause has been hardware bug]

Bug #1178846 reported by schaefi on 2013-05-10
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg (Fedora)
Invalid
Undecided
Unassigned
xserver-xorg-video-ati (Ubuntu)
Undecided
Unassigned

Bug Description

Bug:
Random freezes of xorg on freshly installed ubuntu 13.10.
There does not seem any pattern when this happens. Usually takes 10-20min.
There is no application running that requires special graphic ressources.
Requires hard reboot. Mouse and keyboard hang. <ctrl> + <alt> + F1 does not work. Interesting is that this happens also with ubuntu 12.10, ubuntu 12.04.02 LTS and fedora 18.

Hardware:
HP Envy TouchSmart AiO PC
- Intel Core i7 3770s
- 8 GB DDR3-1600
- Radeon HD 7450A
- Hard drive: 1 TB SATA
- exact technical spec:
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03683196&cc=ad&dlc=en&lc=en&jumpid=reg_r1002_usen_c-001_title_r0001#N1445

Further Info:
1. I ran "sudo dpkg-reconfigure xservers-xorg" to reconfigure the Xserver but this did not bring any change.
2. This sound like Bug #1077616 but I have a Radeon and not a Nvidia card.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: xorg 1:7.7+1ubuntu4
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
Uname: Linux 3.8.0-19-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Sat May 11 00:11:58 2013
DistUpgraded: Fresh install
DistroCodename: raring
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Advanced Micro Devices [AMD] nee ATI Caicos [Radeon HD 6450] [1002:6779] (prog-if 00 [VGA controller])
   Subsystem: Device [1b0a:90bb]
InstallationDate: Installed on 2013-05-10 (0 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MachineType: Hewlett-Packard 23-d160ez
MarkForUpload: True
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.8.0-19-generic root=UUID=82458db3-4d4d-4194-82d6-4fab38ea0825 ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/25/2012
dmi.bios.vendor: AMI
dmi.bios.version: 8.10
dmi.board.asset.tag: CZC30918C6
dmi.board.name: 2ADC
dmi.board.vendor: PEGATRON CORPORATION
dmi.board.version: 1.05
dmi.chassis.asset.tag: CZC30918C6
dmi.chassis.type: 3
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnAMI:bvr8.10:bd09/25/2012:svnHewlett-Packard:pn23-d160ez:pvr1.00:rvnPEGATRONCORPORATION:rn2ADC:rvr1.05:cvnHewlett-Packard:ct3:cvr:
dmi.product.name: 23-d160ez
dmi.product.version: 1.00
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.9~daily13.04.18.1~13.04-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.43-0ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.1.1-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.1.1-0ubuntu3
version.xserver-xorg-core: xserver-xorg-core 2:1.13.3-0ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2b2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.1.0-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.21.6-0ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.7-0ubuntu1
xserver.bootTime: Fri May 10 23:52:48 2013
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.13.3-0ubuntu6
xserver.video_driver: radeon

Description of problem:
Xorg freezes after the system is several minutes idle.

Hardware:
- HP envy 23
- Video graphics: Radeon HD 7450A
- Multi-touch enabled 58.42 cm (23 inch) diagonal widescreen full high-definition LED backlit display
- Details on:
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03683196&cc=ad&dlc=en&lc=en&jumpid=reg_r1002_usen_c-001_title_r0001#N1445

Version-Release number of selected component (if applicable):
Freeze occures in base installation of Fedora 18 as well as in updated version of Fedora 18 on the 03.04.13

How reproducible:
Always reproducible. System freezes after some minutes idle.
After being frozen, Strg + Alt + F1 does not lead to a new shell and the system needs to be rebooted by switching of power.

Additional info:
The bug could be a duplicate of
https://bugzilla.redhat.com/show_bug.cgi?id=928549

Created attachment 731759
/var/log/Yorg.0.log

Created attachment 731760
su -c 'lspci -nn' > lspci.log

Created attachment 731761
/var/log/dgm/:0.log.4

nodejs-oauth-sign-0.2.0-1.fc18,nodejs-tunnel-agent-0.2.0-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/nodejs-oauth-sign-0.2.0-1.fc18,nodejs-tunnel-agent-0.2.0-1.fc18

nodejs-json-stringify-safe-4.0.0-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/nodejs-json-stringify-safe-4.0.0-2.fc19

nodejs-json-stringify-safe-4.0.0-2.fc19, nodejs-aws-sign-0.2.0-1.fc19, nodejs-oauth-sign-0.2.0-1.fc19, nodejs-tunnel-agent-0.2.0-1.fc19, nodejs-tobi-cookie-0.2.0-1.fc19, nodejs-npm-registry-client-0.2.20-1.fc19, nodejs-tar-0.1.17-1.fc19, nodejs-lru-cache-2.3.0-1.fc19, node-gyp-0.9.5-1.fc19, npm-1.2.17-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/FEDORA-2013-4914/nodejs-tobi-cookie-0.2.0-1.fc19,nodejs-npm-registry-client-0.2.20-1.fc19,nodejs-tar-0.1.17-1.fc19,nodejs-lru-cache-2.3.0-1.fc19,node-gyp-0.9.5-1.fc19,npm-1.2.17-1.fc19,nodejs-json-stringify-safe-4.0.0-2.fc19,nodejs-aws-sign-0.2.0-1.fc19,nodejs-oauth-sign-0.2.0-1.fc19,nodejs-tunnel-agent-0.2.0-1.fc19

Sorry for the noise, I accidentally fat-fingered the bug number in an related Bodhi update.

(In reply to comment #7)
> Sorry for the noise, I accidentally fat-fingered the bug number in an
> related Bodhi update.

Hi T.C.

I did not quite understand your comment. Are all comments 4, 5, and 6 nto relevant or is comment 4 (Fedora 18) ok?
Should I update the mentioned packages?

Please let me know, because I desperately look for an answer and my system still freezes regurlarly.

Here some additional information on this bug:

1. The same machine works ok on Windows 8
This means that it pretty sure, that this is not a hardware issue

2. The same machine has similar problems with ubuntu:
- ubuntu 12.04.02 LTS Live hangs always at starting up X and never gets to the first "end-user-screen"
- ubuntu 12.10 Live boots correctly and the system can be installed. However also some very similar freezes occure.
I therefore suspect that the source of the bug is in a code that is shared between ubuntu and fedora.

3. Fedora 18 stops to be pingable from the moment that the freeze occures.
I therefore suspect, that this is probably not (only) Xorg that freezes but something else of the system.

4. Updating fedora 18 to the newest code does not help. The freeze still occures.

5. Changing drivers in feroda 18 from vesa to amd catalyst does not help. The freeze still occures.
This indicates that it is not an issue related to the graphics driver.

6. Monitoring of fedora 18 does not give any indication on the reason of the freeze: CPU is low and network activities are low up to the moment of freeze.
This indicated that there it no process going wild and eating up the system ressources.

7. Further logfile: Logging at /var/log/messages does not show anything unusual.

I would appreciate very much if somebody could give me some help to fix this problem. Any suggestions on how to debug, on which logs to look or what to do are very welcome?

schaefi (info-e) wrote :
schaefi (info-e) on 2013-05-10
description: updated
schaefi (info-e) wrote :
schaefi (info-e) wrote :
summary: - xorg hangs randomly with Radeon HD 7450A
+ 1002:6779 xorg hangs randomly with Radeon HD 7450A
tags: added: precise quantal

schaefi, as per http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=5359725&prodTypeId=12454&prodSeriesId=5330735&swLang=8&taskId=135&swEnvOID=4060 an update is available for your BIOS (7.09 Rev. A). Could you please update to this and advise if anything changes?

Once updated, could you please provide the output of the following terminal command:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date

Thank you for your understanding.

Changed in xorg (Ubuntu):
status: New → Incomplete
schaefi (info-e) wrote :

Here some additional information

1. Bios Versions:
Running this on the current (old, without BIOS updates) system gives:

sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
8,10
09/25/12

2. Information with ARandR
Installing ARandR shows the system automatic configuration:
Output: DisplayPort-1
Resolution: 1920x1080

It seems that by lowering the resolution to e.g. 1680 x 1050 xorg takes much longer to freeze

3. Attempt with fglrx-amdcccle
Installing fglrx-amdcccle leads the system to chose another automatic configuration
Output: DFP1
Resolution: 1920x1080

In the lower right side of the windows appears a message with "AMD unsupported hardware.
xorg freezes quite quickly.

schaefi (info-e) wrote :

Hi Christopher,

I am not quite sure if you have mixed up the models. Mine is a HP envy 23 160ez.
I looked myself for updates under this link:
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=5359725&prodTypeId=12454&prodSeriesId=5330735&swLang=8&taskId=135&swEnvOID=4132

There is no BIOS update.
The updates on graphics driver are only relevant for Windows 8 and not for Linux.
So there is nothing to do.

If I have understood something wrong, please let me know.
I very much appreciate your help.

schaefi, thank you for your response. Regarding it https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1178846/comments/6 :
>"Hi Christopher, I am not quite sure if you have mixed up the models. Mine is a HP envy 23 160ez."

As per your Bug Description it notes:
dmi.product.name: 23-d160ez

What does the sticker on your computer say your model is?

>"I looked myself for updates under this link: http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=5359725&prodTypeId=12454&prodSeriesId=5330735&swLang=8&taskId=135&swEnvOID=4132 There is no BIOS update."

This depends on when you bought your computer, did it initially come with Windows 8, Windows 7, or something else?

Thank you for your understanding.

schaefi (info-e) wrote :

Hi Christopher,

the exact computer product name is "HP ENVY 23-d160ez". Thats what the sticker on the computer and the bill say.

The computer came with Windows 8 OEM 64bit. All updates are (as already described) in:
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=5359725&prodTypeId=12454&prodSeriesId=5330735&swLang=8&taskId=135&swEnvOID=4132

A BIOS upgrade is not available at this point of time.

Thanks for your reply! Further ideas and questions are very welcome ...

schaefi (info-e) wrote :

Here some more information

1. Attempt to change refresh rate
Show the output configuration:

sudo xrandr

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm
   1920x1080 60.0*+
   1600x1200 60.0
   1680x1050 59.9
   1600x900 60.0
   1280x1024 60.0
   1440x900 59.9
   1280x720 60.0
   1024x768 60.0
   800x600 60.3
   640x480 60.0
   720x400 70.1
DisplayPort-1 disconnected (normal left inverted right x axis y axis)

Trying to change the refresh rate does not work

sudo xrandr --output DisplayPort-1 --mode 1920x1080 --rate 50

xrandr: cannot find mode 1920x1080

Anybody has an idea how I can change the refresh rate manually (or a manual xorg.conf should look like)?

2. Mesa
Show the actual state of mesa:

sudo dpkg -l | grep mesa

ii libegl1-mesa:amd64 9.1.1-0ubuntu3 amd64 free implementation of the EGL API -- runtime
ii libegl1-mesa-drivers:amd64 9.1.1-0ubuntu3 amd64 free implementation of the EGL API -- hardware drivers
ii libgl1-mesa-dri:amd64 9.1.1-0ubuntu3 amd64 free implementation of the OpenGL API -- DRI modules
ii libgl1-mesa-glx:amd64 9.1.1-0ubuntu3 amd64 free implementation of the OpenGL API -- GLX runtime
ii libglapi-mesa:amd64 9.1.1-0ubuntu3 amd64 free implementation of the GL API -- shared library
ii libgles2-mesa:amd64 9.1.1-0ubuntu3 amd64 free implementation of the OpenGL|ES 2.x API -- runtime
ii libglu1-mesa:amd64 9.0.0-0ubuntu1 amd64 Mesa OpenGL utility library (GLU)
ii libopenvg1-mesa:amd64 9.1.1-0ubuntu3 amd64 free implementation of the OpenVG API -- runtime

Show available versions:
(install apt-get-versions by: sudo apt-get install apt-show-versions)

apt-show-versions -p libegl1-mesa
libegl1-mesa/raring uptodate 9.1.1-0ubuntu3

looks like everything is up-to-date

One month passed and nobody has any suggestions...
What a pitty!

Ok lets give a reward and motivate the developers

      I WILL REWARD THE ONE WHO FIXES THIS BUG FOR ME WILL RECEIVE 50,- EURO

Lets see if there is some response...

P.S. The same bug seems to happen with ubuntu 13.10:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1178846

schaefi (info-e) wrote :

This is the message log with the additional boot parameters:
drm.debug=14 log_buf_len=16M

This file is taken before the freeze (so this shows the actual config etc. but not the bug in the moment it occurs)

schaefi (info-e) wrote :

In a next attempt I install the proprietary AMD Radeon Drivers following the manual at:
http://wiki.cchtml.com/index.php/Ubuntu_Raring_Installation_Guide

1. Preparation

sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases linux-headers-generic fakeroot libqtgui4 devscripts

sudo apt-get install lib32gcc1

2. Download Drivers
Download Radeon HD 7450A Drivers
Release Notes:
http://support.amd.com/us/kbarticles/Pages/amdcatalyst13-4linreleasenotes.aspx
Download
http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx?type=2.4.1&product=2.4.1.3.42&lang=English

3. Unpackage

unzip amd-catalyst-13.4-linux-x86.x86_64.zip

chmod +x amd-catalyst-13.4-linux-x86.x86_64.run

4. Create and install .deb packages

sudo ./amd-catalyst-13.4-linux-x86.x86_64.run --buildpkg Ubuntu/raring

sudo dpkg -i fglrx*.deb

-> Then reboot

5. Test

fglrxinfo
-> gives all info

fgl_glxgears
-> works perfectly

6. But!!
After a few minutes the system freezes/hangs again with exactly the same symptoms as before.
I am starting to get desperate ...

Anybody has an idea how to interprete this? Does this mean that xorg is not the problem and I have to look somewhere else?
Any comment is strongly appreciated!

schaefi (info-e) wrote :

Desperate as I am:

                          I WILL REWARD THE ONE WHO FIXES THIS BUG FOR ME WITH 50,- EURO!

Changed in xorg (Ubuntu):
status: Incomplete → New
bugbot (bugbot) on 2013-05-16
affects: xorg (Ubuntu) → xserver-xorg-video-ati (Ubuntu)
bugbot (bugbot) on 2013-05-16
tags: added: freeze
schaefi (info-e) wrote :

Here some more information:

(just for info: I went back to the orignal, open ubuntu drivers for the Radeon HD 7450A card replacing the AMD proprietary driver.Allthough this does not seem to have an effect on the bug)

1. Disabling PCI Devices:
I disabled the PCI-devices: Web Camand Wireless Ethernet:

echo 1 > /sys/bus/pci/device/$N/remove
... where $N is the slot you get listed with "lspci"

The system still hangs (disabling other PCI-devices too would probably exclude further sources of bugs, but I am unsure
what else I could disable)

2. Disabling Input Devices
I disabled the Touch screen with:

xinput set-prop ID 'Device Enabled' 0
.... where ID is the device numer you get listed with "xinput list"

The system still hangs (disabling other input-devices too would probably exclude further sources of bugs, but I am unsure
what else I could disable)

schaefi (info-e) wrote :

Another idea:

Alltough this is not a dublicate, there is a possibility that the source of the bug is the same:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/1077616

Hi everybody,

I got the hardware back from the HP support. The support confirmed that there has been a hardware bug in the motherboard of the system.

The motherboard has been exchanged. I have now installed Fedora-19-Mate and everything works ok.

Hence this has definetly not been a Fedora or Linux bug. This bug can be closed.

By the way: The support by HP has been very helpful allthough the bug appeared in Linux and this is offically not supported

Thanks for everybody for the support!!!

Hopefully the debug strategy helps to at least for other people to trace down their bugs.

*** This bug has been marked as a duplicate of bug 964443 ***

schaefi (info-e) wrote :

Hi everybody,

I got the hardware back from the HP support. The support confirmed that there has been a hardware bug in the motherboard of the system.

The motherboard has been exchanged. I have now installed Fedora-19-Mate and everything works ok.

Hence this is most probably not been a Ubuntu or Linux bug. This bug can be closed.

By the way: The support by HP has been very helpful allthough the bug appeared in Linux and this is offically not supported

Thanks for everybody for the support!!!

Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Fix Released
summary: - 1002:6779 xorg hangs randomly with Radeon HD 7450A
+ 1002:6779 xorg hangs randomly with Radeon HD 7450A [solved, root cause
+ has been hardware bug]
Changed in xorg (Fedora):
importance: Unknown → High
status: Unknown → Invalid
Changed in xorg (Fedora):
importance: High → Undecided
status: Invalid → New
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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