Bug 1967942

Summary: glfwInit fails on Fedora 34 with an error message implicating Wayland
Product: [Fedora] Fedora Reporter: Marian Kechlibar <marian.kechlibar>
Component: glfwAssignee: Till Hofmann <thofmann>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 34CC: airlied, bioinfornatics, matyaspoko, negativo17, thofmann
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: glfw-3.3.4-2.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-05 01:33:33 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:

Description Marian Kechlibar 2021-06-04 13:33:31 UTC
Hello, so this is an exact recurrence of a previously solved and closed bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1895018

that is not in my power to reopen. Only now it involves Fedora 34 instead of Fedora 33.

I tried to downgrade glfw from 3.3.4 to 3.3.2-8, but it did not help the situation.

Comment 1 Matyáš Pokorný 2021-06-29 17:04:36 UTC
Hello, I'm bumping into this issue as well. 

It looks like the glfw package is built with -DGLFW_USE_WAYLAND=ON. So if I am a Fedora user under X11 (because NVidia or something) the package cannot be used. That's because calling glfwInit will attempt to connect to a Wayland display server, yet the environment is under X11 so the connection will not be made and an error message "Wayland: Failed to connect to display" will be emitted.

Comment 2 Fedora Update System 2021-06-30 17:40:12 UTC
FEDORA-2021-3bf294fc75 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-3bf294fc75

Comment 3 Fedora Update System 2021-07-01 01:18:18 UTC
FEDORA-2021-3bf294fc75 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-3bf294fc75`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-3bf294fc75

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-07-05 01:33:33 UTC
FEDORA-2021-3bf294fc75 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.