Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Package request: gamescope
@ 2024-01-31  0:12 jaminW55
  2024-01-31  0:15 ` jaminW55
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: jaminW55 @ 2024-01-31  0:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1931 bytes --]

New issue by jaminW55 on void-packages repository

https://github.com/void-linux/void-packages/issues/48451

Description:
### Package name

gamescope

### Package homepage

https://github.com/ValveSoftware/gamescope

### Description

In an embedded session usecase, gamescope does the same thing as steamcompmgr, but with less extra copies and latency:

    It's getting game frames through Wayland by way of Xwayland, so there's no copy within X itself before it gets the frame.
    It can use DRM/KMS to directly flip game frames to the screen, even when stretching or when notifications are up, removing another copy.
    When it does need to composite with the GPU, it does so with async Vulkan compute, meaning you get to see your frame quick even if the game already has the GPU busy with the next frame.

It also runs on top of a regular desktop, the 'nested' usecase steamcompmgr didn't support.

    Because the game is running in its own personal Xwayland sandbox desktop, it can't interfere with your desktop and your desktop can't interfere with it.
    You can spoof a virtual screen with a desired resolution and refresh rate as the only thing the game sees, and control/resize the output as needed. This can be useful in exotic display configurations like ultrawide or multi-monitor setups that involve rotation.

It runs on Mesa + AMD or Intel, and could be made to run on other Mesa/DRM drivers with minimal work. AMD requires Mesa 20.3+, Intel requires Mesa 21.2+. For NVIDIA's proprietary driver, version 515.43.04+ is required (make sure the nvidia-drm.modeset=1 kernel parameter is set).

If running RadeonSI clients with older cards (GFX8 and below), currently have to set R600_DEBUG=nodcc, or corruption will be observed until the stack picks up DRM modifiers support.

### Does the requested package meet the package requirements?

System, Compiled

### Is the requested package released?

Yes

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Package request: gamescope
  2024-01-31  0:12 [ISSUE] Package request: gamescope jaminW55
@ 2024-01-31  0:15 ` jaminW55
  2024-01-31  0:15 ` jaminW55
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 18+ messages in thread
From: jaminW55 @ 2024-01-31  0:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 307 bytes --]

New comment by jaminW55 on void-packages repository

https://github.com/void-linux/void-packages/issues/48451#issuecomment-1918132052

Comment:
I may start working on this soon, but I'd like to use those program to run certain programs in isolation from my main system; or games with HDR on an X11 session.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Package request: gamescope
  2024-01-31  0:12 [ISSUE] Package request: gamescope jaminW55
  2024-01-31  0:15 ` jaminW55
@ 2024-01-31  0:15 ` jaminW55
  2024-01-31  0:16 ` jaminW55
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 18+ messages in thread
From: jaminW55 @ 2024-01-31  0:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 306 bytes --]

New comment by jaminW55 on void-packages repository

https://github.com/void-linux/void-packages/issues/48451#issuecomment-1918132052

Comment:
I may start working on this soon, but I'd like to use this program to run certain programs in isolation from my main system; or games with HDR on an X11 session.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Package request: gamescope
  2024-01-31  0:12 [ISSUE] Package request: gamescope jaminW55
  2024-01-31  0:15 ` jaminW55
  2024-01-31  0:15 ` jaminW55
@ 2024-01-31  0:16 ` jaminW55
  2024-01-31  2:27 ` chrysos349
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 18+ messages in thread
From: jaminW55 @ 2024-01-31  0:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 428 bytes --]

New comment by jaminW55 on void-packages repository

https://github.com/void-linux/void-packages/issues/48451#issuecomment-1918132052

Comment:
I may start working on this soon, but I'd like to use this program to run certain programs in isolation from my main system; or games with HDR on an X11 session. 

I also think this would be used by many other Void users and would be attractive for the platform to have in general.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Package request: gamescope
  2024-01-31  0:12 [ISSUE] Package request: gamescope jaminW55
                   ` (2 preceding siblings ...)
  2024-01-31  0:16 ` jaminW55
@ 2024-01-31  2:27 ` chrysos349
  2024-01-31  3:09 ` jaminW55
  2024-01-31  3:09 ` [ISSUE] [CLOSED] " jaminW55
  5 siblings, 0 replies; 18+ messages in thread
From: chrysos349 @ 2024-01-31  2:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 153 bytes --]

New comment by chrysos349 on void-packages repository

https://github.com/void-linux/void-packages/issues/48451#issuecomment-1918254437

Comment:
#48354

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [ISSUE] [CLOSED] Package request: gamescope
  2024-01-31  0:12 [ISSUE] Package request: gamescope jaminW55
                   ` (4 preceding siblings ...)
  2024-01-31  3:09 ` jaminW55
@ 2024-01-31  3:09 ` jaminW55
  5 siblings, 0 replies; 18+ messages in thread
From: jaminW55 @ 2024-01-31  3:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1934 bytes --]

Closed issue by jaminW55 on void-packages repository

https://github.com/void-linux/void-packages/issues/48451

Description:
### Package name

gamescope

### Package homepage

https://github.com/ValveSoftware/gamescope

### Description

In an embedded session usecase, gamescope does the same thing as steamcompmgr, but with less extra copies and latency:

    It's getting game frames through Wayland by way of Xwayland, so there's no copy within X itself before it gets the frame.
    It can use DRM/KMS to directly flip game frames to the screen, even when stretching or when notifications are up, removing another copy.
    When it does need to composite with the GPU, it does so with async Vulkan compute, meaning you get to see your frame quick even if the game already has the GPU busy with the next frame.

It also runs on top of a regular desktop, the 'nested' usecase steamcompmgr didn't support.

    Because the game is running in its own personal Xwayland sandbox desktop, it can't interfere with your desktop and your desktop can't interfere with it.
    You can spoof a virtual screen with a desired resolution and refresh rate as the only thing the game sees, and control/resize the output as needed. This can be useful in exotic display configurations like ultrawide or multi-monitor setups that involve rotation.

It runs on Mesa + AMD or Intel, and could be made to run on other Mesa/DRM drivers with minimal work. AMD requires Mesa 20.3+, Intel requires Mesa 21.2+. For NVIDIA's proprietary driver, version 515.43.04+ is required (make sure the nvidia-drm.modeset=1 kernel parameter is set).

If running RadeonSI clients with older cards (GFX8 and below), currently have to set R600_DEBUG=nodcc, or corruption will be observed until the stack picks up DRM modifiers support.

### Does the requested package meet the package requirements?

System, Compiled

### Is the requested package released?

Yes

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Package request: gamescope
  2024-01-31  0:12 [ISSUE] Package request: gamescope jaminW55
                   ` (3 preceding siblings ...)
  2024-01-31  2:27 ` chrysos349
@ 2024-01-31  3:09 ` jaminW55
  2024-01-31  3:09 ` [ISSUE] [CLOSED] " jaminW55
  5 siblings, 0 replies; 18+ messages in thread
From: jaminW55 @ 2024-01-31  3:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 186 bytes --]

New comment by jaminW55 on void-packages repository

https://github.com/void-linux/void-packages/issues/48451#issuecomment-1918302848

Comment:
> #48354

Neglected to check this time!

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Package request: gamescope
  2022-04-26  5:25 [ISSUE] " 0-st
                   ` (9 preceding siblings ...)
  2024-02-12  1:31 ` jaminW55
@ 2024-02-27 18:35 ` mdkcore0
  10 siblings, 0 replies; 18+ messages in thread
From: mdkcore0 @ 2024-02-27 18:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 242 bytes --]

New comment by mdkcore0 on void-packages repository

https://github.com/void-linux/void-packages/issues/36869#issuecomment-1967363214

Comment:
can we close this issue, since https://github.com/void-linux/void-packages/pull/48354 was merged?

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Package request: gamescope
  2022-04-26  5:25 [ISSUE] " 0-st
                   ` (8 preceding siblings ...)
  2023-05-15  7:08 ` TeddyDD
@ 2024-02-12  1:31 ` jaminW55
  2024-02-27 18:35 ` mdkcore0
  10 siblings, 0 replies; 18+ messages in thread
From: jaminW55 @ 2024-02-12  1:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]

New comment by jaminW55 on void-packages repository

https://github.com/void-linux/void-packages/issues/36869#issuecomment-1937965273

Comment:
What is the status of this package?

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Package request: gamescope
  2022-04-26  5:25 [ISSUE] " 0-st
                   ` (7 preceding siblings ...)
  2023-05-15  2:02 ` HadetTheUndying
@ 2023-05-15  7:08 ` TeddyDD
  2024-02-12  1:31 ` jaminW55
  2024-02-27 18:35 ` mdkcore0
  10 siblings, 0 replies; 18+ messages in thread
From: TeddyDD @ 2023-05-15  7:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

New comment by TeddyDD on void-packages repository

https://github.com/void-linux/void-packages/issues/36869#issuecomment-1547304221

Comment:
 > Sorry to necro this issue but did you decide this wasn't worth maintaining?

I don't feel competent enough in c/cpp to patch gamescope in case it needs patching. The template is up for grabs if anyone wants it, of course. I probably should have made it more clear.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Package request: gamescope
  2022-04-26  5:25 [ISSUE] " 0-st
                   ` (6 preceding siblings ...)
  2023-03-10  4:42 ` KF-Art
@ 2023-05-15  2:02 ` HadetTheUndying
  2023-05-15  7:08 ` TeddyDD
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 18+ messages in thread
From: HadetTheUndying @ 2023-05-15  2:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 449 bytes --]

New comment by HadetTheUndying on void-packages repository

https://github.com/void-linux/void-packages/issues/36869#issuecomment-1547090005

Comment:
> I managed to create draft template for gamescope: https://github.com/TeddyDD/void-packages-1/tree/add-gamescope

Sorry to necro this issue but did you decide this wasn't worth maintaining? I noticed you never opened a PR, I'm wondering if there's any issues you ran into before i give it a go?

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Package request: gamescope
  2022-04-26  5:25 [ISSUE] " 0-st
                   ` (5 preceding siblings ...)
  2022-11-02 20:43 ` TeddyDD
@ 2023-03-10  4:42 ` KF-Art
  2023-05-15  2:02 ` HadetTheUndying
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 18+ messages in thread
From: KF-Art @ 2023-03-10  4:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]

New comment by KF-Art on void-packages repository

https://github.com/void-linux/void-packages/issues/36869#issuecomment-1463251830

Comment:
> I tried, but I gave up.
> 
> [diff.txt](https://github.com/void-linux/void-packages/files/9003858/diff.txt)
> 
> Fails on this error ¯\_(ツ)_/¯
> 
> ```
> 
> 
> ../subprojects/libliftoff/test/libdrm_mock.c:117:6: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
>   117 |  int ret;
>       |      ^~~
> cc1: all warnings being treated as errors
> ```

Using ` -Wno-unused-but-set-variable` to `libliftoff` `meson.build` seems to correct it. I made a patch for that.

```
diff -ruN a/meson.build b/meson.build
--- a/meson.build	2023-03-05 12:36:15.000000000 -0600
+++ b/meson.build	2023-03-09 21:04:10.598647298 -0600
@@ -23,6 +23,7 @@
 
 	'-Wno-missing-braces',
 	'-Wno-unused-parameter',
+    '-Wno-unused-but-set-variable',
 ]), language: 'c')
 
 liftoff_inc = include_directories('include')
```


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Package request: gamescope
  2022-04-26  5:25 [ISSUE] " 0-st
                   ` (4 preceding siblings ...)
  2022-10-04  6:05 ` classabbyamp
@ 2022-11-02 20:43 ` TeddyDD
  2023-03-10  4:42 ` KF-Art
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 18+ messages in thread
From: TeddyDD @ 2022-11-02 20:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

New comment by TeddyDD on void-packages repository

https://github.com/void-linux/void-packages/issues/36869#issuecomment-1301211055

Comment:
I managed to create draft template for gamescope: https://github.com/TeddyDD/void-packages-1/tree/add-gamescope

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Package request: gamescope
  2022-04-26  5:25 [ISSUE] " 0-st
                   ` (3 preceding siblings ...)
  2022-07-13  5:44 ` birb7
@ 2022-10-04  6:05 ` classabbyamp
  2022-11-02 20:43 ` TeddyDD
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 18+ messages in thread
From: classabbyamp @ 2022-10-04  6:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/36869#issuecomment-1179594235

Comment:
> cc1: all warnings being treated as errors

looks like they have `-Werror` set somewhere in their build scripts

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Package request: gamescope
  2022-04-26  5:25 [ISSUE] " 0-st
                   ` (2 preceding siblings ...)
  2022-07-09 19:23 ` classabbyamp
@ 2022-07-13  5:44 ` birb7
  2022-10-04  6:05 ` classabbyamp
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 18+ messages in thread
From: birb7 @ 2022-07-13  5:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 412 bytes --]

New comment by birb7 on void-packages repository

https://github.com/void-linux/void-packages/issues/36869#issuecomment-1182790653

Comment:
lol, i might just be one of the first to get it to work on void. i just needed to addend "-devel" to a lot of the meson build dependencies ("libseat-devel", "libXdamage-devel", etc.) worked flawlessly and still figuring out tweaks for the best balance between upscaling.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Package request: gamescope
  2022-04-26  5:25 [ISSUE] " 0-st
  2022-06-28 18:44 ` TeddyDD
  2022-07-09 19:23 ` classabbyamp
@ 2022-07-09 19:23 ` classabbyamp
  2022-07-13  5:44 ` birb7
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 18+ messages in thread
From: classabbyamp @ 2022-07-09 19:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 262 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/36869#issuecomment-1179594235

Comment:
> cc1: all warnings being treated as errors

looks like they have `-Werror` set somewhere in their build cripts

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Package request: gamescope
  2022-04-26  5:25 [ISSUE] " 0-st
  2022-06-28 18:44 ` TeddyDD
@ 2022-07-09 19:23 ` classabbyamp
  2022-07-09 19:23 ` classabbyamp
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 18+ messages in thread
From: classabbyamp @ 2022-07-09 19:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/36869#issuecomment-1179594235

Comment:
> cc1: all warnings being treated as errors
looks like they have `-Werror` set somewhere in their build cripts

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Package request: gamescope
  2022-04-26  5:25 [ISSUE] " 0-st
@ 2022-06-28 18:44 ` TeddyDD
  2022-07-09 19:23 ` classabbyamp
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 18+ messages in thread
From: TeddyDD @ 2022-06-28 18:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

New comment by TeddyDD on void-packages repository

https://github.com/void-linux/void-packages/issues/36869#issuecomment-1169095382

Comment:
I tried, but I gave up. 

[diff.txt](https://github.com/void-linux/void-packages/files/9003858/diff.txt)

Fails on this error ¯\\\_(ツ)\_/¯
```


../subprojects/libliftoff/test/libdrm_mock.c:117:6: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
  117 |  int ret;
      |      ^~~
cc1: all warnings being treated as errors
```



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2024-02-27 18:35 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-31  0:12 [ISSUE] Package request: gamescope jaminW55
2024-01-31  0:15 ` jaminW55
2024-01-31  0:15 ` jaminW55
2024-01-31  0:16 ` jaminW55
2024-01-31  2:27 ` chrysos349
2024-01-31  3:09 ` jaminW55
2024-01-31  3:09 ` [ISSUE] [CLOSED] " jaminW55
  -- strict thread matches above, loose matches on Subject: below --
2022-04-26  5:25 [ISSUE] " 0-st
2022-06-28 18:44 ` TeddyDD
2022-07-09 19:23 ` classabbyamp
2022-07-09 19:23 ` classabbyamp
2022-07-13  5:44 ` birb7
2022-10-04  6:05 ` classabbyamp
2022-11-02 20:43 ` TeddyDD
2023-03-10  4:42 ` KF-Art
2023-05-15  2:02 ` HadetTheUndying
2023-05-15  7:08 ` TeddyDD
2024-02-12  1:31 ` jaminW55
2024-02-27 18:35 ` mdkcore0

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).