Bug 95452

Summary: System freeze radeon 5770
Product: Mesa Reporter: F. Prage <freelancer.pro123>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact: Default DRI bug account <dri-devel>
Severity: critical    
Priority: medium CC: vedran
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: kern.log ubuntu 16.06
Xorg.0.log Ubuntu 16.04

Description F. Prage 2016-05-17 09:29:43 UTC
Freeze happens sometimes when playing video (but it's not necessary), generally once every day, I never got past 2-3 days, very unpredictable. Does not happen with fglrx driver, does not happen on windows.

Screen freezes, nothing works, not even the mouse as some other bugs have reported. If audio was playing, it gets stuck in a last second or so loop. I need to fully unplug the system to get it to even restart, power/reset buttons also don't work.

It didn't happen 3 or so years ago (it's an old card). I got hit by this but in Ubuntu, Gentoo and Arch, distribution doesn't seem to matter. I tried using a low power profile, didn't do anything.

I'm reporting this since distributions are moving away from fglrx I would need to replace the card if I can't get it to work, it didn't really bother me while the proprietary driver was still working.

I'm willing to try out patches, recompile kernels/mesa/whatever if I can get this to work. Any logs you need, if there's some "enable debug output" or anything.

lspci using fglrx driver:


01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Juniper XT [Radeon HD 5770] (prog-if 00 [VGA controller])
	Subsystem: Hightech Information System Ltd. Device 200b
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 33
	Region 0: Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Region 2: Memory at fbdc0000 (64-bit, non-prefetchable) [size=128K]
	Region 4: I/O ports at ee00 [size=256]
	[virtual] Expansion ROM at fbd00000 [disabled] [size=128K]
	Capabilities: [50] Power Management version 3
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
		DevCap:	MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
			ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
			MaxPayload 256 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 5GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us
			ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
		LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee0f00c  Data: 4143
	Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
		AERCap:	First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
	Kernel driver in use: fglrx_pci
	Kernel modules: radeon, fglrx
Comment 1 Vedran Miletić 2016-05-17 09:51:46 UTC
So, it used to work years ago... hmm, I know it's a long shot: can you bisect the kernel?
Comment 2 F. Prage 2016-05-17 10:27:47 UTC
If I could find a way to reproduce the problem fast, without waiting 1-3 days for each test it would be a lot easier. I'll start looking for a piece of software that reliably causes the freeze in a short period of time.
Comment 3 Vedran Miletić 2016-05-17 10:52:29 UTC
Fingers crossed. There will be many revisions to test (apparently), so thanks in advance for your effort.
Comment 4 F. Prage 2016-05-17 16:47:36 UTC
Created attachment 123836 [details]
kern.log ubuntu 16.06

freeze not logged, happened about 1 hour after log ends
Comment 5 F. Prage 2016-05-17 16:49:28 UTC
Created attachment 123837 [details]
Xorg.0.log Ubuntu 16.04

crashed while playing youtube fullscreen video in firefox
Comment 6 GitLab Migration User 2019-09-18 19:21:34 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/585.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.