pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.47k stars 87 forks source link

Black screen when running fullscreen Steam games via RDP #2599

Open gmanuel89 opened 2 years ago

gmanuel89 commented 2 years ago

Distribution (run cat /etc/os-release):

NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os
fullscreen terminal os info

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

steam:i386:
  Installed: 1:1.0.0.74-1pop1~1644936575~22.04~6d77918
  Candidate: 1:1.0.0.74-1pop1~1644936575~22.04~6d77918
  Version table:
     1:1.0.0.74-1ubuntu2 500
        500 http://apt.pop-os.org/ubuntu jammy/multiverse i386 Packages
 *** 1:1.0.0.74-1pop1~1644936575~22.04~6d77918 1001
       1001 http://apt.pop-os.org/release jammy/main i386 Packages
        100 /var/lib/dpkg/status

Issue/Bug Description: When connected to the system using RDP (from the Windows 10 native RDP client), the screen goes black when running games in fullscreen mode. There are no issues in windowed mode. The input seems to be working, as the mouse cursor moves across the screen (even if with some lag) and can even click onto items effectively. But the screen is completely black. Everything is running fine on the main machine, with no issues at all.

There are no issues at all with other fullscreen applications, such as Youtube in a browser or other applications that allow the fullscreen mode with F11 (e.g. Terminal in the first screenshot).

Steps to reproduce (if you know): Install Steam via APT (native package, no Flatpak), install a game and run it in fullscreen mode. Connect to the system via RDP to play the game from another machine.

black RDP

Expected behavior: The game should be displayed just fine even via RDP connection.

Other Notes: The issue does not seem to occur on Ubuntu 22.04 LTS (Wayland session), altough RDP in Ubuntu is extremely slow and laggy. The issue does not occur at all on Fedora 36 (GNOME Wayland session).

JuanCMerchan commented 2 years ago

Hello, not really related to your problem, but wanted to know how you are getting sound through rdp in 22.04?

gmanuel89 commented 2 years ago

Hello, not really related to your problem, but wanted to know how you are getting sound through rdp in 22.04?

Hi,

Sadly I just don't, I found a guide for Ubuntu for Hyper-V, that was building pulseaudio explicitly for this purpose, but I never succeeded in it...

gmanuel89 commented 2 years ago

Hello, not really related to your problem, but wanted to know how you are getting sound through rdp in 22.04?

The new release of GNOME should make things easy...

image