Bug 100612 - [i915] [SNA] Graphics corruption with QupZilla
Summary: [i915] [SNA] Graphics corruption with QupZilla
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: 17.0
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-07 13:28 UTC by Francesco Turco
Modified: 2019-09-18 19:40 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
screenshot (75.52 KB, image/png)
2017-04-07 13:28 UTC, Francesco Turco
Details
Xorg log (17.98 KB, text/plain)
2017-04-07 15:00 UTC, Francesco Turco
Details

Description Francesco Turco 2017-04-07 13:28:24 UTC
Created attachment 130746 [details]
screenshot

I get graphics corruption when using the QupZilla web browser and the xf86-video-intel driver in SNA mode. All I have to do is start QupZilla: the problem happens immediately at startup, and it remains until I close QupZilla. UXA mode is fine instead. My GNU/Linux distribution is Gentoo. My motherboard is an Intel Desktop Board DQ35JO from year 2009. I suspect the problem is not really with QupZilla but with QtWebEngine. Other applications work fine.

--------------------------------

# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02)

--------------------------------

# emerge -pv x11-drivers/xf86-video-intel

These are the packages that would be merged, in order:

Calculating dependencies  ..... done!
[ebuild   R    ] x11-drivers/xf86-video-intel-2.99.917_p20170313::gentoo  USE="dri sna udev -debug -dri3 -tools -uxa -xvmc" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

--------------------------------

$ grep VIDEO_CARDS /etc/portage/make.conf
VIDEO_CARDS="intel i915"

--------------------------------

$ uname -m
x86_64

--------------------------------

$ uname -r
4.9.20-gentoo

--------------------------------

dev-qt/qtwebengine-5.7.1-r1
www-client/qupzilla-2.1.2
Comment 1 Chris Wilson 2017-04-07 14:32:03 UTC
Can you attach Xorg.0.log (or its equivalent from journalctl)? Please also check against some kernel older than v4.9 to rule out the changes in GTT mappings introduced then.
Comment 2 Francesco Turco 2017-04-07 15:00:18 UTC
Created attachment 130749 [details]
Xorg log
Comment 3 Francesco Turco 2017-04-07 15:26:33 UTC
I can reproduce the same bug with kernel 4.4.59, too.
Comment 4 Chris Wilson 2017-04-07 15:57:48 UTC
Just installed qupzilla on a little pnv (same gpu as yours, just attached to an atom instead); version 1.6.0 with webkit 537.21. A lot older than yours!

Anything unusual required? Just go to google? Any settings in qupzilla?
Comment 5 Francesco Turco 2017-04-07 16:59:23 UTC
According to https://qupzilla.com/about:

> Until version 2.0, QupZilla was using QtWebKit. QtWebKit is now deprecated and new versions are using QtWebEngine.

I think my problem is with QtWebEngine + Intel drivers, not with QtWebKit.
I also have Otter (a QtWebKit-based browser) and it works fine.

My problem happens with a clean QupZilla profile, too.
Comment 6 Chris Wilson 2017-04-07 22:52:27 UTC
After a system update on that slow, slow machine, Qupzilla is now at 1.8.9. That little machine is not going to compile Qt* anything by itself!
Comment 7 Francesco Turco 2017-04-17 14:08:02 UTC
I noticed I can reproduce this problem with Anki too. Like QupZilla it depends on QtWebEngine as well.
Comment 8 Francesco Turco 2017-05-09 19:08:18 UTC
I updated the kernel to version 4.11.0 and I can still reproduce the problem. Is there anything else I can try?
Comment 9 Francesco Turco 2017-05-20 12:23:03 UTC
Please also see the following bugs:
- https://bugs.gentoo.org/show_bug.cgi?id=618206
- https://bugs.freedesktop.org/show_bug.cgi?id=100984

I discovered that I get graphics corruption from QupZilla with media-libs/mesa-17.0.5 only after running the following command:

eselect mesa set i915 2 # gallium

The problem disappears after running the following command:

eselect mesa set i915 1 # classic
Comment 10 Elizabeth 2017-06-22 18:06:04 UTC
(In reply to Francesco Turco from comment #9)
> Please also see the following bugs:
> - https://bugs.gentoo.org/show_bug.cgi?id=618206
> - https://bugs.freedesktop.org/show_bug.cgi?id=100984
> 
> I discovered that I get graphics corruption from QupZilla with
> media-libs/mesa-17.0.5 only after running the following command:
> 
> eselect mesa set i915 2 # gallium
> 
> The problem disappears after running the following command:
> 
> eselect mesa set i915 1 # classic

Moving to mesa products so they can check if this is a valid solution for Mesa drivers. Thank you.
Comment 11 GitLab Migration User 2019-09-18 19:40:18 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/775.


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.