iris driver for old cpu

Bug #1876219 reported by Chenxi Wu
82
This bug affects 16 people
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Incomplete
Undecided
Unassigned
ring (Ubuntu)
Invalid
Undecided
Unassigned
vlc (Ubuntu)
Invalid
Undecided
Unassigned
xserver-xorg-video-intel (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I am not completely sure where I should file the bug. I am using Lubuntu 20.04 with lxqt, and since the upgrade to 20.04 iris is the default graphics driver, which results in crashes in multiple apps including guvcview and calibre. Setting MESA_LOADER_DRIVER_OVERRIDE=i965 fixed the problem. I am not sure but is it true that iris does not support older generations of Intel CPUs? If it is the case would it be possible to revert to i965 in those circumstances? Thanks!

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1876219/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Chenxi Wu (wuchenxi2013)
affects: ubuntu → mesa (Ubuntu)
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

file bugs upstream at
https://gitlab.freedesktop.org/mesa/mesa

iris supports intel gpu's gen8 and up (meaning broadwell and newer)

Revision history for this message
Chenxi Wu (wuchenxi2013) wrote :

Thanks! Mine is gen6 so the problem is with the default choice of graphics driver, do you happen to know which source package I should file bug or feature request to? Thanks again!

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

you should not be using iris then, since it doesn't support (meaning it won't load on) gen6

Revision history for this message
Chenxi Wu (wuchenxi2013) wrote :

Sorry I wasn't clear! Yes I realized that after Googling and switched to i965 and it's fixed, I am just wondering if the package responsible for choosing the default driver can add a check for older CPU model so that this problem will not be encountered by other users. I think I should probably file this to the installer or upgrader instead!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mesa (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

could be a dupicate of bug #1871959

Revision history for this message
Lukas Hejtmanek (xhejtman) wrote :

Whiskey Lake is also affected, guess it is gen8?

Revision history for this message
arno (star-gmx) wrote :

For me (core m5 6th generation) I noticed that mpv/celluloid is crashing after an update of ubuntu mate 20.04. Could reproduce by reinstalling (works) and update (crash). Unfortunatly I don't know what and how to revert.

Revision history for this message
arno (star-gmx) wrote :

For those wo asking where to set
Adding this line to ~/.profile helps for me as workaround.
"export MESA_LOADER_DRIVER_OVERRIDE=i965"

But this is a severe bug and should be fixed. I am curious what change caused this?

tags: added: focal
Revision history for this message
Lahfa Samy (akechishiro) wrote :

I have an Intel I7-5600U on PopOS 20.04 (note this distribution that is based on Ubuntu 20.04 is not listed in the `also affects distribution/package` and I'm currently affected by this bug as well.
Same here, I'm curious to what change has caused this bug.

Revision history for this message
arno (star-gmx) wrote :

@akechishiro: Did the above mentioned workaround works for you?

Revision history for this message
Lahfa Samy (akechishiro) wrote :

@star-gmx : The above did work for me (but I only tried setting the variable before the command such as "VARIABLE=value command"), setting this variable MESA_LOADER_DRIVER_OVERRIDE=i965 for anything that uses the MESA driver, stops segmentation faults from happening.

Revision history for this message
arno (star-gmx) wrote :

What command beside mpv/Celluloid are suffered at your side?

Revision history for this message
Lahfa Samy (akechishiro) wrote :

So far vlc/Vlc Media Player and this specific terminal https://github.com/Swordfish90/cool-retro-term.

Revision history for this message
arno (star-gmx) wrote :

This bug disappears if I go back from intel x driver to standard modesetting driver. I didn't to that intenionally. I haven't been aware of that, but to get xbacklight working (to change screen brightness) I activated that. After removing that change in /etc/X11 mpv/celluloid works without this variable.

Revision history for this message
K van Murfi (christophe-courtois) wrote :

Same problem here (Ubuntu 20.04, i915 driver, Skylake Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
) :
- glxgears and vlc both give a black window
- /usr/bin/kcmshell5 kcm_networkmanagement returns a segfault.

'export MESA_LOADER_DRIVER_OVERRIDE=i965' seems to solve all this. Many thanks to Chenxi Wu for this trick.

Adrien Béraud (wagaf)
Changed in mesa:
importance: Unknown → Undecided
status: Unknown → New
status: New → Confirmed
Revision history for this message
Sebastian Ramacher (s-ramacher) wrote :

Broken driver or invalid driver selection is nothing we can fix in vlc.

Changed in vlc (Ubuntu):
status: New → Invalid
Revision history for this message
Linux Admin (8tomato) wrote :

After upgrade to Ubuntu 20.04 most KDE native apps are now crashing and this includes systemsettings5. segfault stacktrace points to crash in /usr/lib/x86_64-linux-gnu/dri/iris_dri.so

> inxi -G
Graphics: Device-1: Intel HD Graphics 530 driver: i915 v: kernel
           Display: x11 server: X.Org 1.20.8 driver: intel resolution: 3440x1440~60Hz
           OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 20.1.8

xserver-xorg-video-intel version 2:2.99.917+git20200226-1

Setting MESA_LOADER_DRIVER_OVERRIDE=i965 does resolve this issue completely, however I am wondering why this is not selected automatically if iris driver does not support my GPU.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

there is no mechanism to detect that you're using the non-supported -intel driver

affects: mesa (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
themusicgod1 (themusicgod1) wrote :

pretty sure this isn't a ring/jami bug

Changed in ring (Ubuntu):
status: New → Invalid
Revision history for this message
Oibaf (oibaf) wrote :

Ubuntu 20.04 now has mesa version 21.2.6-0ubuntu0.1~20.04.2, newer than the 20.1.8 where 8tomato last confirmed the bug.
Can you update and check if the issue is still reproducible?

affects: mesa → mesa (Ubuntu)
Changed in mesa (Ubuntu):
status: Confirmed → Incomplete
Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Oibaf (oibaf) wrote :

Given the issue does not reproduce with MESA_LOADER_DRIVER_OVERRIDE=i965 it is not likely a xserver-xorg-video-intel bug.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.