Bug 82919

Summary: Screen flickers when playing video.
Product: Mesa Reporter: Apostolos B. <barz621>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: 10.2   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Xorg.0.log
dmesg

Description Apostolos B. 2014-08-21 19:49:04 UTC
Created attachment 105059 [details]
Xorg.0.log

With HW acceleration enabled on the r600 driver using gstreamer gst-vaapi the screen flickers when the uvd changes its power state. This happens when you play a video on firefox (youtube, vimeo vine etc.) or with vlc. It flickers upon starting/ stopping and then a few more times. The monitor is connected with DP in case it matters.

glxinfo:
glxinfo | grep -i opengl
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD BARTS
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.2.5
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.2.5
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.2.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
OpenGL ES profile extensions:


This is what happens when you start youtube play one video and stop it. 

journal: journalctl -f
-- Logs begin at Mon 2013-04-22 10:20:09 EEST. --
Aug 21 22:41:16 mainland kernel:         status: c 
Aug 21 22:41:16 mainland kernel: switching to power state:
Aug 21 22:41:16 mainland kernel:         ui class: performance
Aug 21 22:41:16 mainland kernel:         internal class: none
Aug 21 22:41:16 mainland kernel:         caps: 
Aug 21 22:41:16 mainland kernel:         uvd    vclk: 0 dclk: 0
Aug 21 22:41:16 mainland kernel:                 power level 0    sclk: 10000 mclk: 15000 vddc: 950 vddci: 950
Aug 21 22:41:16 mainland kernel:                 power level 1    sclk: 60000 mclk: 100000 vddc: 1100 vddci: 1100
Aug 21 22:41:16 mainland kernel:                 power level 2    sclk: 77500 mclk: 100000 vddc: 1150 vddci: 1100
Aug 21 22:41:16 mainland kernel:         status: r 
Aug 21 22:42:42 mainland kernel: switching from power state:
Aug 21 22:42:42 mainland kernel:         ui class: performance
Aug 21 22:42:42 mainland kernel:         internal class: none
Aug 21 22:42:42 mainland kernel:         caps: 
Aug 21 22:42:42 mainland kernel:         uvd    vclk: 0 dclk: 0
Aug 21 22:42:42 mainland kernel:                 power level 0    sclk: 10000 mclk: 15000 vddc: 950 vddci: 950
Aug 21 22:42:42 mainland kernel:                 power level 1    sclk: 60000 mclk: 100000 vddc: 1100 vddci: 1100
Aug 21 22:42:42 mainland kernel:                 power level 2    sclk: 77500 mclk: 100000 vddc: 1150 vddci: 1100
Aug 21 22:42:42 mainland kernel:         status: c 
Aug 21 22:42:42 mainland kernel: switching to power state:
Aug 21 22:42:42 mainland kernel:         ui class: none
Aug 21 22:42:42 mainland kernel:         internal class: uvd 
Aug 21 22:42:42 mainland kernel:         caps: video 
Aug 21 22:42:42 mainland kernel:         uvd    vclk: 54000 dclk: 40000
Aug 21 22:42:42 mainland kernel:                 power level 0    sclk: 30000 mclk: 100000 vddc: 950 vddci: 1100
Aug 21 22:42:42 mainland kernel:                 power level 1    sclk: 30000 mclk: 100000 vddc: 950 vddci: 1100
Aug 21 22:42:42 mainland kernel:                 power level 2    sclk: 77500 mclk: 100000 vddc: 1150 vddci: 1100
Aug 21 22:42:42 mainland kernel:         status: r 
Aug 21 22:42:53 mainland kernel: switching from power state:
Aug 21 22:42:53 mainland kernel:         ui class: none
Aug 21 22:42:53 mainland kernel:         internal class: uvd 
Aug 21 22:42:53 mainland kernel:         caps: video 
Aug 21 22:42:53 mainland kernel:         uvd    vclk: 54000 dclk: 40000
Aug 21 22:42:53 mainland kernel:                 power level 0    sclk: 30000 mclk: 100000 vddc: 950 vddci: 1100
Aug 21 22:42:53 mainland kernel:                 power level 1    sclk: 30000 mclk: 100000 vddc: 950 vddci: 1100
Aug 21 22:42:53 mainland kernel:                 power level 2    sclk: 77500 mclk: 100000 vddc: 1150 vddci: 1100
Aug 21 22:42:53 mainland kernel:         status: c 
Aug 21 22:42:53 mainland kernel: switching to power state:
Aug 21 22:42:53 mainland kernel:         ui class: performance
Aug 21 22:42:53 mainland kernel:         internal class: none
Aug 21 22:42:53 mainland kernel:         caps: 
Aug 21 22:42:53 mainland kernel:         uvd    vclk: 0 dclk: 0
Aug 21 22:42:53 mainland kernel:                 power level 0    sclk: 10000 mclk: 15000 vddc: 950 vddci: 950
Aug 21 22:42:53 mainland kernel:                 power level 1    sclk: 60000 mclk: 100000 vddc: 1100 vddci: 1100
Aug 21 22:42:53 mainland kernel:                 power level 2    sclk: 77500 mclk: 100000 vddc: 1150 vddci: 1100
Aug 21 22:42:53 mainland kernel:         status: r 
Aug 21 22:43:00 mainland kernel: switching from power state:
Aug 21 22:43:00 mainland kernel:         ui class: performance
Aug 21 22:43:00 mainland kernel:         internal class: none
Aug 21 22:43:00 mainland kernel:         caps: 
Aug 21 22:43:00 mainland kernel:         uvd    vclk: 0 dclk: 0
Aug 21 22:43:00 mainland kernel:                 power level 0    sclk: 10000 mclk: 15000 vddc: 950 vddci: 950
Aug 21 22:43:00 mainland kernel:                 power level 1    sclk: 60000 mclk: 100000 vddc: 1100 vddci: 1100
Aug 21 22:43:00 mainland kernel:                 power level 2    sclk: 77500 mclk: 100000 vddc: 1150 vddci: 1100
Aug 21 22:43:00 mainland kernel:         status: c 
Aug 21 22:43:00 mainland kernel: switching to power state:
Aug 21 22:43:00 mainland kernel:         ui class: none
Aug 21 22:43:00 mainland kernel:         internal class: uvd 
Aug 21 22:43:00 mainland kernel:         caps: video 
Aug 21 22:43:00 mainland kernel:         uvd    vclk: 54000 dclk: 40000
Aug 21 22:43:00 mainland kernel:                 power level 0    sclk: 30000 mclk: 100000 vddc: 950 vddci: 1100
Aug 21 22:43:00 mainland kernel:                 power level 1    sclk: 30000 mclk: 100000 vddc: 950 vddci: 1100
Aug 21 22:43:00 mainland kernel:                 power level 2    sclk: 77500 mclk: 100000 vddc: 1150 vddci: 1100
Aug 21 22:43:00 mainland kernel:         status: r 
Aug 21 22:43:02 mainland kernel: switching from power state:
Aug 21 22:43:02 mainland kernel:         ui class: none
Aug 21 22:43:02 mainland kernel:         internal class: uvd 
Aug 21 22:43:02 mainland kernel:         caps: video 
Aug 21 22:43:02 mainland kernel:         uvd    vclk: 54000 dclk: 40000
Aug 21 22:43:02 mainland kernel:                 power level 0    sclk: 30000 mclk: 100000 vddc: 950 vddci: 1100
Aug 21 22:43:02 mainland kernel:                 power level 1    sclk: 30000 mclk: 100000 vddc: 950 vddci: 1100
Aug 21 22:43:02 mainland kernel:                 power level 2    sclk: 77500 mclk: 100000 vddc: 1150 vddci: 1100
Aug 21 22:43:02 mainland kernel:         status: c 
Aug 21 22:43:02 mainland kernel: switching to power state:
Aug 21 22:43:02 mainland kernel:         ui class: performance
Aug 21 22:43:02 mainland kernel:         internal class: none
Aug 21 22:43:02 mainland kernel:         caps: 
Aug 21 22:43:02 mainland kernel:         uvd    vclk: 0 dclk: 0
Aug 21 22:43:02 mainland kernel:                 power level 0    sclk: 10000 mclk: 15000 vddc: 950 vddci: 950
Aug 21 22:43:02 mainland kernel:                 power level 1    sclk: 60000 mclk: 100000 vddc: 1100 vddci: 1100
Aug 21 22:43:02 mainland kernel:                 power level 2    sclk: 77500 mclk: 100000 vddc: 1150 vddci: 1100
Aug 21 22:43:02 mainland kernel:         status: r
Comment 1 Alex Deucher 2014-08-21 19:53:53 UTC
Please attach your full dmesg output from boot.
Comment 2 Apostolos B. 2014-08-21 20:21:37 UTC
Created attachment 105061 [details]
dmesg
Comment 3 GitLab Migration User 2019-09-18 19:16:56 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/520.

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.