Bug 2121319 - Upgrading mesa-dri-drivers from 22.0.1-1 to 22.1.7-1 breaks rendering of gdm login screen and gnome
Summary: Upgrading mesa-dri-drivers from 22.0.1-1 to 22.1.7-1 breaks rendering of gdm ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: 36
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-25 06:51 UTC by Narendran Gopalakrishnan
Modified: 2023-05-25 15:25 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-25 15:25:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Image of the narrowed gdm login screen (7.48 MB, image/jpeg)
2022-08-25 06:51 UTC, Narendran Gopalakrishnan
no flags Details
Image of the narrowed GNOME workspace (6.09 MB, image/jpeg)
2022-08-25 07:04 UTC, Narendran Gopalakrishnan
no flags Details

Description Narendran Gopalakrishnan 2022-08-25 06:51:30 UTC
Created attachment 1907484 [details]
Image of the narrowed gdm login screen

Description of problem:
                                                                                 
This is seen on Fedora36/Core2Duo E7500, Intel Integrated Graphics, with dual-monitor.

After the upgrade of mesa-dri-drivers (whether in isolation or with the upgrade of the whole system), gdm login screen gets garbled: the login prompt and top panel all get displayed to the left with narrowed font, prompt box, icons. The mouse pointer becomes uncoordinated from the display as it is not able to click the prompt/panel where they are displayed, but can only click them where there would normally have been - ie. the middle of the screen for login prompt and top right for the panel. Also the typed password, though it takes effect, does not cause the usual '******' string to appear in the password box.
                                                                                 
Similarly, after login the usable portion of GNOME display is shifted to the left portion of the screen with all fonts and icons narrowed.
                                                                                 
But i3wm (Xorg) is not affected by this issue after login.
                                                                                 
The issue disappears once mesa-dri-drivers is downgraded and gdm is restarted:
sudo dnf downgrade mesa-dri-drivers-22.0.1-1.fc36
sudo systemctl restart gdm
                                                                                 
Version-Release number of selected component (if applicable):
mesa-dri-drivers-22.1.7-1.fc36

Verified that the problem is reproduced also in mesa-dri-drivers-22.2.0~rc3.fc38.

Steps to Reproduce:
1. sudo dnf upgrade mesa-dri-drivers-22.1.7-1.fc36
2. sudo systemctl restart gdm
3. Problem manifests
                                                                                 
Actual results:
Garbled gdm login screen uncoordinated with the mouse pointer, as described above
                                                                                 
Expected results:
Normal gdm login prompt
                                                                                 
Additional info:
Screenshots of the garbled gdm and gnome displays attached

Comment 1 Narendran Gopalakrishnan 2022-08-25 07:04:51 UTC
Created attachment 1907488 [details]
Image of the narrowed GNOME workspace

Comment 2 Narendran Gopalakrishnan 2022-08-28 08:05:27 UTC
The problem seems to be in i915 driver. Using swrast instead works around the issue.

In /etc/environment:
MESA_LOADER_DRIVER_OVERRIDE="swrast"

Comment 3 Narendran Gopalakrishnan 2022-12-19 08:53:07 UTC
Update: In Fedora 37 (GNOME 43.2) the above workaround is no longer needed and the problem does not manifest.

In fact now it is the above workaround MESA_LOADER_DRIVER_OVERRIDE="swrast" that causes much flickering in both GDM and GNOME.

Comment 4 Ben Cotton 2023-04-25 17:49:23 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 5 Ludek Smid 2023-05-25 15:25:14 UTC
Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16.

Fedora Linux 36 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.