Bug 1967942 - glfwInit fails on Fedora 34 with an error message implicating Wayland
Summary: glfwInit fails on Fedora 34 with an error message implicating Wayland
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: glfw
Version: 34
Hardware: x86_64
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Till Hofmann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-04 13:33 UTC by Marian Kechlibar
Modified: 2021-07-05 01:33 UTC (History)
5 users (show)

Fixed In Version: glfw-3.3.4-2.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-05 01:33:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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