Bug 2040771 - Stellarium blinks cannot use it
Summary: Stellarium blinks cannot use it
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: 35
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Lyude
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-14 16:37 UTC by Alvaro Castillo
Modified: 2022-01-23 01:42 UTC (History)
13 users (show)

Fixed In Version: mesa-21.3.4-3.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-23 01:42:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Blink (949.43 KB, video/mp4)
2022-01-14 16:37 UTC, Alvaro Castillo
no flags Details
apitrace (52.29 KB, application/octet-stream)
2022-01-15 17:33 UTC, Alvaro Castillo
no flags Details
SOLVE THE PROBLEM WITH PATCH APPLIED IN THE PACKAGE (3.00 MB, video/mp4)
2022-01-16 01:37 UTC, Alvaro Castillo
no flags Details
0007-iris-solve-blinks-problems.patch (1.08 KB, patch)
2022-01-16 11:44 UTC, Alvaro Castillo
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Github Stellarium stellarium issues 2168#issuecomment-1013276855 0 None open Blink screen on linux 2022-01-14 16:37:25 UTC
freedesktop.org Gitlab mesa mesa issues 5731 0 None opened Flickering Intel Uhd 620 Graphics 2022-01-15 17:48:40 UTC

Description Alvaro Castillo 2022-01-14 16:37:25 UTC
Created attachment 1850803 [details]
Blink

Description of problem: Stellarium blinks after open


Version-Release number of selected component (if applicable): 0.21.3-1


How reproducible:
Install Stellarium via RPM
Open

Additional info:

- Package list:

libwayland-client-1.19.0-2.fc35.x86_64
libwayland-server-1.19.0-2.fc35.x86_64
libwayland-egl-1.19.0-2.fc35.x86_64
libwayland-cursor-1.19.0-2.fc35.x86_64
qt5-qtwayland-5.15.2-15.fc35.x86_64
xorg-x11-server-Xwayland-21.1.4-1.fc35.x86_64
kf5-kwayland-5.89.0-1.fc35.x86_64
gnome-session-wayland-session-41.3-1.fc35.x86_64
egl-wayland-1.1.9-3.fc35.x86_64
kernel-5.15.13-200.fc35.x86_64
mesa-libgbm-21.3.3-1.fc35.x86_64
mesa-libglapi-21.3.3-1.fc35.x86_64
mesa-libEGL-21.3.3-1.fc35.x86_64
mesa-filesystem-21.3.3-1.fc35.x86_64
mesa-dri-drivers-21.3.3-1.fc35.x86_64
mesa-libGL-21.3.3-1.fc35.x86_64
mesa-libxatracker-21.3.3-1.fc35.x86_64
mesa-vulkan-drivers-21.3.3-1.fc35.x86_64
mesa-libGLU-9.0.1-5.fc35.x86_64
stellarium-0.21.3-1.fc35.x86_64

Comment 1 Gwyn Ciesla 2022-01-14 16:49:06 UTC
I had all the packages listed, same versions, except egl-wayland, and I couldn't reproduce it. After installing egl-wayland, I still couldn't reproduce it.

What's your video hardware and driver?

Comment 2 Alvaro Castillo 2022-01-14 17:00:19 UTC
Sorry

I forgot I have the system without NVIDIA Drivers installed, so, I have installed nouveau but the first graphic card is Intel.

If I use:

GNOME X.org Session:

DRI_PRIME=0 stellarium (or use stellarium without DRI_PRIME is the same behaviour)

QProcess: Destroyed while process ("lspci") is still running.
Empty translation file for language  "en_US" in section "stellarium-scripts"
StelCore: Invalid timezone name: ""  -- not setting timezone.
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile
Error in Asterism  "TA6" : can't find star with coordinates 2.14697 / 8.55097
ERROR reading asterism lines record at line  88 for culture "western"
WARNING - asterism abbreviation "TA6" not found when loading asterism names
Oculars::validateAndLoadIniFile() found existing ini file version  3.1
Dubious result: Landscape  "Guereins"  not calibrated. Opacity test represents mathematical horizon only.

Result = Blinks

GNOME Wayland session:

DRI_PRIME=0 stellarium (or use stellarium without DRI_PRIME is the same behaviour)

QSocketNotifier: Can only be used with threads started with QThread
Empty translation file for language  "en_US" in section "stellarium-scripts"
StelCore: Invalid timezone name: ""  -- not setting timezone.
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile
Error in Asterism  "TA6" : can't find star with coordinates 2.14697 / 8.55097
ERROR reading asterism lines record at line  88 for culture "western"
WARNING - asterism abbreviation "TA6" not found when loading asterism names
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Oculars::validateAndLoadIniFile() found existing ini file version  3.1
Dubious result: Landscape  "Guereins"  not calibrated. Opacity test represents mathematical horizon only.


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

However, If I choose Nouveau

DRI_PRIME=1 stellarium

I don't have the blink problem X.org or Wayland It's is the same. =)


So, the problem likes Intel.

Comment 3 Alvaro Castillo 2022-01-14 17:08:18 UTC
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04) (prog-if 00 [VGA controller])
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)

Comment 4 Gwyn Ciesla 2022-01-14 17:32:47 UTC
It works on my intel: 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)

Looks like a driver bug.

Comment 5 Alvaro Castillo 2022-01-15 14:23:05 UTC
I've tested this one: https://bodhi.fedoraproject.org/updates/FEDORA-2022-b5fb1111d8

But It does not solve the problem.

Comment 6 Alvaro Castillo 2022-01-15 17:33:32 UTC
Created attachment 1850987 [details]
apitrace

Comment 7 Alvaro Castillo 2022-01-15 17:47:54 UTC
It's not a Xorg problem, redirect to MESA

https://gitlab.freedesktop.org/mesa/mesa/-/issues/5731

Comment 8 Alvaro Castillo 2022-01-15 18:34:03 UTC
I've performed some tests.

Stellarium 0.2.3 with MESA Drivers 21.3.4 - Causes blinks bad works.
Stellarium 0.2.3 with MESA Drivers 21.3 - Causes blinks bad works.
Stellarium 0.2.2 with MESA Drivers 21.3 - Causes blinks bad works.
Stellarium 0.2.2 with MESA Drivers 21.1.8 - Works fine.

Comment 9 Alvaro Castillo 2022-01-15 19:01:31 UTC
This software runs with this packages:

mesa-libGLU-9.0.1-5.fc35.x86_64
mesa-libglapi-21.3.4-1.fc35.x86_64
mesa-libgbm-21.3.4-1.fc35.x86_64
mesa-libEGL-21.3.4-1.fc35.x86_64
mesa-libGL-21.3.4-1.fc35.x86_64
mesa-filesystem-21.2.3-6.fc35.x86_64
mesa-dri-drivers-21.2.3-6.fc35.x86_64
mesa-libxatracker-21.2.3-6.fc35.x86_64
mesa-vulkan-drivers-21.2.3-6.fc35.x86_64
stellarium-0.21.3-1.fc35.x86_64

I've perform:
sudo dnf downgrade --version mesa-dri-drivers-21.2.3-6.fc35.x86_64

That's works.

The problem is MESA.

Comment 10 Alvaro Castillo 2022-01-16 01:37:08 UTC
I've rebuilt a Mesa package with a patch to solve this problem.


https://koji.fedoraproject.org/koji/taskinfo?taskID=81295806

THIS WORKS!

Comment 11 Alvaro Castillo 2022-01-16 01:37:41 UTC
Created attachment 1851078 [details]
SOLVE THE PROBLEM WITH PATCH APPLIED IN THE PACKAGE

Comment 12 Alvaro Castillo 2022-01-16 02:43:31 UTC
Sorry, I'm recompiling the SRC to send a Koji with commit used inside the package and mail in the changelog.

Comment 13 Alvaro Castillo 2022-01-16 02:59:42 UTC
You can get the latest packages with comments included from here:

https://koji.fedoraproject.org/koji/taskinfo?taskID=81298037

I don't know how I can send this to Bodhi for test.

Comment 14 Alvaro Castillo 2022-01-16 11:44:55 UTC
Created attachment 1851103 [details]
0007-iris-solve-blinks-problems.patch

Comment 15 Alvaro Castillo 2022-01-16 16:48:29 UTC
New build because Mesa 21.3.3 was updated to 21.3.4

That does not solve the issue.

Packages fixed: https://koji.fedoraproject.org/koji/taskinfo?taskID=81314946

Comment 16 Fedora Update System 2022-01-22 00:12:35 UTC
FEDORA-2022-d9c9d567ce has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d9c9d567ce

Comment 17 Fedora Update System 2022-01-23 01:42:35 UTC
FEDORA-2022-d9c9d567ce has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


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