Bug 1965596 - glfw package requires Wayland, even if not using Wayland
Summary: glfw package requires Wayland, even if not using Wayland
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: glfw
Version: 34
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Till Hofmann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-28 10:03 UTC by Mark Fassler
Modified: 2021-07-05 01:33 UTC (History)
4 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:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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