Problem with DRI2 and GLX - bionic 18.04

Bug #1752343 reported by Marek ZJ
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I have encountered the problem described below, after some recent updates in my Kubuntu. After asking on "Answers" I was requested to open a bug, so I'm doing it.

My problem was, that kwin stopped to show graphical effects. I'm using a laptop with Intel graphics - HD5500
After some log file search I've found, that probably the cause is shown in Xorg.0.log:

Xorg.0.log:[ 7073.803] (II) AIGLX: Screen 0 is not DRI2 capable
Xorg.0.log:[ 7073.803] (EE) AIGLX: reverting to software rendering

After some googling, I have found article below, explaining possible root cause. I have used a solution proposed there, and after installing libegl-mesa0_18.0.0~rc4-1_amd64.deb and libgbm1_18.0.0~rc4-1_amd64.deb my problem disappeared.

Link below describes details:

https://bugs.freedesktop.org/show_bug.cgi?id=104928

Here is some output from my OS diag tools:

lshw -C display

  *-display
       description: VGA compatible controller
       product: HD Graphics 5500
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:47 memory:c0000000-c0ffffff memory:b0000000-bfffffff ioport:4000(size=64) memory:c0000-dffff

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04
Codename: bionic

uname -a
Linux hostname 4.15.0-10-generic #11-Ubuntu SMP Tue Feb 13 18:23:35 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

sudo dmidecode -t 1
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: FUJITSU
        Product Name: LIFEBOOK A555
        Version:
        Serial Number: YM3M035369
        UUID: CF0F380B-2089-E511-8681-742B62ED267C
        Wake-up Type: Power Switch
        SKU Number:
        Family: LIFEBOOK-FTS

Best Regards,

Marek

Tags: bot-comment
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/1752343/+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
Marek ZJ (mzalfres)
affects: ubuntu → mesa (Ubuntu)
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

sounds like you're trying to mix an external ppa and debian sid, that's not supported..

Changed in mesa (Ubuntu):
status: New → Invalid
Revision history for this message
Marek ZJ (mzalfres) wrote :

I hope after 10 years with kubuntu I'm not trying to mix anything... This is my sources list:

deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu bionic partner
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse

What I did was just a regular apt update && apt upgrade.
At some point I have lost my graphical effects in KDE

I suppose you are still supporting apt upgrade, aren't you? :-D

So to summarize - there is a bug in package which is currently in Ubuntu repository. With following packages:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================-=============-=============-=====================================
ii libegl1:amd64 0.2.999+git20 amd64 Vendor neutral GL dispatch library --
ii libegl1-mesa:amd 17.3.3-0ubunt amd64 free implementation of the EGL API --
ii libegl1-mesa-dev 17.3.3-0ubunt amd64 free implementation of the EGL API --
un libegl1-x11 <none> <none> (no description available)

My kubuntu is not using hardware accelerated graphics.

In /var/log/Xorg.0.log file, I can see this:
[ 17324.106] (II) AIGLX: Screen 0 is not DRI2 capable
[ 17324.106] (EE) AIGLX: reverting to software rendering

Using those, I have just googled for some solution and found that when I install those two .deb files:

libegl-mesa0_18.0.0~rc4-1_amd64.deb
libgbm1_18.0.0~rc4-1_amd64.deb

Everything goes back to normal.

So something is wrong, but I can't go behind that point to say what exactly.

Changed in mesa (Ubuntu):
status: Invalid → New
Revision history for this message
Marek ZJ (mzalfres) wrote :

One more - please contact me before setting this again to invalid. English is not my native, so I'd like to be sure, that misunderstanding is not the cause for invalidating the report.

Revision history for this message
dino99 (9d9) wrote :

As you said, and freedesktop concluded:

Installing libegl-mesa0 package from experimental repository fixes the bug.

As that package is installed by default, that report is now useless.

Changed in mesa (Ubuntu):
status: New → Invalid
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

seems like some KDE dependency pulled in libegl1, which is what broke it

mesa & libglvnd will migrate from -proposed soon, so this should not happen anymore

Revision history for this message
Marek ZJ (mzalfres) wrote : Re: [Bug 1752343] Re: Problem with DRI2 and GLX - bionic 18.04
Download full text (3.3 KiB)

Ekhm... why do you say "As that package is installed by default"? Maybe
in experimental Debian, but not in Ubuntu. I had to find this solution,
manually download two deb files and install them creating a mess in my
package repository just to make my kubuntu working. Do you call that
"solution"?
Is anyone even trying to read that report with understanding or
verifying what is in the repository?!?

On 2018-03-01 15:29, dino99 wrote:
> As you said, and freedesktop concluded:
>
> Installing libegl-mesa0 package from experimental repository fixes the
> bug.
>
> As that package is installed by default, that report is now useless.
>
>
> ** Changed in: mesa (Ubuntu)
> Status: New => Invalid
>
> --
> You received this bug notification because you are subscribed to the
> bug
> report.
> https://bugs.launchpad.net/bugs/1752343
>
> Title:
> Problem with DRI2 and GLX - bionic 18.04
>
> Status in mesa package in Ubuntu:
> Invalid
>
> Bug description:
> I have encountered the problem described below, after some recent
> updates in my Kubuntu. After asking on "Answers" I was requested to
> open a bug, so I'm doing it.
>
> My problem was, that kwin stopped to show graphical effects. I'm
> using a laptop with Intel graphics - HD5500
> After some log file search I've found, that probably the cause is
> shown in Xorg.0.log:
>
> Xorg.0.log:[ 7073.803] (II) AIGLX: Screen 0 is not DRI2 capable
> Xorg.0.log:[ 7073.803] (EE) AIGLX: reverting to software rendering
>
>
> After some googling, I have found article below, explaining possible
> root cause. I have used a solution proposed there, and after
> installing libegl-mesa0_18.0.0~rc4-1_amd64.deb and
> libgbm1_18.0.0~rc4-1_amd64.deb my problem disappeared.
>
> Link below describes details:
>
> https://bugs.freedesktop.org/show_bug.cgi?id=104928
>
> Here is some output from my OS diag tools:
>
> lshw -C display
>
> *-display
> description: VGA compatible controller
> product: HD Graphics 5500
> vendor: Intel Corporation
> physical id: 2
> bus info: pci@0000:00:02.0
> version: 09
> width: 64 bits
> clock: 33MHz
> capabilities: msi pm vga_controller bus_master cap_list rom
> configuration: driver=i915 latency=0
> resources: irq:47 memory:c0000000-c0ffffff
> memory:b0000000-bfffffff ioport:4000(size=64) memory:c0000-dffff
>
> lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu Bionic Beaver (development branch)
> Release: 18.04
> Codename: bionic
>
> uname -a
> Linux hostname 4.15.0-10-generic #11-Ubuntu SMP Tue Feb 13 18:23:35
> UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
>
> sudo dmidecode -t 1
> # dmidecode 3.1
> Getting SMBIOS data from sysfs.
> SMBIOS 2.7 present.
>
> Handle 0x0001, DMI type 1, 27 bytes
> System Information
> Manufacturer: FUJITSU
> Product Name: LIFEBOOK A555
> Version:
> Serial Number: YM3M035369
> UUID: CF0F380B-2089-E511-8681-742B62ED267C
> Wake-up Type: Power Switch
> SKU Number:
> Famil...

Read more...

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

kde is messed up right now and pulled libglvnd packages which it shouldn't have, so the actual fix with ubuntu packages would've been to purge libegl1/libgl1 etc. We're in the middle of a transition which debian did 6mo ago, and everything should be fine in a day or two.

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

it's Qt which now depends on libegl1 and migrated out of -proposed and is breaking systems..

Revision history for this message
Marek ZJ (mzalfres) wrote :

Thanks Timo for explanation. I'm aware of all inconveniences related to running unstable system, looks that I have just hit one of those... I'll keep my eye on it. I'd keep the bug open till those dependencies are fixed, but it is up to you.

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

sorry, it was actually plasma-framework that depends on libegl1 and would pull it

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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