* [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays.
@ 2016-04-12 3:12 bugzilla-daemon
2016-04-12 3:52 ` bugzilla-daemon
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-04-12 3:12 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 2286 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=94903
Bug ID: 94903
Summary: Tahiti and Hawaii (without amdgpu support) skips
vblanks on wayland (weston and others) on some
displays.
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel@lists.freedesktop.org
Reporter: johngaltfirstrun@gmail.com
QA Contact: dri-devel@lists.freedesktop.org
When running weston on this hardware with Shimian QHD270 displays, vblanks are
skipped resulting in stuttering video playback on any framerate other than
60fps (with multiple players and vo including opengl and wayland (shm)).
System:
Mesa: git
linux: 4.4, 4.5, 4.6 from a drm-next-wip branch
wayland: git
weston: git
A few notes:
- This doesn't occur when using amdgpu (for instance building with hawaii
amdgpu support.
- This bug goes back as far as a year, and another user verified they had this
issue on a radeonsi card with a specific monitor.
- When utilizing amdgpu, the EDID is correctly read from these monitors.
Without, the EDID read fails. I've written the EDID to a file in /lib/firmware/
and successfully loaded with no change however.
- Outside of video playback, there are no vblank skips. It was explained that
each application affects the entire compositor.
- No change on video size. The issue is apparent (with no discernible change)
on non-60fps 360p youtube videos on up to high bitrate x265 4K tv shows.
- By increasing repaint-window, I'm able to get consistent playback and no
vblank skips. However I do run into other issues with it, showing it's clearly
not a real solution for wayland support on radeon.
- During video playback, weston-presentation-shm shows the missing vblanks
just as a timeline does (so including weston-presentation-shm log for
readability instead).
weston-presentation-shm log with video playback at beginning:
https://bpaste.net/show/f8c9b910ddc1. When vblanks are no longer skipped, the
video playback has stopped.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3654 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] 9+ messages in thread
* [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays.
2016-04-12 3:12 [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays bugzilla-daemon
@ 2016-04-12 3:52 ` bugzilla-daemon
2016-04-12 4:14 ` bugzilla-daemon
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-04-12 3:52 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 344 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=94903
--- Comment #1 from Michel Dänzer <michel@daenzer.net> ---
Please write 63 to /sys/module/drm/parameters/debug before reproducing the
problem and 0 again afterwards, then attach the dmesg output generated in
between.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1221 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] 9+ messages in thread
* [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays.
2016-04-12 3:12 [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays bugzilla-daemon
2016-04-12 3:52 ` bugzilla-daemon
@ 2016-04-12 4:14 ` bugzilla-daemon
2016-04-12 17:57 ` bugzilla-daemon
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-04-12 4:14 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 399 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=94903
--- Comment #2 from John Galt <johngaltfirstrun@gmail.com> ---
Created attachment 122877
--> https://bugs.freedesktop.org/attachment.cgi?id=122877&action=edit
Dmesg of video playback with skipped vblanks with
/sys/module/drm/parameters/debug set to 63 then 0 afterward.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1593 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] 9+ messages in thread
* [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays.
2016-04-12 3:12 [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays bugzilla-daemon
2016-04-12 3:52 ` bugzilla-daemon
2016-04-12 4:14 ` bugzilla-daemon
@ 2016-04-12 17:57 ` bugzilla-daemon
2016-04-12 22:13 ` bugzilla-daemon
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-04-12 17:57 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 411 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=94903
--- Comment #3 from John Galt <johngaltfirstrun@gmail.com> ---
I've been able to "fix" the issue for tahiti and hawaii (without amdgpu) by
forcing an even 60.0hz refresh rate on this display. Despite the workaround, I
believe there's still a bug here. So I'm leaving the report open.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1302 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] 9+ messages in thread
* [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays.
2016-04-12 3:12 [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays bugzilla-daemon
` (2 preceding siblings ...)
2016-04-12 17:57 ` bugzilla-daemon
@ 2016-04-12 22:13 ` bugzilla-daemon
2016-04-13 0:28 ` bugzilla-daemon
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-04-12 22:13 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 785 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=94903
--- Comment #4 from John Galt <johngaltfirstrun@gmail.com> ---
I noticed something interesting: mpv was getting a reported refresh rate of
60.0hz in weston which is incorrect, actual display refresh rate is 59.951hz
(if I don't force it to 60.0hz as a workaround). In X, it gets the correct
refresh rate.
I was about to override the reported refresh rate to 59.951hz for mpv and play
a video without stutters, and without changing monitor's refresh rate.
weston-presentation-shm is also consistent with no vblank skips during playback
this way (at least with mpv playback). I suspect other applications are also
getting an incorrect reported refresh rate.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1666 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] 9+ messages in thread
* [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays.
2016-04-12 3:12 [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays bugzilla-daemon
` (3 preceding siblings ...)
2016-04-12 22:13 ` bugzilla-daemon
@ 2016-04-13 0:28 ` bugzilla-daemon
2016-04-13 0:47 ` bugzilla-daemon
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-04-13 0:28 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 375 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=94903
--- Comment #5 from Michel Dänzer <michel@daenzer.net> ---
(In reply to John Galt from comment #4)
> I was about to override the reported refresh rate to 59.951hz for mpv and
> play a video without stutters, [...]
How exactly did you override it?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1325 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] 9+ messages in thread
* [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays.
2016-04-12 3:12 [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays bugzilla-daemon
` (4 preceding siblings ...)
2016-04-13 0:28 ` bugzilla-daemon
@ 2016-04-13 0:47 ` bugzilla-daemon
2016-04-13 3:49 ` bugzilla-daemon
2019-11-19 9:14 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-04-13 0:47 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 518 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=94903
--- Comment #6 from John Galt <johngaltfirstrun@gmail.com> ---
In mpv I set display-fps to 59.951. But this only fixes mpv. I ended up
creating a custom EDID set to 60.0hz, and loading that at boot to fix other
apps as well (no mpv trickery needed this way either).
If I switch to amdgpu, mpv (and apparently other apps) get the correct refresh
rate (59.951hz), and none of this is needed.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1399 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] 9+ messages in thread
* [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays.
2016-04-12 3:12 [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays bugzilla-daemon
` (5 preceding siblings ...)
2016-04-13 0:47 ` bugzilla-daemon
@ 2016-04-13 3:49 ` bugzilla-daemon
2019-11-19 9:14 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-04-13 3:49 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 578 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=94903
Michel Dänzer <michel@daenzer.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|git |unspecified
Component|Drivers/Gallium/radeonsi |DRM/Radeon
QA Contact|dri-devel@lists.freedesktop |
|.org |
Product|Mesa |DRI
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1646 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] 9+ messages in thread
* [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays.
2016-04-12 3:12 [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays bugzilla-daemon
` (6 preceding siblings ...)
2016-04-13 3:49 ` bugzilla-daemon
@ 2019-11-19 9:14 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2019-11-19 9:14 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 804 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=94903
Martin Peres <martin.peres@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED
--- Comment #7 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/706.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2534 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] 9+ messages in thread
end of thread, other threads:[~2019-11-19 9:14 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-12 3:12 [Bug 94903] Tahiti and Hawaii (without amdgpu support) skips vblanks on wayland (weston and others) on some displays bugzilla-daemon
2016-04-12 3:52 ` bugzilla-daemon
2016-04-12 4:14 ` bugzilla-daemon
2016-04-12 17:57 ` bugzilla-daemon
2016-04-12 22:13 ` bugzilla-daemon
2016-04-13 0:28 ` bugzilla-daemon
2016-04-13 0:47 ` bugzilla-daemon
2016-04-13 3:49 ` bugzilla-daemon
2019-11-19 9:14 ` 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.