Bug 1965596

Summary: glfw package requires Wayland, even if not using Wayland
Product: [Fedora] Fedora Reporter: Mark Fassler <spin.interrupt>
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, negativo17, thofmann
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
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:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mark Fassler 2021-05-28 10:03:35 UTC
User-Agent:       Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0
Build Identifier: 

On Fedora-34, XFCE spin, realsense-viewer does not work.

librealsense requires glfw.  glfw requires Wayland.  XFCE does not use wayland

Reproducible: Always

Steps to Reproduce:
1.  Install Fedora-Core 34, XFCE respin
2.  dnf install librealsense
3.  run:  realsense-viewer
Actual Results:  
realsense-viwer does not start.  

If I "strace realsense-viewer", I can see:

connect(6, {sa_family=AF_UNIX, sun_path="/run/user/1000/wayland-0"}, 27) = -1 ENOENT (No such file or directory)

and then it quits.  

Expected Results:  
Normally, "realsense-viewer" will open up a GUI, even if the RealSense is not connected.

If I rebuild the glfw rpm using "cmake -DGLFW_USE_WAYLAND=OFF", and use that, then the realsense-viwer will start up normally and work normally.

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

Comment 2 Fedora Update System 2021-07-01 01:18:14 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 3 Fedora Update System 2021-07-05 01:33:29 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.