Closed Deytron closed 1 year ago
This issue has been present since release 15.
I literally woke up at 4 am at this comment.
Well I'll be darned... it works!
Fedora Kinoite 37 (silverblue but with KDE) running the flatpak image built from the aformentioned CI build, RTX 2070 and running under 525.85.05
drivers.
I can confirm that this works 100%, HEVC encoder, low latency and all. Still wondering how you managed to find these two lines 😁
I first flooded drain_errors()
to find which line of gl generated the error. It's the line underneath my change. Then I checked the gl document which occurrence can cause the 501 INVALID_VALUE error. One situation is the specified width is larger than the texture size, so it naturally comes to check the texture size using the function. Then it accidentally works. I jumped back and forth to check which exact line fixed it and this it was. However, I kinda wasted my time debugging as #649 already had a fix for wlgrab
, I actually only need to import the change to kmsgrab
.
This issue has been fixed and will be available in the next release.
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the nightly release?
Describe the Bug
Following #761 , this new issue prevents the stream from working on Linux, using Nvidia - Wayland - KDE.
649 should have fixed the issue, but on my end it does not work. I suspect this has something to do with the desktop environment and compositor, as the issue is fixed on Sway (Weston compositor) and I use KDE (Kwin).
When using this set of hardware and software, a client gets a black screen when connecting to the server. Reported FPS is 60, audio, keyboard and mouse work fine. And this error is reported :
[2023:01:13:11:39:24]: Error: GL: ~/Sunshine/src/platform/linux/graphics.cpp:529: [00000501]
Expected Behavior
The stream should work with video
Additional Context
No response
Host Operating System
Linux
Operating System Version
Linux Kernel 6.1.7
Architecture
64 bit
Sunshine commit or version
0.17.0 + PR 649 (e77a68c)
Package
other (self built)
GPU Type
Nvidia
GPU Model
Geforce RTX 2060
GPU Driver/Mesa Version
525.85.05
Capture Method (Linux Only)
KMS
Relevant log output