Bug 66651

Summary: RV730: Screen flicker with radeon.dpm=1
Product: DRI Reporter: Thomas <tball>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: nicolas.gquerol
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Dmesg
none
dmesg none

Description Thomas 2013-07-06 20:08:12 UTC
Created attachment 82126 [details]
Dmesg

Hello

I am testing the new dpm code on my RV730 card:
$ lspci -v
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV730/M96 [Mobility Radeon HD 4650/5165] (prog-if 00 [VGA controller])
	Subsystem: COMPAL Electronics Inc Device 003e
	Flags: bus master, fast devsel, latency 0, IRQ 50
	Memory at d0000000 (32-bit, prefetchable) [size=256M]
	I/O ports at 2000 [size=256]
	Memory at cfef0000 (32-bit, non-prefetchable) [size=64K]
	[virtual] Expansion ROM at cfe00000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon

The screen constantly flickers, everytime I interact with the computer like moving the mouse og touching the keyboard. If I don't interact the computer, the flickering is alot less. If I boot without radeon.dpm=1, the flicker dissapears.

The flickering is best descripted as if the screen is jumping up and down very fast.

Using the latest ucode for my card:
- R700_rlc.bin
- RV730_smc.bin
- RV730_pfp.bin

Using Xorg edgers in Ubuntu 13.04.

Using Ubuntu drm-next kernel:
http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-next/2013-07-04-saucy/
Git: 69163ea82732894e8c1e17df4010372ed078efdd

Attached dmesg, but there is no errors to be seen.
Comment 1 Nicolas G. Querol 2013-07-07 20:45:35 UTC
Created attachment 82151 [details]
dmesg
Comment 2 Nicolas G. Querol 2013-07-07 20:46:44 UTC
I have the exact same problem, with the following (mobile) GPU:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV730/M96-XT [Mobility Radeon HD 4670] (prog-if 00 [VGA controller])
	Subsystem: Dell Device 0272
	Flags: bus master, fast devsel, latency 0, IRQ 45
	Memory at d0000000 (32-bit, prefetchable) [size=256M]
	I/O ports at 2000 [size=256]
	Memory at cfef0000 (32-bit, non-prefetchable) [size=64K]
	[virtual] Expansion ROM at cfe00000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
	Kernel modules: radeon

I am using the latest 3.10 kernel, compiled with the latest patches from here: http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.11.
And also the latest firmware available.

I attached the output of "dmesg | grep radeon" on my machine.
Comment 4 Nicolas G. Querol 2013-07-09 02:00:06 UTC
I can confirm that solved the problem on my side. Thank you very much!
Comment 5 Christian König 2013-07-09 07:50:22 UTC
Sounds like we can close this bug.
Comment 6 Thomas 2013-07-09 17:29:20 UTC
It works!
Thanks so much for a fast response.

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.