Bug 2217543 - No window top bar when running retroarch under wayland
Summary: No window top bar when running retroarch under wayland
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: retroarch
Version: 38
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Artem
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/libretro/RetroArch...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-26 15:59 UTC by Stefan Krüger
Modified: 2023-07-06 05:31 UTC (History)
1 user (show)

Fixed In Version: retroarch-1.15.0-9.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-06 02:18:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stefan Krüger 2023-06-26 15:59:04 UTC
Hi, I have no window top bar when running retroarch under wayland (it's there when running under X11). See https://github.com/libretro/RetroArch/pull/13397 for screenshots. There's no "RetroArch" top bar and I can't move the retroarch window.

Seems like it has to be build with libdecor.

ldd /usr/bin/retroarch | grep decor
[nothing]

Reproducible: Always

Steps to Reproduce:
1. Install retroarch dnf install retroarch
2. Run retroarch under wayland
3. Notice there's no window decoration (i.e. top bar is missing, window is not moveable)
Actual Results:  
No window decoration under wayland

Expected Results:  
Window decoration under wayland (as when running under X11)

retroarch-1.15.0-4.fc38.x86_64
ibdecor-0.1.1-2.fc38.x86_64

Comment 1 Fedora Update System 2023-06-27 05:42:01 UTC
FEDORA-2023-efaecc0501 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-efaecc0501

Comment 2 Artem 2023-06-27 05:44:23 UTC
Thanks for reporting. -DHAVE_LIBDECOR_H enabled and we can see this during build and logs but now also explicitly [1]. Please try this new build.

[1]: https://src.fedoraproject.org/rpms/retroarch/c/81059bd48f91ae46741be5ba20f64c5570afae07?branch=f38

Comment 3 Stefan Krüger 2023-06-27 15:01:09 UTC
Hi Artem,

I have updated to but still no top window bar :(

```
$ rpm -q retroarch
retroarch-1.15.0-9.fc38.x86_64

$ ldd /usr/bin/retroarch | grep decor
nothing

$ retroarch -v
[INFO] [Config]: Looking for config in: "/home/foobar/.config/retroarch/retroarch.cfg".
[INFO] === Build =======================================
[INFO] CPU Model Name: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSE4 SSE4.2 AES AVX AVX2
[INFO] Built: Jun 27 2023
[INFO] Version: 1.15.0
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Set video size to: 960x720.
[INFO] [Wayland]: Compositor doesn't support zwp_idle_inhibit_manager_v1 protocol
[INFO] [Wayland]: Compositor doesn't support zxdg_decoration_manager_v1 protocol
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[INFO] [Vulkan]: Found vulkan context: "vk_wayland".
...
```

Comment 4 Fedora Update System 2023-06-28 01:01:40 UTC
FEDORA-2023-efaecc0501 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-efaecc0501`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-efaecc0501

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

Comment 5 Fedora Update System 2023-07-06 02:18:48 UTC
FEDORA-2023-efaecc0501 has been pushed to the Fedora 38 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.