Comments (26)
If alwaysup works then there is something I can do.
from pmsservice.
It seems like, in 2021 with Windows 11, this is no longer an issue:
Could you provide some information? Is it the same PMS version that didn't work with 2019 and below? Note that the problem wasn't/isn't that HW Accel doesn't work at all but not when you run PMS as a service AND your're not logged in in Windows.
Sure. :D
So, all I did to test is the following:
Log out from the Windows 11 box as all users (reboot).
Open the plex web player from Plex.tv.
Pick some 4K content, under settings, ensure it's transcoding down to 1080p.
Check the PMS dashboard in a separate browser tab - it shows HW transcoding as pictured above.
FWIW, the user I am running Plex under is an Administrator on the computer.
Tested from Windows 11 with an RTX2070 GPU.
from pmsservice.
you can try it yourself.
in the registry, go to HKLM\SYSTEM\CurrentControlSet\Services\PlexService
modify the Type value and set the 9th bit to 1.
enable interactive services as per the registry key in your post. (remember to restart windows after you make that change).
I'm not convinced it will work, and it's not something I'll be doing in my installer by default.
from pmsservice.
I have enabled UI0Detect service to see its status but it does not react-
Just to be sure, registry value is set correctly:
from pmsservice.
Doesn't look right, the ninth bit isn't set. What was the value of type before you modified it?
from pmsservice.
0x00000010
from pmsservice.
Setting the ninth but makes it
0x00000110 (decimal 272)
The binary representation of 0x110 is
100010000
from pmsservice.
Hello,
Did you get this working @daeks ?
I'm experiencing an issue where plex crashes when I attempt to play a file which requires encoding. If I disable hardware acceleration or run plex from the app instead of the service, it transcodes fine. It appears a lot of people have this issue when running plex as a service.
Any assistance or steps to resolve would be appreciated. Thank You.
from pmsservice.
Yeah, the same thing is happening to me. Only hardware accelerated transcoding is affected, and only while running as a service.
When I started Plex on the same account via RDP, the hw transcoding was working fine.
from pmsservice.
This is a known issue and not something I can remedy. The resources required for hw decoding are not available in session 0. Unless Microsoft/nvidia/amd/Intel do something about it, we're stuck.
from pmsservice.
Damn, that sucks. I even tried using an EDID emulator to see if that would help. No dice.
from pmsservice.
I starting using 'AlwaysUp" and run the plex media server via that tool and hardware acceleration works fine now.
from pmsservice.
from pmsservice.
https://www.coretechnologies.com/products/AlwaysUp/
from pmsservice.
from pmsservice.
I can verify that using AlwaysUp with Plex in Session 1 allows both hardware decoding and encoding. Starting in session 0 allows only encoding but not decoding.
from pmsservice.
Can you advise how you set Plex to run in Session 1 ?
I have mine in session 0, which as you said, only provides encoding.
Thanks !
from pmsservice.
Just updated to 1.1.7.0 to try this running as both Local System Account and Local User - and both times decoding fails to work. If i disable the service and run PMS then decoding works.
from pmsservice.
@irishj Just to clarify, AlwaysUp
is working for you without having to specify Session 1?
@JesterEE Can you advise how to use Session 1. AlwaysUp
authors say nothing about this in the documentation for configuring Plex.
@cjmurph Just to clarify, do you mean if AlwaysUp
has figured out a solution, you should be able to implement the same once it is understood?
I guess I'm asking, does this work flawlessly already with AlwaysUp
?
Or will any solution like this project and AlwaysUp
be a little rough (Updating Plex etc.) because these use cases are not first class citizens in the Windows OS?
from pmsservice.
It's my understanding that hardware acceleration won't work in session 0. I'm not sure exactly why, this may change with future versions of windows.
Always up allow a user session to be created (session 1..n). I don't see the point, you might as well auto login and start Plex with a scheduled task.
The point of this wrapper is to have Plex running as a service so no user session is required.
from pmsservice.
@cjmurph Thanks for the quick reply.
Scheduled task? I think you just have to autologin with the account you used to install the Plex server, and have the server configure to automatically start at login. Am I misunderstanding something?
from pmsservice.
No, you could do that. You can configure a scheduled task to restart if it stops though.
from pmsservice.
It seems like, in 2021 with Windows 11, this is no longer an issue:
from pmsservice.
It seems like, in 2021 with Windows 11, this is no longer an issue:
Could you provide some information? Is it the same PMS version that didn't work with 2019 and below? Note that the problem wasn't/isn't that HW Accel doesn't work at all but not when you run PMS as a service AND your're not logged in in Windows.
from pmsservice.
Thank's for the fast response. I will give it a try and report my results.
from pmsservice.
Ok, after some testing I guess I can confirm it. At first I had issues with hw transcoding because I always selected predefined setting which doesn't work on my test server. But I think that is related to the older i3 Haswell CPU (QSV) I'm using for the test. When I select automatic conversion the Dashboard switches to Transcode/hw.
Of course, I was not logged in (2019, clean reboot) and it is not necessary that the plex user is a member of the administration group. That's important for me because the system is running some other services and holds some (for me) sensitive data.
from pmsservice.
Related Issues (20)
- 404 After manual update HOT 1
- [FR] Add restart plex to context menu
- Will this work with the new Plex x64 version in beta now? HOT 5
- Request: Scheduled restarts HOT 4
- Support for 64-bit Plex Media Server? HOT 4
- Service port in service settings HOT 4
- PMS 64 bit update does not work HOT 42
- Cannot update my settings HOT 7
- PMS Service Blocking WSL, Plex Post Processing HOT 19
- PlexService won't automatically start on server reboot, but manually starts fine HOT 3
- Cannot re-install Plex Service HOT 2
- not playing files HOT 1
- PMS Tray: "Unable to connect to service. Check settings" HOT 10
- Plex Media Server does not appear to be installed HOT 1
- Cannot reinstall Plex Media Service HOT 2
- New server created HOT 7
- Unable to create mapped drive at root
- Very nice, and some questions...
- Remote Control? HOT 1
- Plex clients failed to connect half the time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pmsservice.