<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Chromium choppy due to vsync errors when running on XWayland"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106700">106700</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Chromium choppy due to vsync errors when running on XWayland
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>XWayland
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sosic.martin@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>xorg-team@lists.x.org
</td>
</tr></table>
<p>
<div>
<pre>Hi!
When running Chromium over Gnome on Wayland (which uses XWayland for it),
experience is choppy / stuttering. OS is Archlinux.
Checking chrome://gpu shows errors related to vsync:
```
[1687:1687:0525/081927.341246:ERROR:sync_control_vsync_provider.cc(141)] :
Calculated bogus refresh interval=0.810638 s, last_timebase_=44680100
bogo-microseconds, timebase=46301376 bogo-microseconds,
last_media_stream_counter_=302, media_stream_counter=304
```
Google Chrome behaves exactly the same way.
Machine: Dell XPS 15, 9560, 4K internal screen, 32GB RAM, 1TB SSD, discrete
Nvidia GPU, integrated Intel Video card.
Kernel: 4.16.9-1-ARCH, options: acpi_rev_override=1 acpi_osi=!
acpi_osi='Windows 2015'. I need first one for basic stuff to work, next two I
need for bbswitch to not freeze everything on boot.
Bootloader: GRUB, and I also have intel-ucode.
Video: I have bumblebee + bbswitch, they work fine. Drivers are `nvidia`
(when bbswitch is on) and i915 otherwise. I dont have xf86-intel-video
installed. I do have nouveau still installed, but it is not visible in dmesg
and since `nvidia` package is blacklisting it. During tests above I confirmed
that they are running on integrated intel video card.
Versions:
gnome: 3.28.2-1
google-chrome: 66.0.3359.181-1
chromium: same as google-chrome
nvidia: 396.24-3
wayland: 1.15.0-1
bumblebee: 3.2.1-17
bbswitch: 0.8-135
If I run Chromium on Gnome over Xorg, it works fine.
Other (Archilnux) users have also confirmed that they are having this problem,
on KDE specifically.
Known fixes:
- Downgrading xorg-server from 1.20 to 1.19 fixes the issue.
- Alternatively, setting `--disable-gpu-driver-bug-workarounds` flag for
Chromium fixes the issue.
Additionally, Atom and other Electron based app also seems to be suffering from
the same problem, although it has not been that explored and should probably be
additionally confirmed.
More details regarding the error on the original post about it:
<a href="https://bbs.archlinux.org/viewtopic.php?id=237383">https://bbs.archlinux.org/viewtopic.php?id=237383</a> .</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>