* [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390
@ 2016-06-02 14:51 bugzilla-daemon
2016-06-17 13:50 ` bugzilla-daemon
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-06-02 14:51 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1116 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=96326
Bug ID: 96326
Summary: Heavy screen flickering in OpenGL apps on R9 390
Product: Mesa
Version: git
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel@lists.freedesktop.org
Reporter: 0xe2.0x9a.0x9b@gmail.com
QA Contact: dri-devel@lists.freedesktop.org
GPU: R9 390
GPU manufacturer: Gigabyte
Kernel: 4.5, 4.6, etc
Firmware: both hawaii_smc.bin and hawaii_k_smc.bin
Hello,
I am experiencing heavy LCD screen flickering in OpenGL apps when automatic GPU
power management is enabled.
The flickering is related to mclk transitions. Forcing mclk=1.5GHz, and letting
sclk be controlled by DPM, removes the flickering.
Related issues:
http://bugs.freedesktop.org/show_bug.cgi?id=91880
http://bugs.freedesktop.org/show_bug.cgi?id=92302
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2826 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390
2016-06-02 14:51 [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390 bugzilla-daemon
@ 2016-06-17 13:50 ` bugzilla-daemon
2016-07-29 10:26 ` bugzilla-daemon
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-06-17 13:50 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 563 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=96326
Vedran Miletić <vedran@miletic.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vedran@miletic.net
--- Comment #1 from Vedran Miletić <vedran@miletic.net> ---
Confirmed by lilleman on #radeon:
https://people.freedesktop.org/~cbrill/dri-log/?channel=radeon&date=2016-06-17
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1990 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390
2016-06-02 14:51 [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390 bugzilla-daemon
2016-06-17 13:50 ` bugzilla-daemon
@ 2016-07-29 10:26 ` bugzilla-daemon
2016-07-29 14:20 ` bugzilla-daemon
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-07-29 10:26 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 554 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=96326
--- Comment #2 from Jan Ziak <0xe2.0x9a.0x9b@gmail.com> ---
The flickering disappears after switching from X11 to Linux console
(Ctrl+Alt+F1) and back (Ctrl+Alt+F7). mclk transitions 150MHz <-> 1500MHz no
longer cause monitor flickering after that.
The code in the Linux kernel executed during the switch to Linux console and
back fixes the issue, we just need to pinpoint the code lines responsible for
the fix.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1340 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390
2016-06-02 14:51 [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390 bugzilla-daemon
2016-06-17 13:50 ` bugzilla-daemon
2016-07-29 10:26 ` bugzilla-daemon
@ 2016-07-29 14:20 ` bugzilla-daemon
2016-07-29 18:57 ` bugzilla-daemon
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-07-29 14:20 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 809 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=96326
Alex Deucher <alexdeucher@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
QA Contact|dri-devel@lists.freedesktop |
|.org |
Product|Mesa |DRI
Component|Drivers/Gallium/radeonsi |DRM/Radeon
Version|git |unspecified
--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> ---
Please attach your xorg log and dmesg output. What resolution and refresh rate
are you using on your monitor? Also are you using radeon or amdgpu?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2477 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390
2016-06-02 14:51 [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390 bugzilla-daemon
` (2 preceding siblings ...)
2016-07-29 14:20 ` bugzilla-daemon
@ 2016-07-29 18:57 ` bugzilla-daemon
2016-07-29 18:59 ` bugzilla-daemon
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-07-29 18:57 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 351 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=96326
--- Comment #4 from Jan Ziak <0xe2.0x9a.0x9b@gmail.com> ---
Created attachment 125424
--> https://bugs.freedesktop.org/attachment.cgi?id=125424&action=edit
dmesg (linux kernel git 2016-jul-29 with custom patches)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1335 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390
2016-06-02 14:51 [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390 bugzilla-daemon
` (3 preceding siblings ...)
2016-07-29 18:57 ` bugzilla-daemon
@ 2016-07-29 18:59 ` bugzilla-daemon
2016-07-29 19:08 ` bugzilla-daemon
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-07-29 18:59 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 345 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=96326
--- Comment #5 from Jan Ziak <0xe2.0x9a.0x9b@gmail.com> ---
Created attachment 125425
--> https://bugs.freedesktop.org/attachment.cgi?id=125425&action=edit
Xorg.0.log (xorg-server-1.17.4, no custom patches)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1317 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390
2016-06-02 14:51 [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390 bugzilla-daemon
` (4 preceding siblings ...)
2016-07-29 18:59 ` bugzilla-daemon
@ 2016-07-29 19:08 ` bugzilla-daemon
2016-08-01 13:52 ` bugzilla-daemon
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-07-29 19:08 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 723 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=96326
--- Comment #6 from Jan Ziak <0xe2.0x9a.0x9b@gmail.com> ---
(In reply to Alex Deucher from comment #3)
> Please attach your xorg log and dmesg output.
Upstream Linux kernel does not support variable mclk on R9 390. I enabled
variable mclk by patching some code in drivers/gpu/drm/amd/amdgpu/ (mostly
ci_dpm.c).
dmesg output contains some logging messages I added to my copy of Linux kernel
source code.
> What resolution and refresh rate are you using on your monitor?
1920x1080 60Hz
> Also are you using radeon or amdgpu?
Currently amdgpu.ko, radeon.ko in the past.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1635 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390
2016-06-02 14:51 [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390 bugzilla-daemon
` (5 preceding siblings ...)
2016-07-29 19:08 ` bugzilla-daemon
@ 2016-08-01 13:52 ` bugzilla-daemon
2016-08-01 14:04 ` bugzilla-daemon
2019-11-19 9:16 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-08-01 13:52 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 831 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=96326
--- Comment #7 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Jan Ziak from comment #6)
> (In reply to Alex Deucher from comment #3)
> > Please attach your xorg log and dmesg output.
>
> Upstream Linux kernel does not support variable mclk on R9 390. I enabled
> variable mclk by patching some code in drivers/gpu/drm/amd/amdgpu/ (mostly
> ci_dpm.c).
What patch(es) did you use?
>
> dmesg output contains some logging messages I added to my copy of Linux
> kernel source code.
>
> > What resolution and refresh rate are you using on your monitor?
>
> 1920x1080 60Hz
>
> > Also are you using radeon or amdgpu?
>
> Currently amdgpu.ko, radeon.ko in the past.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1806 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390
2016-06-02 14:51 [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390 bugzilla-daemon
` (6 preceding siblings ...)
2016-08-01 13:52 ` bugzilla-daemon
@ 2016-08-01 14:04 ` bugzilla-daemon
2019-11-19 9:16 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-08-01 14:04 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1306 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=96326
--- Comment #8 from Jan Ziak <0xe2.0x9a.0x9b@gmail.com> ---
(In reply to Alex Deucher from comment #7)
> (In reply to Jan Ziak from comment #6)
> > (In reply to Alex Deucher from comment #3)
> > > Please attach your xorg log and dmesg output.
> >
> > Upstream Linux kernel does not support variable mclk on R9 390. I enabled
> > variable mclk by patching some code in drivers/gpu/drm/amd/amdgpu/ (mostly
> > ci_dpm.c).
>
> What patch(es) did you use?
I added a function based on ci_dpm_force_state_mclk() in ci_dpm.c.
mask is 0x3.
----
static int ci_dpm_force_state_mclk_mask(struct amdgpu_device *adev, u32 mask) {
struct ci_power_info *pi = ci_get_pi(adev);
if (!pi->mclk_dpm_key_disabled) {
PPSMC_Result smc_result =
amdgpu_ci_send_msg_to_smc_with_parameter(adev,
PPSMC_MSG_MCLKDPM_SetEnabledMask, mask);
printk("[atomsymbol] %s:%d: mask=0x%X, ok=%d\n", __FUNCTION__,
__LINE__, mask, smc_result == PPSMC_Result_OK);
if (smc_result != PPSMC_Result_OK)
return -EINVAL;
}
return 0;
}
----
/sys/class/drm/card?/device/power_dpm_force_performance_level is set to "auto".
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2302 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390
2016-06-02 14:51 [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390 bugzilla-daemon
` (7 preceding siblings ...)
2016-08-01 14:04 ` bugzilla-daemon
@ 2019-11-19 9:16 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-11-19 9:16 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 804 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=96326
Martin Peres <martin.peres@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |MOVED
Status|NEW |RESOLVED
--- Comment #9 from Martin Peres <martin.peres@free.fr> ---
-- 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/drm/amd/issues/720.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2363 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2019-11-19 9:16 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-02 14:51 [Bug 96326] Heavy screen flickering in OpenGL apps on R9 390 bugzilla-daemon
2016-06-17 13:50 ` bugzilla-daemon
2016-07-29 10:26 ` bugzilla-daemon
2016-07-29 14:20 ` bugzilla-daemon
2016-07-29 18:57 ` bugzilla-daemon
2016-07-29 18:59 ` bugzilla-daemon
2016-07-29 19:08 ` bugzilla-daemon
2016-08-01 13:52 ` bugzilla-daemon
2016-08-01 14:04 ` bugzilla-daemon
2019-11-19 9:16 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.