Was trying to resolve this issue and it seems that RDP would no longer impact hw acceleration if you enable the “Use the hardware default graphics adapter for all Remote Desktop Services sessions” group policy. This would make the RDP session use the hardware GPU for rendering.
Step-by-step:
Run (win+r) “gpedit.msc”
Navigate to Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment
Double click “Use the hardware default graphics adapter for all Remote Desktop Services sessions”
Guess this will never come as official supported.
Money down the drain, to bad i didnt research properly before buying AMD hardware.
Shame that a company of this size cant even support both camps (AMD and Intel) properly.
Just checking - did you enable the policy on the Plex server machine? It would not work if you enable the policy on the client machine from which you initiate the RDP connections.
Also adding some context here if this has anything to do with Windows versions etc:
My Plex runs on a Windows Server 2019 (1809) machine which has a 5700G installed. The driver is not natively supported on Windows Server and I had to do some modifications to get it to work.
I make RDP connections from various running Windows 10, iOS, and macOS.
The aforementioned policy change definitely worked for me and I have just tested again following the below steps -
Play a 4k video on my iOS device using the Plex app, select 480p 2Mb quality
Remote Desktop to the Plex machine and check the web UI, it shows hw is being used for transcoding
Disconnect from remote session and close the Plex app on the iOS device
Open the Plex app again on my iOS device and play a different 4k video, and select 480p 2Mb quality
Remote Desktop to the Plex machine again and check the web UI, it still shows hw is being used for transcoding for the video that is currently being played
I did, the policy is enabled on the RD host, which is the same machine that runs Plex Server. It’s possible it’s related to Windows versions - my host is running Windows 10 21H2. Instead of a 5700G like you, I’m using a 5750G, though I doubt that matters.
Tested a scenario similar to what you outlined above:
From a separate machine, played a 4K video via Chrome, which caused the video to transcode to 1080p using hardware transcoding. This was verified via the Plex web interface since you can minimize the web player (having the video continue playing) then view the server dashboard
Stopped the playback by closing the minimized player
Established a RD connection to the Plex Server host
Repeated step #1, verified hardware transcoding was being used
Repeated step #2
Disconnected the RD connection
Repeated step #1, verified hardware transcoding was no longer being used
I would have liked for the GPO to fix this, but the only workaround I’ve found is using the tscon.exe paired with a scheduled task that’s triggered on RD disconnect.
I seriously do not understand why this isnt working yet.
Had some spare time today and played a bit with Jellyfin.
Setup a LXC container on my Proxmox server and within a hour i had the entire LXC setup with working Hardware transcoding to the APU of the 5700G thats in there.
If a free version can make this happen one would expect the org like Plex who actually uses a paid model can get some engineers to fix this in Plex.
Its ashame the Jellyfin app isnt there yet for LG TV’s but its in the workings.
When thats done i guess i will say goodbey to Plex.
Seconding the last poster. Even running HW transcoding in Jellyfin on slow, the integrated graphics keep up with the transcode job without breaking a sweat. Having this capability on Plex would help to retain a lot of us AMD users looking for this capability.
I signed up to the forum to show my support for this request.
I am a prospective customer that would like to set up a home server and would want to use the paid plex pass subscription
I want my server to be low power (no gpu and low power cpu), have ECC memory (for storage) and be able to use hardware transcoding for plex
On a budget, there aren’t so many options. Since plex only supports quicksync, I would need to get a low power intel cpu with quicksync and ECC support. There around 20 or so options from xeon and i3, BUT, there are very few motherboard options (basically only the C246)
All of these problems would be void if I could use hardware encoding on and AMD CPU since there are many more budget options with ECC support. Otherwise I would have to use jellyfin, which generally doesn’t have apps available on smart tv’s
Also the newly announced AM5 CPUs are set to have inbuilt graphics as a standard and support ECC (through DDR5 RAM). Sure, Intel’s DDR5 options would then be valid too but AMD continue to best them in price per performance and lower power consumption
In summary, please add this support so I can give you my money
Out of curiosity, is your server otherwise headless?
My GPU(s) predate Navi so I never ran into the discoloration bug, but I did used to have issues with RDP and Plex.
My solution was to plug an HDMI “dummy plug” into the desired GPU, and always make my initial session log in to the server after it boots (Windows Server 2019) “physical” - whether it’s an actual physical log-in, or via IPMI - and then launch Plex.
After that, it doesn’t matter if I have an active RDP session, had one but no longer do, etc. - Plex will always HW de/encode on the right GPU (Radeon Pro) even though the monitor that lights up when I make my physical or IPMI log-in is connected to the onboard Matrox VGA port.
Like you, I have a dummy HDMI device that’s always plugged in. The initial session is logged in automatically via a Windows setting so I’m not physically logging in the console session.
I wonder if the difference stems from the fact that you have two display adapters, one of which never reinitializes/changes (your Radeon Pro) when RDPing. I can’t think of it off the top of my head but I’m confident there’s some utility we can run to see what adapter is used, when.
@elan : For the leading mediaserver software, which plex is from my perspective, this is quite an important topic. Also for user of the new Synology NAS generation, this topic become more and more important as Synology is switching to AMD.
ChannelsDVR supports AMD hardware transcoding and works amazingly well. Not sure why Plex is so far behind the ball on this one. Seems like it is a fairly easy implementation