View previous topic :: View next topic |
Author |
Message |
TuxSec n00b
Joined: 13 May 2023 Posts: 4
|
Posted: Sat May 13, 2023 3:26 pm Post subject: Can't Compile Gamescope |
|
|
Hi,
I can't get the resolution in games to the native of my monitor so I thought I try gamescope, if I compile gamescope with portage it gives me a compile failed.
Log file: https://pastebin.com/mGGCCbYN
Manual installation from the GitHub page fails after meson build/ with missing dependency "benchmark".
openrc
Wayland
wm: hyprland v0.25
Kernel: 6.1.27-gentoo-r1
NVIDIA 525.116.03 kernel-open flag set
Dual monitor setup:
Left: 3840x2160@120hz
Right: 2560x1440@240hz |
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1697
|
Posted: Tue May 16, 2023 2:08 am Post subject: |
|
|
Hmmm interesting
Your error is here:
Quote: | ../gamescope-3.12.0-beta3/src/wlserver.cpp:1110:88: error: invalid conversion from ‘wlr_renderer*’ to ‘uint32_t’ {aka ‘unsigned in ’} [-fpermissive]
1110 | wlserver.wlr.compositor = wlr_compositor_create(wlserver.display, wlserver.wlr.renderer);
| ~~~~~~~~~~~~~^~~~~~~~
| |
| wlr_renderer*
../gamescope-3.12.0-beta3/src/wlserver.cpp:1110:56: error: too few arguments to function ‘wlr_compositor* wlr_compositor_create(wl_display*, uint32_t, wlr_renderer*)’
1110 | wlserver.wlr.compositor = wlr_compositor_create(wlserver.display, wlserver.wlr.renderer);
| |
Possibly version mismatches, or a bug.
I have never tried to compile gamescope, and I don't run a hardened and/or a Wayland only system.
Do your your game resolution issues resolve in a standard Xorg system profile?
Wayland kinda reminds me of IPV6 its a mostly good idea, built with good intentions, and a few years away from fully working without its predecessor and always will be. _________________ Donate to Gentoo |
|
Back to top |
|
|
TuxSec n00b
Joined: 13 May 2023 Posts: 4
|
Posted: Wed May 17, 2023 1:28 pm Post subject: |
|
|
I'm running Wayland/hyprland for like 6 months without many issues on an Nvidia GPU, had more problems on x11/dwm i.e. scaling issue with high res monitor, screen tearing to name a few.
I would say Wayland is in a daily driver state but that's just my opinion.
But back to the topic I got gamescope to compile manually (comment out the benchmark dependency in the build file) but every game I start with gamescope launch option in steam are transparent I can see the game menu but with my desktop background for dark colors. I tried to set some window rules in the hyprland config file put without luck so far. |
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1697
|
Posted: Wed May 17, 2023 8:57 pm Post subject: |
|
|
TuxSec wrote: |
But back to the topic I got gamescope to compile manually (comment out the benchmark dependency in the build file) but every game I start with gamescope launch option in steam are transparent I can see the game menu but with my desktop background for dark colors. I tried to set some window rules in the hyprland config file put without luck so far. |
Interesting well welcome to life on the bleeding edge.
so did you compile gamescope version 3.12.0-beta3 manually or another version? _________________ Donate to Gentoo |
|
Back to top |
|
|
TuxSec n00b
Joined: 13 May 2023 Posts: 4
|
Posted: Fri May 19, 2023 6:54 pm Post subject: |
|
|
Quote: | so did you compile gamescope version 3.12.0-beta3 manually or another version? |
Yes same behavior on the newest version 3.12.0-beta7, but I don't think it is a gamescope problem more the compositor hyprland.
On kde-plasma under wayland it runs flawlessly with gamescope so ether it is a bug in hyprland or a config setting.
Edit: I fix it with a window rule
windowrule = forcergbx,^(gamescope)$ |
|
Back to top |
|
|
|