Bug 2040771

Summary: Stellarium blinks cannot use it
Product: [Fedora] Fedora Reporter: Alvaro Castillo <sincorchetes>
Component: mesaAssignee: Lyude <lyude>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 35CC: ajax, bskeggs, caillon+fedoraproject, gwync, igor.raits, jglisse, jochen, lyude, rclark, rhughes, rstrode, tstellar, xgl-maint
Target Milestone: ---Keywords: Upstream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: mesa-21.3.4-3.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-23 01:42:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Blink
none
apitrace
none
SOLVE THE PROBLEM WITH PATCH APPLIED IN THE PACKAGE
none
0007-iris-solve-blinks-problems.patch none

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.