[clarkdale] Xorg freeze with 3d game or screensaver

Bug #560433 reported by Yuroker
50
This bug affects 7 people
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: xorg

Hello, dear developers.
I've got the next bug. In both Ubuntu versions 9.10 and 10.04 i use Core i3 + Intel H57 with integrated Graphics card.
My system freezes sometimes, I tracked only one condition (when I'm playing 3d or 2d game) but there were some others, not even connected with 3d (surfing e.g.) when it freezes, I still can connect to my computer through the ssh, and http server on it is still working, but screen, and mouse, and KB, and everything on the screen is frozen.
I was trying "service gdm stop" - kinda killed process, but no any changes on the screen, chrt 1 - no respond, should use ctrl+c, and still no effect to the screen. That's all.

I have new hardware, can you explain is this only ubuntu's bug? or it's better for me to change my HW? Maybe any solutions..?

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xorg 1:7.5+5ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic x86_64
Architecture: amd64
CurrentDmesg: [ 20.718797] eth0: no IPv6 routers present
Date: Sun Apr 11 04:05:14 2010
DkmsStatus: Error: [Errno 2] No such file or directory
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100406.1)
MachineType: System manufacturer System Product Name
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-19-generic root=UUID=ef8fc1d9-d621-425c-a11d-0c58f0f6d899 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
dmi.bios.date: 03/23/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0705
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P7H57D-V EVO
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0705:bd03/23/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP7H57D-VEVO:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: lucid
 architecture: x86_64
 kernel: 2.6.32-19-generic

[lspci]
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0042] (rev 12)
     Subsystem: ASUSTeK Computer Inc. Device [1043:8383]

Revision history for this message
Yuroker (yurokle) wrote :
Bryce Harrington (bryce)
Changed in xorg (Ubuntu):
status: New → Confirmed
Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Geir Ove Myhr (gomyhr)
tags: added: clarkdale
summary: - Xorg freeze
+ [clarkdale] Xorg freeze
Revision history for this message
Ivan A. Kosarev (ik-unicals) wrote : Re: [clarkdale] Xorg freeze

I experience exactly the same on Ubuntu 9.10 with the Core i3 540 processor on the P7H55-M PRO motherboard -- all are new, recently bought parts.

I can confirm that it looks so that only the interface things freeze. One time such a freeze happened during a copying of a large amount of files. Despite I wasn't able to get reaction from my keyboard (not even from the Ctrl+Alt+Backspace or Ctrl+Alt+Del), mouse or anything, I saw that the HD activity led continues to flick just like during the copying. After reboot I found that all the files were copied successfully so I think the base parts of the system continue to work correctly.

A weird and annoying bug that prevents from using Ubuntu.

Revision history for this message
Ivan A. Kosarev (ik-unicals) wrote :

A couple of things to add:
1) Disabling of one of the cores in BIOS doesn't help.
2) No peripheral cards inserted to the motherboard -- only the processor, memory and motherboard installed.

Revision history for this message
Ivan A. Kosarev (ik-unicals) wrote :

Seems like disabling the visual effects (in the Appearance Preferences window) makes the system stable so it's most likely that the issue relates to how Ubuntu utilises 3D facilities of the core.

Could anyone please confirm that:
1) The issue only appear with ASUS motherboards and
2) Disabling the visual effects frees the system from the freezes?

Thanks.

Revision history for this message
Lars E. (larse) wrote :

1) nope, same here on an Intel® DH57JG and a Zotac H55-ITX board.
2) right.

Revision history for this message
FreeMinded (pascal-planetmages) wrote :

I have been using a brandnew Gigabyte GA-H57M-USB3, Intel H57, LGA1156, mATX Board with a Intel Core i5 660, 3.3 GHz. So far (2 weeks) I haven't had any issues with it. I use dual screen and desktop effects. Maybe I have just be happy so far.

Revision history for this message
Ivan A. Kosarev (ik-unicals) wrote :

Lars,
Can you tell what memory modules you use and whether you tried to change them in order to solve the problem?

FreeMinded,
Same question--can you please name the memory modules you use?

Thank you.

Revision history for this message
FreeMinded (pascal-planetmages) wrote :

My Memory Modules: G.Skill Ripjaws 2x2GB Kit, DDR3-1333, CL7-7-7-21

Revision history for this message
FreeMinded (pascal-planetmages) wrote :

BTW: I'm using Kubuntu 10.04. Maybe the problem is in Compiz. This would explain why I'm not affected as I use kwin.

Revision history for this message
Lars E. (larse) wrote :

G.Skill DIMM 4 GB DDR3-1333 Kit (F3-10666CL9D-4GBRL) CL9 9-9-24

I did not try to change them.

Revision history for this message
Lars E. (larse) wrote :

I installed the latest drm-intel-next kernel (linux-image-2.6.34-997)
http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-next/
Testing it some hours now and I does not have a freeze anymore.

Revision history for this message
Matt Hanyok (matthew-hanyok) wrote :

I've seen the occasional freeze since assembling a Clarkdale system - Core i3-530, Intel DH57JG, 2x2GB G.Skill ECO 1.35 DDR3 memory - and I've noticed that it doesn't seem to apply the visual effects I select, either.

I figured this was a deficiency in the older driver that shipped with 10.4, so I hooked up to the xorg-edgers PPA and ran an update. Problem still existed as of about 20 minutes ago. Haven't yet tried the kernel that Lars just linked, though disabling the effects entirely does seem to prevent it from happening (at least, I've never had it happen with them disabled).

Revision history for this message
Lars E. (larse) wrote :

I installed also the final 2.6.34 (not the drm-intel-next version). This version works fine too.
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/

Upgrading to the newest intel driver 2.11 and libdrm will not fix this issue. I tried this also.

Revision history for this message
Matt Hanyok (matthew-hanyok) wrote :

Can the updated intel-relevant code from the newer kernel be backported into Lucid's to fix this? Or are we looking at a situation where the only solution is using a newer kernel (eg, disabling desktop effects and waiting for 10.10 to release)?

Revision history for this message
Marcello Romani (marcello-romani) wrote :

I have seen this bug several times on a brand new Core i3 540 HP system.

I see messages like these in the dmesg log:

[239983.083606] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[239983.083616] render error detected, EIR: 0x00000000
[239983.083639] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -5 (awaiting 64239677 at 64239676)

When the GPU "hangs" I can still CTRL-ALT-F1 and login. Sometimes a simple service gdm restart is enough to get me back to work, sometimes I have to hard-reset the machine.

DIM data about the machine follows:

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: Hewlett-Packard
        Product Name: HP Elite 7100 Microtower PC
        Version: xxx0204GRxxxxxxxx0
        Serial Number: CZC0366WYL
        UUID: 7885EB66-DABC-DF11-BC09-BDEB2F91D1F8
        Wake-up Type: Power Switch
        SKU Number: WU394EA#ABZ
        Family: 103C_53307F

CPU: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz
RAM: 2x2GB modules.
OS: Ubuntu 10.04 x64.
Using CPU's integrated graphic processor.

Revision history for this message
Joshua (moorevineyard) wrote :

I'm also seeing the freeze and the errors posted by Marcello Romani.

I have Intel DH57JG board with i5 650 processor. Nothing else on the board (using the integrated graphics).

Using Ubuntu 10.10 and 2.6.35-28-generic.

This issue progressed for me to the point where it would occur very frequently and even when only booted into BIOS. Intel suspected a board problem and replaced it but I'm still seeing the issue, though not as frequently with the new board. I've only had the replacement about a month so time will tell if the performance degrades again. I may also looking into trying a different processor.

Revision history for this message
Marcello Romani (marcello-romani) wrote :

Disabled desktop 3d effects. Let's see how it behaves.

Revision history for this message
Marcello Romani (marcello-romani) wrote :

No more lockups until now. Maybe it's too early to make conclusions, but before disabling 3d desktop effects the gpu freezes happened almost daily. Will report back in case of further problems.

bugbot (bugbot)
description: updated
Revision history for this message
Marcello Romani (marcello-romani) wrote :

No more lockups since disabling 3d effects.

Revision history for this message
Marcello Romani (marcello-romani) wrote :

I spoke too early. Just rebooted the machine: Xorg was continuously restarting.

Revision history for this message
Marcello Romani (marcello-romani) wrote :
Revision history for this message
Marcello Romani (marcello-romani) wrote :
Revision history for this message
Marcello Romani (marcello-romani) wrote :
Revision history for this message
Marcello Romani (marcello-romani) wrote :

2011-05-16: dmesg shows thousands of messages like these:

[ 5617.882570] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[ 5617.882578] render error detected, EIR: 0x00000000
[ 5617.882647] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -5 (awaiting 410952 at 405881)
[ 5618.630950] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[ 5618.630957] render error detected, EIR: 0x00000000
[ 5618.630977] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -5 (awaiting 410954 at 405881)

once a day (sometimes twice a day).
A gdm restart is not sufficient. I have to reboot the machine.
Console login (via ssh) works ok.
The machine is fully updated.

Revision history for this message
Marcello Romani (marcello-romani) wrote :

Seems the 3d screensaver was to blame. After configuring the system to not launch any screensaver but just put the monitor to sleep the system didn't show the problem anymore.

My guess is there is a bug in the video driver that shows when the 3d section of the video card is used.

Revision history for this message
Harry Sufehmi (harry-sufehmi) wrote :

"My guess is there is a bug in the video driver that shows when the 3d section of the video card is used."

Yup, you are 100% correct there.

I've forgotten about this bug - until you commented & I got the notification about it. I suffered from similar problem to you. But I managed to resolve it by installing the xorg-edgers PPA :

https://launchpad.net/~xorg-edgers

You might wish to try the driver first : https://launchpad.net/~xorg-edgers/+archive/drivers-only

(I went for the whole setup though - Acer laptop here with Intel i915 chip)

Another safer bet compared to the whole xorg-edgers is probably the Ubuntu-X PPA : https://launchpad.net/~ubuntu-x-swat/+archive/x-updates

Hope it helps someone else. Good luck.

Revision history for this message
Marcello Romani (marcello-romani) wrote :

Thanks Harry (#26). I hope I'll have the time to test the PPAs you mentioned (the system is in use by another person...).

Bryce Harrington (bryce)
affects: xserver-xorg-video-intel (Ubuntu) → mesa (Ubuntu)
summary: - [clarkdale] Xorg freeze
+ [clarkdale] Xorg freeze with 3d game or screensaver
Revision history for this message
penalvch (penalvch) wrote :

Yuroker, thank you for reporting this and helping make Ubuntu better.

As per https://wiki.ubuntu.com/Releases, Lucid Desktop reached EOL on May 9, 2013.

Is this reproducible on a supported release?

tags: added: bios-outdated-1903
Changed in mesa (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mesa (Ubuntu) because there has been no activity for 60 days.]

Changed in mesa (Ubuntu):
status: Incomplete → Expired
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.