Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Problem with steam on Hyprland
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Swomp
n00b
n00b


Joined: 07 Sep 2022
Posts: 28

PostPosted: Sun Dec 24, 2023 11:06 am    Post subject: [SOLVED] Problem with steam on Hyprland Reply with quote

Recently I've installed gentoo and steam from flathub (Steam from gentoo repo has same issue). Steam doesn't launch correctly (screenshot 2), but on arch linux or on sway (screenshot 1) all works perfect. Does anyone have the same error?
screenshot 1: https://www.reddit.com/media?url=https%3A%2F%2Fpreview.redd.it%2Fjwrmfh3d388c1.png%3Fwidth%3D2560%26format%3Dpng%26auto%3Dwebp%26s%3Dc23f0b8d132f366602709ba638af761d9254b710
screenshot 2: https://www.reddit.com/media?url=https%3A%2F%2Fpreview.redd.it%2F3zhb5xdg388c1.png%3Fwidth%3D2560%26format%3Dpng%26auto%3Dwebp%26s%3D44ccb8a0c3c752a8a4027a969ad42242c2fcc6b1


Last edited by Swomp on Sun Dec 24, 2023 10:49 pm; edited 2 times in total
Back to top
View user's profile Send private message
kernel_tux
n00b
n00b


Joined: 15 Feb 2022
Posts: 33
Location: Denver, CO

PostPosted: Sun Dec 24, 2023 4:34 pm    Post subject: Reply with quote

I also run Hyprland, and also use the flatpak version of Steam, I don't have any issues running it.

What GPU are you using?

Please post the terminal output (in a code block) from "flatpak run com.valvesoftware.Steam" (no quotes)

Also, please post the output of emerge --info

Those two pieces of info can help give us a troubleshooting direction.

One thing that comes to mind, I had to add the Hyprland xdg desktop portal from GURU to get screen sharing to work. I know that's not your issue, but it could have an effect on the Steam flatpak:
https://wiki.gentoo.org/wiki/Hyprland#Screen_sharing

(to those that know more than I do about that portal, please call me out lol)
Back to top
View user's profile Send private message
Swomp
n00b
n00b


Joined: 07 Sep 2022
Posts: 28

PostPosted: Sun Dec 24, 2023 5:24 pm    Post subject: Reply with quote

kernel_tux wrote:
I also run Hyprland, and also use the flatpak version of Steam, I don't have any issues running it.

What GPU are you using?

Please post the terminal output (in a code block) from "flatpak run com.valvesoftware.Steam" (no quotes)

Also, please post the output of emerge --info

Those two pieces of info can help give us a troubleshooting direction.

One thing that comes to mind, I had to add the Hyprland xdg desktop portal from GURU to get screen sharing to work. I know that's not your issue, but it could have an effect on the Steam flatpak:
https://wiki.gentoo.org/wiki/Hyprland#Screen_sharing


I use Radeon RX 6650 XT

"flatpak run com.valvesoftware.Steam":
Code:
INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki
INFO:root:Will set XDG dirs prefix to /home/swomp/.var/app/com.valvesoftware.Steam
DEBUG:root:Checking input devices permissions
WARNING:root:Missing permissions for input devices
INFO:root:Overriding TZ to Europe/Moscow
steam.sh[2]: Running Steam on org.freedesktop.platform 23.08 64-bit
steam.sh[2]: STEAM_RUNTIME is enabled automatically
setup.sh[74]: Steam runtime environment up-to-date!
steam.sh[2]: Steam client's requirements are satisfied
[2023-12-24 20:17:39] Startup - updater built Dec  8 2023 00:32:59
[2023-12-24 20:17:39] Startup - Steam Client launched with: '/home/swomp/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox'
12/24 20:17:39 Init: Installing breakpad exception handler for appid(steam)/version(1702079146)/tid(108)
[2023-12-24 20:17:39] Loading cached metrics from disk (/home/swomp/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin)
[2023-12-24 20:17:39] Using the following download hosts for Public, Realm steamglobal
[2023-12-24 20:17:39] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-12-24 20:17:39] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-12-24 20:17:39] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-12-24 20:17:39] Проверка установки...
[2023-12-24 20:17:39] Verification complete

Steam logging initialized: directory: /home/swomp/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs


(process:108): GLib-GIO-WARNING **: 20:17:39.932: Can't find module 'dconf' specified in GSETTINGS_BACKEND
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xecc318f0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xecc301c0
steamwebhelper.sh[141]: Runtime for steamwebhelper: defaulting to /home/swomp/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[141]: Running under Flatpak, disabling sandbox
steamwebhelper.sh[141]: CEF sandbox already disabled
CAppInfoCacheReadFromDiskThread took 16 milliseconds to initialize
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 305
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
BRefreshApplicationsInLibrary 1: 0ms
BuildCompleteAppOverviewChange: 198 apps
RegisterForAppOverview 1: 6ms
RegisterForAppOverview 2: 6ms
[2023-12-24 20:18:02] Shutdown


emerge --info hyprland:
Code:
 Portage 3.0.57 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.37-r7, 6.1.67-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.67-gentoo-x86_64-x86_64-AMD_Ryzen_5_5600X_6-Core_Processor-with-glibc2.37
KiB Mem:    32761988 total,  24306188 free
KiB Swap:   48234492 total,  48234492 free
Timestamp of repository gentoo: Sat, 23 Dec 2023 21:00:01 +0000
Head commit of repository gentoo: b320bc7d83582074f7dfb7be498ab90c47bedc64
Timestamp of repository guru: Sat, 23 Dec 2023 18:17:50 +0000
Head commit of repository guru: 690760ab07b8b0a35dc7f4d7084fcd3f717ee38a

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p2) 2.41.0
ccache version 4.8.3 [enabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.7::gentoo, 3.12.1::gentoo
dev-lang/rust-bin:         1.71.1::gentoo
dev-util/ccache:           4.8.3::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.2.3::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             16.0.6::gentoo
sys-devel/llvm:            16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver3 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=znver3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=znver3 -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver3 -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="https://gentoo-mirror.alexxy.name/     http://gentoo-mirror.alexxy.name/     http://mirror.mephi.ru/gentoo-distfiles/     ftp://mirror.mephi.ru/gentoo-distfiles/     rsync://mirror.mephi.ru/gentoo-distfiles/"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j12"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS="-C target-cpu=znver3"
SHELL="/bin/fish"
USE="X a52 aac acl acpi alsa amd64 apparmor branding bzip2 cairo cdda cdr cli crypt dbus djvu dri dts dvd dvdr elogind encode exif ffmpeg flac flatpak fortran gdbm gif gles2 gpm gstreamer gui hardened iconv icu imagemagick ipv6 jack jemalloc jit jpeg lcms libnotify libtirpc mad mng mp3 mp4 mpeg mtp multilib ncurses network networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 qt6 readline sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks uefi unicode upower usb v4l vaapi vdpau vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid xwayland zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="ru ru-RU en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

gui-wm/hyprland-0.32.3::gentoo was built with the following:
USE="X -legacy-renderer -systemd" ABI_X86="(64)" VIDEO_CARDS="-nvidia"


I have xdg-desktop-portal-hyprland. It starts automatically without scripts and works very well with OBS.
Back to top
View user's profile Send private message
kernel_tux
n00b
n00b


Joined: 15 Feb 2022
Posts: 33
Location: Denver, CO

PostPosted: Sun Dec 24, 2023 5:48 pm    Post subject: Reply with quote

I actually use that same card. Your flatpak run output matches what I get, so no issues there.

So there's something else amiss that's causing this & beyond my Gentoo knowledge level.

There is one piece that's jumping out at me, I also have radeon in my VIDEO_CARDS, in addition to amdgpu & radeonsi. However, that may be just me being OCD about covering my bases, and may not be relevant.

Beyond that, I'm at a loss as to where to go from here, so wait until more knowledgeable people chime in before altering VIDEO_CARDS & re-compiling.
Back to top
View user's profile Send private message
Swomp
n00b
n00b


Joined: 07 Sep 2022
Posts: 28

PostPosted: Sun Dec 24, 2023 5:58 pm    Post subject: Reply with quote

So, thank you very much :lol:
Back to top
View user's profile Send private message
Swomp
n00b
n00b


Joined: 07 Sep 2022
Posts: 28

PostPosted: Sun Dec 24, 2023 7:20 pm    Post subject: Reply with quote

I noticed that wlroots in hyprland is build without vulkan support, but wlroots from repo compiles with vulkan support
hyprland:
Code:
>>> Emerging (1 of 1) gui-wm/hyprland-0.33.1::gentoo
 * hyprland-0.33.1.gh.tar.gz BLAKE2B SHA512 size ;-) ...                                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking hyprland-0.33.1.gh.tar.gz to /var/tmp/portage/gui-wm/hyprland-0.33.1/work
>>> Source unpacked in /var/tmp/portage/gui-wm/hyprland-0.33.1/work
>>> Preparing source in /var/tmp/portage/gui-wm/hyprland-0.33.1/work/hyprland-source ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/gui-wm/hyprland-0.33.1/work/hyprland-source ...
meson setup --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/gui-wm/hyprland-0.33.1/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false --buildtype plain -Dlegacy_renderer=disabled -Dsystemd=disabled -Dxwayland=enabled -Dwlroots:xwayland=enabled -Dwlroots:backends=drm,libinput,x11 -Dwlroots:xcb-errors=disabled /var/tmp/portage/gui-wm/hyprland-0.33.1/work/hyprland-source /var/tmp/portage/gui-wm/hyprland-0.33.1/work/hyprland-0.33.1-build
The Meson build system
Version: 1.2.3
Source dir: /var/tmp/portage/gui-wm/hyprland-0.33.1/work/hyprland-source
Build dir: /var/tmp/portage/gui-wm/hyprland-0.33.1/work/hyprland-0.33.1-build
Build type: native build
Project name: Hyprland
Project version: 0.33.1
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 13.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo Hardened 13.2.1_p20230826 p7) 13.2.1 20230826")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.41
C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ (gcc 13.2.1 "x86_64-pc-linux-gnu-g++ (Gentoo Hardened 13.2.1_p20230826 p7) 13.2.1 20230826")
C++ linker for the host machine: x86_64-pc-linux-gnu-g++ ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports arguments -std=c++23: YES
meson.build:16: WARNING: Consider using the built-in option for language standard version instead of using "-std=c++23".
Check usable header "execinfo.h" : YES

Executing subproject wlroots

wlroots| Project name: wlroots
wlroots| Project version: 0.18.0-dev
wlroots| C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 13.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo Hardened 13.2.1_p20230826 p7) 13.2.1 20230826")
wlroots| C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.41
wlroots| Compiler for C supports arguments -Wundef: YES
wlroots| Compiler for C supports arguments -Wlogical-op: YES
wlroots| Compiler for C supports arguments -Wmissing-include-dirs: YES
wlroots| Compiler for C supports arguments -Wold-style-definition: YES
wlroots| Compiler for C supports arguments -Wpointer-arith: YES
wlroots| Compiler for C supports arguments -Winit-self: YES
wlroots| Compiler for C supports arguments -Wstrict-prototypes: YES
wlroots| Compiler for C supports arguments -Wimplicit-fallthrough=2: YES
wlroots| Compiler for C supports arguments -Wendif-labels: YES
wlroots| Compiler for C supports arguments -Wstrict-aliasing=2: YES
wlroots| Compiler for C supports arguments -Woverflow: YES
wlroots| Compiler for C supports arguments -Wmissing-prototypes: YES
wlroots| Compiler for C supports arguments -Walloca: YES
wlroots| Compiler for C supports arguments -Wno-missing-braces: YES
wlroots| Compiler for C supports arguments -Wno-missing-field-initializers: YES
wlroots| Compiler for C supports arguments -Wno-unused-parameter: YES
wlroots| Compiler for C supports arguments -fmacro-prefix-map=/prefix/to/hide=: YES
wlroots| Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.1)
wlroots| Run-time dependency wayland-server found: YES 1.22.0
wlroots| Run-time dependency libdrm found: YES 2.4.118
wlroots| Run-time dependency xkbcommon found: YES 1.6.0
wlroots| Run-time dependency pixman-1 found: YES 0.42.2
wlroots| Library m found: YES
wlroots| Library rt found: YES
wlroots| Run-time dependency wayland-protocols found: YES 1.32
wlroots| Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.1)
wlroots| Build-time dependency wayland-scanner found: YES 1.22.0
wlroots| Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
wlroots| Has header "linux/dma-buf.h" : YES
wlroots| Run-time dependency egl found: YES 1.5
wlroots| Run-time dependency gbm found: YES 23.1.9
wlroots| Run-time dependency glesv2 found: YES 3.2
wlroots| Program ./embed.sh found: YES (/var/tmp/portage/gui-wm/hyprland-0.33.1/work/hyprland-source/subprojects/wlroots/render/gles2/shaders/./embed.sh)
wlroots| Dependency pixman-1 found: YES 0.42.2 (cached)
wlroots| Dependency gbm found: YES 23.1.9 (cached)
wlroots| Checking for function "gbm_bo_get_fd_for_plane" with dependency gbm: YES
wlroots| Run-time dependency libudev found: YES 254
wlroots| Run-time dependency libseat found: YES 0.8.0
wlroots| Build-time dependency hwdata found: YES 0.376
wlroots| Run-time dependency libdisplay-info found: YES 0.1.1
wlroots| Run-time dependency libliftoff found: YES 0.4.1
wlroots| Run-time dependency libinput found: YES 1.24.0
wlroots| Run-time dependency xcb found: YES 1.16
wlroots| Run-time dependency xcb-dri3 found: YES 1.16
wlroots| Run-time dependency xcb-present found: YES 1.16
wlroots| Run-time dependency xcb-render found: YES 1.16
wlroots| Run-time dependency xcb-renderutil found: YES 0.3.10
wlroots| Run-time dependency xcb-shm found: YES 1.16
wlroots| Run-time dependency xcb-xfixes found: YES 1.16
wlroots| Run-time dependency xcb-xinput found: YES 1.16
wlroots| Run-time dependency wayland-client found: YES 1.22.0
wlroots| Run-time dependency xwayland found: YES 23.2.3
wlroots| Dependency xcb found: YES 1.16 (cached)
wlroots| Run-time dependency xcb-composite found: YES 1.16
wlroots| Run-time dependency xcb-ewmh found: YES 0.4.2
wlroots| Run-time dependency xcb-icccm found: YES 0.4.2
wlroots| Dependency xcb-render found: YES 1.16 (cached)
wlroots| Run-time dependency xcb-res found: YES 1.16
wlroots| Dependency xcb-xfixes found: YES 1.16 (cached)
wlroots| Dependency xcb-errors skipped: feature xcb-errors disabled
wlroots| Checking for function "xcb_xfixes_set_client_disconnect_mode" with dependencies xcb, xcb-composite, xcb-ewmh, xcb-icccm, xcb-render, xcb-res, xcb-xfixes, xcb-errors: YES
wlroots| Configuring config.h using configuration
wlroots| Configuring version.h using configuration
wlroots| Configuring config.h using configuration
wlroots| Build targets in project: 130
wlroots| Subproject wlroots finished.

Dependency xcb found: YES 1.16 (cached)

Executing subproject udis86 method cmake

udis86| Found CMake: /usr/bin/cmake (3.27.7)

| Configuring the build directory with CMake version 3.27.7
| Running CMake with: -G Ninja -DCMAKE_INSTALL_PREFIX=/usr
|   - build directory:          /var/tmp/portage/gui-wm/hyprland-0.33.1/work/hyprland-0.33.1-build/subprojects/udis86/__CMake_build
|   - source directory:         /var/tmp/portage/gui-wm/hyprland-0.33.1/work/hyprland-source/subprojects/udis86
|   - toolchain file:           /var/tmp/portage/gui-wm/hyprland-0.33.1/work/hyprland-0.33.1-build/subprojects/udis86/__CMake_build/CMakeMesonToolchainFile.cmake
|   - preload file:             /usr/lib/python3.11/site-packages/mesonbuild/cmake/data/preload.cmake
|   - trace args:               --trace-expand --trace-format=json-v1 --no-warn-unused-cli --trace-redirect=cmake_trace.txt
|   - disabled policy warnings: [CMP0025, CMP0047, CMP0056, CMP0060, CMP0065, CMP0066, CMP0067, CMP0082, CMP0089, CMP0102]

| Put cmake in trace mode, but with variables expanded.
| Put cmake in trace mode and sets the trace output format.
| Not searching for unused variables given on the command line.
| Put cmake in trace mode and redirect trace output to a file instead of stderr.
| Trace will be written to cmake_trace.txt
| -- The C compiler identification is GNU 13.2.1
| -- Detecting C compiler ABI info
| -- Detecting C compiler ABI info - done
| -- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc - skipped
| -- Detecting C compile features
| -- Detecting C compile features - done
| -- Found Python3: /usr/bin/python3.12 (found version "3.12.1") found components: Interpreter
| Building itab.c/itab.h...
| -- Configuring done (0.6s)
| -- Generating done (0.0s)
| -- Build files have been written to: /var/tmp/portage/gui-wm/hyprland-0.33.1/work/hyprland-0.33.1-build/subprojects/udis86/__CMake_build

udis86| CMake configuration: SUCCEEDED
udis86| CMake project udis86 has 3 build targets.

cmake-ast| Processing generated meson AST
cmake-ast| Build file: /var/tmp/portage/gui-wm/hyprland-0.33.1/work/hyprland-0.33.1-build/subprojects/udis86/meson.build

udis86| Project name: udis86
udis86| Project version: undefined
udis86| C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 13.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo Hardened 13.2.1_p20230826 p7) 13.2.1 20230826")
udis86| C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.41
udis86| Build targets in project: 132
udis86| Subproject udis86 finished.


Library execinfo found: NO
Dependency libsystemd skipped: feature systemd disabled
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
Dependency wayland-protocols found: YES 1.32 (cached)
Run-time dependency hyprland-protocols found: YES 0.2
Dependency wayland-scanner found: YES 1.22.0 (cached)
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Dependency wayland-server found: YES 1.22.0 (cached)
Dependency wayland-server found: YES 1.22.0 (cached)
Dependency wayland-client found: YES 1.22.0 (cached)
Run-time dependency cairo found: YES 1.18.0
Dependency libdrm found: YES 2.4.118 (cached)
Dependency egl found: YES 1.5 (cached)
Dependency xkbcommon found: YES 1.6.0 (cached)
Dependency libinput found: YES 1.24.0 (cached)
Dependency pixman-1 found: YES 0.42.2 (cached)
Run-time dependency gl found: YES 1.2
Run-time dependency threads found: YES
Run-time dependency pango found: YES 1.50.14
Run-time dependency pangocairo found: YES 1.50.14
Build targets in project: 167

wlroots 0.18.0-dev

    drm-backend     : YES
    x11-backend     : YES
    libinput-backend: YES
    xwayland        : YES
    gles2-renderer  : YES
    vulkan-renderer : NO
    gbm-allocator   : YES
    session         : YES
    xcb-errors      : NO
    egl             : YES
    libliftoff      : YES

Hyprland 0.33.1

  Subprojects
    udis86               : YES
    wlroots              : YES

  User defined options
    Native files         : /var/tmp/portage/gui-wm/hyprland-0.33.1/temp/meson.x86_64-pc-linux-gnu.amd64.ini
    build.pkg_config_path: /usr/share/pkgconfig
    buildtype            : plain
    libdir               : lib64
    localstatedir        : /var/lib
    pkg_config_path      : /usr/share/pkgconfig
    prefix               : /usr
    sysconfdir           : /etc
    werror               : false
    wrap_mode            : nodownload
    b_pch                : false
    legacy_renderer      : disabled
    systemd              : disabled
    xwayland             : enabled
    wlroots:backends     : drm,libinput,x11
    wlroots:xcb-errors   : disabled
    wlroots:xwayland     : enabled


stable wlroots:
Code:
>>> Emerging (1 of 1) gui-libs/wlroots-0.16.2-r2::gentoo
 * wlroots-0.16.2.gl.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking wlroots-0.16.2.gl.tar.gz to /var/tmp/portage/gui-libs/wlroots-0.16.2-r2/work
>>> Source unpacked in /var/tmp/portage/gui-libs/wlroots-0.16.2-r2/work
>>> Preparing source in /var/tmp/portage/gui-libs/wlroots-0.16.2-r2/work/wlroots-0.16.2 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/gui-libs/wlroots-0.16.2-r2/work/wlroots-0.16.2 ...
meson setup --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/gui-libs/wlroots-0.16.2-r2/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false --buildtype plain -Dxcb-errors=enabled -Dexamples=true -Drenderers=gles2,vulkan -Dxwayland=enabled -Dbackends=drm,libinput,x11 /var/tmp/portage/gui-libs/wlroots-0.16.2-r2/work/wlroots-0.16.2 /var/tmp/portage/gui-libs/wlroots-0.16.2-r2/work/wlroots-0.16.2-build
The Meson build system
Version: 1.2.3
Source dir: /var/tmp/portage/gui-libs/wlroots-0.16.2-r2/work/wlroots-0.16.2
Build dir: /var/tmp/portage/gui-libs/wlroots-0.16.2-r2/work/wlroots-0.16.2-build
Build type: native build
Project name: wlroots
Project version: 0.16.2
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 13.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo Hardened 13.2.1_p20230826 p7) 13.2.1 20230826")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wlogical-op: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wimplicit-fallthrough=2: YES
Compiler for C supports arguments -Wendif-labels: YES
Compiler for C supports arguments -Wstrict-aliasing=2: YES
Compiler for C supports arguments -Woverflow: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Walloca: YES
Compiler for C supports arguments -Wno-missing-braces: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -fmacro-prefix-map=/prefix/to/hide=: YES
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.1)
Run-time dependency wayland-server found: YES 1.22.0
Run-time dependency libdrm found: YES 2.4.118
Run-time dependency xkbcommon found: YES 1.6.0
Run-time dependency libudev found: YES 254
Run-time dependency pixman-1 found: YES 0.42.2
Library m found: YES
Library rt found: YES
Run-time dependency wayland-protocols found: YES 1.32
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.1)
Build-time dependency wayland-scanner found: YES 1.22.0
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Run-time dependency egl found: YES 1.5
Run-time dependency gbm found: YES 23.1.9
Run-time dependency glesv2 found: YES 3.2
Program ./embed.sh found: YES (/var/tmp/portage/gui-libs/wlroots-0.16.2-r2/work/wlroots-0.16.2/render/gles2/shaders/./embed.sh)
Run-time dependency vulkan found: YES 1.3.268
Check usable header "vulkan/vulkan.h" with dependency vulkan: YES
Program glslangValidator found: YES (/usr/bin/glslangValidator)
Dependency pixman-1 found: YES 0.42.2 (cached)
Dependency gbm found: YES 23.1.9 (cached)
Checking for function "gbm_bo_get_fd_for_plane" with dependency gbm: YES
Build-time dependency hwdata found: YES 0.376
Run-time dependency libinput found: YES 1.24.0
Run-time dependency xcb found: YES 1.16
Run-time dependency xcb-dri3 found: YES 1.16
Run-time dependency xcb-present found: YES 1.16
Run-time dependency xcb-render found: YES 1.16
Run-time dependency xcb-renderutil found: YES 0.3.10
Run-time dependency xcb-shm found: YES 1.16
Run-time dependency xcb-xfixes found: YES 1.16
Run-time dependency xcb-xinput found: YES 1.16
Run-time dependency wayland-client found: YES 1.22.0
Run-time dependency libseat found: YES 0.8.0
Run-time dependency xwayland found: YES 23.2.3
Dependency xcb found: YES 1.16 (cached)
Run-time dependency xcb-composite found: YES 1.16
Run-time dependency xcb-icccm found: YES 0.4.2
Dependency xcb-render found: YES 1.16 (cached)
Run-time dependency xcb-res found: YES 1.16
Dependency xcb-xfixes found: YES 1.16 (cached)
Run-time dependency xcb-errors found: YES 1.0.1
Checking for function "xcb_xfixes_set_client_disconnect_mode" with dependencies xcb, xcb-composite, xcb-icccm, xcb-render, xcb-res, xcb-xfixes, xcb-errors: YES
Configuring config.h using configuration
Configuring version.h using configuration
Configuring config.h using configuration
Run-time dependency threads found: YES
Run-time dependency wayland-egl found: YES 18.1.0
Run-time dependency wayland-cursor found: YES 1.22.0
Dependency wayland-client found: YES 1.22.0 (cached)
Run-time dependency libpng found: YES 1.6.40
Dependency egl found: YES 1.5 (cached)
Dependency glesv2 found: YES 3.2 (cached)
Dependency gbm found: YES 23.1.9 (cached)
Run-time dependency libavutil found: YES 58.2.100
Run-time dependency libavcodec found: YES 60.3.100
Run-time dependency libavformat found: YES 60.3.100
Dependency libdrm found: YES 2.4.118 (cached)
Has header "libavutil/hwcontext_drm.h" with dependency libavutil: YES
Build targets in project: 150

wlroots 0.16.2

    drm-backend          : YES
    x11-backend          : YES
    libinput-backend     : YES
    xwayland             : YES
    gles2-renderer       : YES
    vulkan-renderer      : YES
    gbm-allocator        : YES
    xcb-errors           : YES
    egl                  : YES

  User defined options
    Native files         : /var/tmp/portage/gui-libs/wlroots-0.16.2-r2/temp/meson.x86_64-pc-linux-gnu.amd64.ini
    build.pkg_config_path: /usr/share/pkgconfig
    buildtype            : plain
    libdir               : lib64
    localstatedir        : /var/lib
    pkg_config_path      : /usr/share/pkgconfig
    prefix               : /usr
    sysconfdir           : /etc
    werror               : false
    wrap_mode            : nodownload
    b_pch                : false
    backends             : drm,libinput,x11
    examples             : true
    renderers            : gles2,vulkan
    xcb-errors           : enabled
    xwayland             : enabled

Could this be the case?
Back to top
View user's profile Send private message
kernel_tux
n00b
n00b


Joined: 15 Feb 2022
Posts: 33
Location: Denver, CO

PostPosted: Sun Dec 24, 2023 9:05 pm    Post subject: Reply with quote

I've been doing some research, and I think that adding radeon to VIDEO_CARDS will get us some progress on this.

According to this:

https://wiki.gentoo.org/wiki/Radeon#Feature_support

Anything newer than "Southern Islands" will require both radeon & radeonsi. This was tough for me, because AMD doesn't show the card's product family on their website.

Took me a while to find the full list here:

https://en.wikipedia.org/wiki/List_of_AMD_graphics_processing_units

So go ahead & add radeon to VIDEO_CARDS (keep amdgpu & radeonsi), then run
Code:

emerge --changed-use --deep --pretend --verbose @world


Post the results of that, and we'll see what's getting changed (with --pretend, nothing changes on the system).

A note about vulcan support. When I installed hyprland, wlroots was installed with the vulcan use flag enabled, so adding radeon may take care of that, too.
Back to top
View user's profile Send private message
Swomp
n00b
n00b


Joined: 07 Sep 2022
Posts: 28

PostPosted: Sun Dec 24, 2023 9:19 pm    Post subject: Reply with quote

kernel_tux wrote:
I've been doing some research, and I think that adding radeon to VIDEO_CARDS will get us some progress on this.

According to this:

https://wiki.gentoo.org/wiki/Radeon#Feature_support

Anything newer than "Southern Islands" will require both radeon & radeonsi. This was tough for me, because AMD doesn't show the card's product family on their website.

Took me a while to find the full list here:

https://en.wikipedia.org/wiki/List_of_AMD_graphics_processing_units

So go ahead & add radeon to VIDEO_CARDS (keep amdgpu & radeonsi), then run
Code:

emerge --changed-use --deep --pretend --verbose @world


Post the results of that, and we'll see what's getting changed (with --pretend, nothing changes on the system).

A note about vulcan support. When I installed hyprland, wlroots was installed with the vulcan use flag enabled, so adding radeon may take care of that, too.



emerge --changed-use --deep --pretend --verbose @world:
Code:
These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 8.04 s (backtrack: 0/20).

[ebuild   R   ~] app-misc/radeontop-1.4::gentoo  USE="nls" VIDEO_CARDS="amdgpu radeon*" 0 KiB
[ebuild   R    ] media-libs/mesa-23.1.9::gentoo  USE="X d3d9 gles1 gles2 llvm opencl osmesa proprietary-codecs unwind vaapi vdpau vulkan vulkan-overlay wayland xa zink zstd -debug -lm-sensors (-selinux) -test -valgrind" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" VIDEO_CARDS="radeon* radeonsi -d3d12 (-freedreno) -intel -lavapipe (-lima) -nouveau (-panfrost) -r300 -r600 (-v3d) (-vc4) -virgl (-vivante) -vmware" 0 KiB

Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB
Back to top
View user's profile Send private message
kernel_tux
n00b
n00b


Joined: 15 Feb 2022
Posts: 33
Location: Denver, CO

PostPosted: Sun Dec 24, 2023 9:26 pm    Post subject: Reply with quote

OK, re-run that without --pretend, then do a reboot when it's done re-compiling, and check Steam.

We may have to do some additional work for vulcan support on wlroots, but I want to see how far this gets us.
Back to top
View user's profile Send private message
Swomp
n00b
n00b


Joined: 07 Sep 2022
Posts: 28

PostPosted: Sun Dec 24, 2023 9:27 pm    Post subject: Reply with quote

I have already tried to rebuild system with radeon flag and nothing changed:(
Back to top
View user's profile Send private message
Swomp
n00b
n00b


Joined: 07 Sep 2022
Posts: 28

PostPosted: Sun Dec 24, 2023 9:33 pm    Post subject: Reply with quote

I tried again and unfortunately no result(((((((((((((((((((((((((((
Back to top
View user's profile Send private message
kernel_tux
n00b
n00b


Joined: 15 Feb 2022
Posts: 33
Location: Denver, CO

PostPosted: Sun Dec 24, 2023 9:34 pm    Post subject: Reply with quote

OK, post the results for "eix wlroots" (install app-portage/eix if you haven't already), I want to see what use flags it's compiled with.
Back to top
View user's profile Send private message
Swomp
n00b
n00b


Joined: 07 Sep 2022
Posts: 28

PostPosted: Sun Dec 24, 2023 9:57 pm    Post subject: Reply with quote

kernel_tux wrote:
OK, post the results for "eix wlroots" (install app-portage/eix if you haven't already), I want to see what use flags it's compiled with.

eix wlroots:
Code:
* dev-python/pywlroots
     Доступные версии:      0.15.24-r2^t 0.16.6-r2^t {X debug test PYTHON_TARGETS="python3_10 python3_11 python3_12"}
     Домашняя страница:     https://github.com/flacjacket/pywlroots/ https://pypi.org/project/pywlroots/
     Описание:              Python binding to the wlroots library using cffi

[I] gui-libs/wlroots
     Доступные версии:      0.14.1-r1(0/14) 0.15.1-r1(0/15) 0.16.2-r2(0/16) ~0.17.0(0/17) **9999(0/9999)*l {X +drm +libinput liftoff +session tinywl vulkan x11-backend xcb-errors}
     Установленные версии:  0.16.2-r2(0/16)(22:11:37 24.12.2023)(X drm libinput tinywl vulkan x11-backend xcb-errors)
     Домашняя страница:     https://gitlab.freedesktop.org/wlroots/wlroots
     Описание:              Pluggable, composable, unopinionated modules for building a Wayland compositor

Найдено 2 совпадение.
Back to top
View user's profile Send private message
Swomp
n00b
n00b


Joined: 07 Sep 2022
Posts: 28

PostPosted: Sun Dec 24, 2023 9:59 pm    Post subject: Reply with quote

Can you send your use flags from make.conf and package.use?
Back to top
View user's profile Send private message
Swomp
n00b
n00b


Joined: 07 Sep 2022
Posts: 28

PostPosted: Sun Dec 24, 2023 10:17 pm    Post subject: Reply with quote

I think that problem is in the ebuild, because hyprland apparently contains its own wlroots version. So, is it worth making a post on bugzilla?
Back to top
View user's profile Send private message
kernel_tux
n00b
n00b


Joined: 15 Feb 2022
Posts: 33
Location: Denver, CO

PostPosted: Sun Dec 24, 2023 10:21 pm    Post subject: Reply with quote

My global use flags aren't really different from yours, although I'm not using apparmor, but I don't know how much of an effect that has on this situation, as I've never used it.

Here are the additions I made:
/etc/portage/package.use/hyprland

Code:

gui-apps/swaybg gdk-pixbuf
gui-apps/waybar network tray
dev-libs/libdbusmenu gtk3


I'll also share some the relevant pieces of my hyprland config, in case that's causing some issues:

Code:

# Execute your favorite apps at launch
exec-once = ~/.config/hypr/xdg-portal-hyprland
exec-once = dunst
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = gentoo-pipewire-launcher
exec-once = /usr/lib64/libexec/polkit-kde-authentication-agent-1
exec-once = waybar

# Some default env vars.
env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORM,wayland
env = XDG_CURRENT_DESKTOP, Hyprland
env = XDG_SESSION_TYPE, wayland
env = XDG_SESSION_DESKTOP, Hyprland


From your emerge info, it doesn't look like you're using systemd, so that line wouldn't be relevant or useful for your setup.
Back to top
View user's profile Send private message
kernel_tux
n00b
n00b


Joined: 15 Feb 2022
Posts: 33
Location: Denver, CO

PostPosted: Sun Dec 24, 2023 10:30 pm    Post subject: Reply with quote

Swomp wrote:
I think that problem is in the ebuild, because hyprland apparently contains its own wlroots version. So, is it worth making a post on bugzilla?

I have the same wlroots you do, I just did a system update yesterday, and I got an update to Hyprland, which I think would use the same ebuild...?? (shrugs)
So I'm not gonna answer affirmatively in either direction to that question.

I've truly exhausted all ideas at this point, I'm sorry I wasn't able to figure this out. :-/
Back to top
View user's profile Send private message
Swomp
n00b
n00b


Joined: 07 Sep 2022
Posts: 28

PostPosted: Sun Dec 24, 2023 10:40 pm    Post subject: Reply with quote

kernel_tux wrote:
Swomp wrote:
I think that problem is in the ebuild, because hyprland apparently contains its own wlroots version. So, is it worth making a post on bugzilla?

I have the same wlroots you do, I just did a system update yesterday, and I got an update to Hyprland, which I think would use the same ebuild...?? (shrugs)
So I'm not gonna answer affirmatively in either direction to that question.

I've truly exhausted all ideas at this point, I'm sorry I wasn't able to figure this out. :-/


THANK YOU VEEEEEEEEEEEEEEEERY MUCH
Thanks to you I removed an unnecessary line from my config and that WORKS!
Line:
Code:
env=SDL_VIDEO_DRIVER,wayland

+ I inserted
Quote:
env = QT_QPA_PLATFORM,wayland
and
Quote:
exec-once = ~/.config/hypr/xdg-portal-hyprland
but last is unnecessary
Thank you again :lol: :lol:
Back to top
View user's profile Send private message
kernel_tux
n00b
n00b


Joined: 15 Feb 2022
Posts: 33
Location: Denver, CO

PostPosted: Sun Dec 24, 2023 10:46 pm    Post subject: Reply with quote

Very glad that we were able to figure this out!

Please edit the title & add "SOLVED" in brackets so others don't spend brain cells trying to troubleshoot.

Happy gaming! :D
Back to top
View user's profile Send private message
Swomp
n00b
n00b


Joined: 07 Sep 2022
Posts: 28

PostPosted: Sun Dec 24, 2023 10:49 pm    Post subject: Reply with quote

Thanks :lol:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum