INTERACT FORUM
More => Old Versions => JRiver Media Center 18 for Windows => Topic started by: drewgarth on June 27, 2013, 09:59:27 pm
-
Hi Guys,
I've got a slight variation of the "my PC wont sleep" problems, at least in so far as what i have read.
My HTPC running windows 8, sleeps very reliably. I have dealt with the SRVNET issue and requestsoverride in the past.
I have MC18 installed and set up as a server to stream audio/video/live TV.
If i reboot the HTPC and watch files locally, then shut MC18 everything works fine. The HTPC sleeps as expected.
However, if i connect remotely either via an IPAD using a DLNA streaming client or via a remote MC18 client, then from that point on the HTPC/server wont sleep. Despite the remote connection being closed (PC and IPAD physically switched off).
Powercfg - requests shows the MC18 executable under both PROCESS and AWAYMODE.
Any suggestions or further diagnostics would be appreciated.
cheers
Andrew
-
If you look at the 'Media Network' view, are any requests rolling in?
Only important requests, like serving a file, should keep the system awake.
It might be interesting to watch with powercfg and see when the away mode gets set as you browse. I'd expect it to happen when you play the first file. But I'd also expect stopping to close the socket and for it to clear the away mode.
-
I've had sort of similar issues - it was difficult to pin down what circumstances would cause "lack of sleep" and it seemed to vary, but I suspected somewhere on the line that previous network activity (from MC connecting to a NAS, or connecting to MC remotely from an iPad) had an effect.
But the way I've solved my issue (touch wood) is with the most recent Intel NIC driver. The WOL options in the driver now are:
Wake on Magic Packet
Wake on Magic Packet from power off state
Wake on Link Settings
Wake on Pattern Match
The Pattern Match is a new thing and apparently is OS-specific. This is disabled and now my PC is consistently staying in sleep.
If you have an Intel NIC (or a Realtek one, I believe it has the same Pattern option) then try this. I don't know though if you mean the PC is waking up immediately after putting it to sleep or whether it won't sleep in the first place.
-
Matt,
thanks for the reply, i have narrowed it down.
This occurs when i stream TV from a separate PC client.
Doing as you said watching the server processes and Powercfg on the HTPC/server
if i open a saved video, i see the file being served in the media server logs , and the processes appear on the powercfg request. When i click on stop on the remote PC, i see the served data stop in the media server logs and the two MC18 processes disappear from powercfg.
However if i open a live TV stream on the remote PC, Then i see the processes start on in powercfg, but when i stop playing the TV, the processes remain in powercfg until i reboot the htpc/server.
There are no file serving processes still active in the media network logs.
Hopefully that helps narrow this down.
Csimon, thanks for your reply. though this isn't Wol related as im using a dlink wireless card that doesn't support wol, and the problem is my htpc/server not going to sleep as opposed to waking.
cheers
Andrew
-
Nice detective work.
Is it only when watching live TV, or will watching a recording also cause it?
I'm guessing it's live TV only, because I test the recording part all the time at home and haven't ever seen this.
-
Hi Matt,
thanks, you are correct. I just tested this.
To be sure, on the HTPC itself i started a live stream and stopped a live stream.
The processes appear and disappear as expected.
I stopped MC18 then went to my laptop.
On my laptop I played a recorded show (from the HTPC/server) and the processes on the HTPC/server started and stopped as intended
I then played a live TV stream, stopped it, exited from MC18
On the HTPC/server i now have MC18 as both a system process and an awaymode process in Powercfg.
Again, rebooting obviously resets things.
Let me know if i can test anything else to try to figure out what the fix is :)
cheers
Andrew
-
I have just noticed this as well although this event also happens on my machine when woken by a timer event on the guide and then refuses to go back to sleep after the recording.
If you look at powercfg it states Jriver18.exe in away mode
-
After the client is stopped, check MC on the server, go to Drives & Devices > Television, and click "TV Options...". On the options window, click Advanced > Show Status. What are the status of each tuner? Is there any one that is still "Serving clients"?
-
all tuners say idle after disconnecting from the server but machine still will not sleep. The only way around this is to reboot.
-
Hi Guys,
same result on my system as Daveyravey,
if i check the status on the htpc/server prior to TV playback on remote client all four tuners say idle.
If i check during playback, then 1 tuner is in use
as soon as i click stop on the remote client and then check the status on the htpc/server the status is back to idle.
then the reboot is required to clear the mc18 process(s) in Powercfg
cheers
Andrew
-
Yaobing got this fixed.
In a coming build:
Fixed: Server computer would not go to sleep after serving live television to clients.
Thanks for your detective work :)
-
Thanks Matt,
thats great news :)
-
Excellent news ....
-
Davey, Matt, im just wondering if the sleep fix worked too well.
Twice now when i have been watching recorded TV on the MC client, the MC Server machine has gone to sleep mid stream.
Am i correct in assuming that if streaming recorded TV content, it should keep the server awake?
any thoughts would be appreciated.
cheers
Andrew
-
Hi guys,
this still seems to be a problem. Is anyone else finding the same?
Where previously watching TV on a remote client, the TV tuner would stop the server PC from sleeping,
Matt fixed this which was much appreciated.
However, after the fix, the server seems to sleep when a remote client is streaming anything, TV, or other media.
Does anyone have any ideas?
cheers
Andrew