Plex HTPC feedback

Now that 1.14.0 has been released, those of you who added the gpu-context=d3d11 to your mpv.conf file can remove it. We have made D3D11 the default gpu-context on Windows. For those of you who need to go ANGLE for performance reasons, you can now do this in the GUI in the Quality settings. You’ll see there are is a new entry for each of the Low and Normal quality that have (ANGLE Renderer) at the end. This is the same setting except that it’ll use ANGLE instead of D3D11. We only did this on the lowest two settings because in our testing only the scalers used in those quality settings performed better on ANGLE than D3D11 (for the other quality settings, D3D11 performed better than ANGLE).

Glad to see because if it didn’t I wouldn’t know what to try.

3 Likes

Hey there I can’t find any info. I try to launch plex htpc but I get dll issues. I’ve spent an hour or so trying to fix with no luck. I don’t want to spend much more time on this. My question is. Does this program tonemap HDR to sdr, without transcoding. Just a direct play. I’m using madvr right now and the front ends are garbage compared to Plex. Thanks

Is Plex HTPC correctly passing DV to the TV? I didn’t think there was any way to watch DV content in Windows 10 yet?

Edit: Just re-read your post & it looks like you are using Linux. not Windows 10?

Thanks

Plex HTPC is not passing through DV nor HDR10 on windows (yet?). But when watching a UHD Rip with HDR/Dolby Vision (HDR gets tone mapped to sdr by mpv), ffmpeg complaints about those Dolby Vision Bits inside the HEVC stream and prints them out in the Plex HTPC log. A piece of rather useless information that fills the logs quite fast. Therefore you can add msg-level=ffmpeg/video=status to the mpv.conf and those lines are gone from the log.

Well, I use both. The machine I mainly use for watching movies and testing Plex HTPC is a dual boot box. Windows 10 resides on a samsung nvme and (Arch-)Linux is on a crucial sata ssd. So switching back and forth is simple to test Plex HTPC. :wink:

1 Like

If gpu-context=d3d11 is the only line in my mpv.conf file, do I delete the line or just delete the file?

Either one is fine. An empty file won’t behave differently from a file that doesn’t exist.

1 Like

Still the same problem with 1.14. Is there not a single soul with the same error?

You may want to try running without a controller connected to see if that makes a difference. This may be related to the SDL2 library and unfortunately updating that library has proven to be difficult.

Thanks, it works without the controller. I hope this get fixed soon.

Right. I know whats going on.

Plex HTPC works perfectly for me, with the extra shaders etc and resolution switching on - but only if the Windows desktop has been launched (i.e explorer.exe)

I run my HTPC with Steam Big Picture as shell so it has a 10ft interface. If I launch Plex HTPC directly from the Steam shell, then I get the issue where only the top left of content is played if its any lower than 4k (I’m on a 4k TV). When Explorer is launch and a desktop is present, the issue goes away.

So, there must be something in Explorer.exe (or its associated processes) that Plex HTPC takes queues from. And yes, i know, logs etc etc. Dont have them handy right now…

Would you mind running through a step by step of this process? Or is it literally: Download latest MPV, replace a dll in HTPC with one from MPV…?

Is there any way to easily see the changelogs? It appears to be scrolling through the thread history and I’ve given up attempting to find changes for the last 2 versions on each release.

Plex HTPC - Announcements - Plex Forum

changelogs

1 Like

Tried this out yesterday looks nice and modern, video plays just fine. Have issues with audio though.

Windows 10 HTPC
SPDIF Optical output to Onkyo Receiver
HDMI to TV for video

With Plex Media Player, everything works perfectly on this setup.

With Plext HTPC, audio does not work

  • Audio feedback in the UI works (click sounds etc)
  • If I set the audio to autoselect then I get sound during playback but only 2.0 channel and no AC3/DTS passthrough
  • If I choose the Realtek Digital Output and select Optical it will ONLY let me choose 2.0 as the speaker configuration, but I have 3.0 with a middle channel?
  • With AC3/DTS passthrough enabled or disabled I never get any audio passthrough, receiver does not switch mode as it should.
  • I get no sound at all from ANY video file with this configuration, be it 2 channel mp3 stereo, AC3, EAC3, DTS etc. Just nothing.
  • Exclusive mode or not makes no difference
  • Down mix multichannel or not makes no difference

Plex Media Player on the same system works perfectly with the same media, passthrough works perfectly for AC3/EAC3/DTS sources, regular 2 channel playback works perfectly.

Could you perhaps take a look at the audio configuration differences between the older Plex Media Player and Plex HTPC and see what might be going on here? Assuming they both use the same underlying media player perhaps some configuration is just missed?

Happy to test new builds and provide feedback or logs if useful.

1 Like

Yes, just download the mpv.dll here => mpv player (Windows) - Browse /libmpv at SourceForge.net
extract the mpv-2.dll put it in the root dir of plex htpc, rename the orig. mpv-1.dll to something like mpv-1.dll.old and then rename the mpv-2.dll to mpv-1.dll. Keep in mind you need to disable secure connections in plex htpc (plex uses the -tls_verfify setting, the ffmpeg lib is built without gnutls - I´m currently trying to get it in, so secure connections work) and you are good to go.

#EDIT: they will also work with secure connections. You need to manually specify where the cacert.pem is. Put tls-ca-file=C:\path\to\cacert.pem inside the mpv.conf and it should work.

1 Like

Just got it working with gnutls and now secure connections are working! Have fun! (Dolby Vision not working - use mpv-dev-x86_64-20220401-git-a76b1f4.7z instead)

More likely that there is something in explorer.exe that sets up the DPI settings properly. The more I dig into this, the more I’m realizing that too much of Windows is a complete mess (to put it very lightly). I wonder if you change explorer back to the shell and just make Steam auto-launch if that’ll give you want you really want.

As stated numerous times in this thread, logs are a hard requirement for diagnosing anything.

This definitely fixed the wrong 3840x1620 switch for UHD content! Thanks!! The scaling issue is unfortunately still present.

I have absolutely no idea too, why someone would want this.
I´ve done some further testing on this and well I found some very interesting behavior.
→ Linux 720x576 is correctly displayed as a 4:3 resolution on the TV, therefore black bars on the left and the right are shown. Due to Plex HTPC being hardcoded to 16:9, the 16:9 GUI is now displayed in the 4:3 resolution. This results in black bars on all 4 sites and the actual video displaying area being even smaller.

→ Windows 720x576 is wrongly displayed as 16:9 on the TV. (4:3 stretched to 16:9) I have no idea why, it’s the same AMD System/Gpu as on Linux. I think this is an “amd display driver for windows” bug that will never be fixed by AMD. I will test this with a Nvidia gpu too and see how it´s displayed there. (Nvidia does the same 16:9 720x576 output - so probably not a driver but windows issue) The video and ui are getting displayed completely stretched across the screen.

I was looking for something like this. (:

Try this build if you want Dolby Vision tone mapping to be working! (vo=gpu-next)

Have an oddity here with Plex HTPC 1.14.0 for Linux

When adding episodes it takes a long time until the episode is playable. Other Plex clients like OpenPHT or Rasplex are much faster.

So the new episode appears on the home page, but if you then go to it so this is not to see.