Jump to content


Photo

Active video has small gap on side and bottom of screen


  • Please log in to reply
354 replies to this topic

#81 stettler OFFLINE  

stettler

    Advanced Member

  • Members
  • 336 posts
  • Local time: 10:04 PM

Posted 06 July 2018 - 01:44 AM

On my system this was never an issue until the date that I started this thread and I believe there was an update. Also your thesis does not explain why we all see the line only on the right and bottom of our screens

 

I have that problem with ET 2.8.8 on Win7. It's a version of ET from last year.

 

As for why the border is only on the right and bottom, it's an OS bug, not a feature. Windows shouldn't display those lines at all. If it was the result of a single factor, it would have been fixed long ago. The problem doesn't (can't) happen with exclusive mode. In windowed mode there is some work-around but it still the result of an OS bug and not of the software so don't expect consistant result.



#82 stettler OFFLINE  

stettler

    Advanced Member

  • Members
  • 336 posts
  • Local time: 10:04 PM

Posted 06 July 2018 - 02:07 AM

 

 

Other apps like KODI don't have this problem.

 

 

Seems a tad difficult to compare two softwares that have nothing to do with each others. Is Kodi even using mpv?

I am sure that if you use ET with MadVR, you can avoid this problem with the correct setting. Not because mpv has a bug that MadVR doesn't. But because MadVR can use exclusive mode for example.

 

Perhaps what I am saying is totally stupid but I think that the ET interface isn't in the same window (layer?) as the movie played by mpv. Perhaps the window (layer) used to play the video isn't closed and re-opened in full size mode each time. Doing a minimize/maximize makes the problem go away as it put back the window into a real fullscreen and not in a window that just looks like it's taking the fullscreen.

 

You may think that ET is in fullscreen mode when it really isn't. It just looks like it is. It may also be the result of external factors: Some kind of OS or other software notification may make an application to go out of real fullscreen. Hidding/showing the taskbar may do it. If a window has a maximize button, it isn't in fullscreen even if it looks like it is.



#83 echoxxzz OFFLINE  

echoxxzz

    Advanced Member

  • Members
  • 178 posts
  • Local time: 05:04 PM
  • LocationOntario, Canada

Posted 06 July 2018 - 10:14 AM

Seems a tad difficult to compare two softwares that have nothing to do with each others. Is Kodi even using mpv?

I am sure that if you use ET with MadVR, you can avoid this problem with the correct setting. Not because mpv has a bug that MadVR doesn't. But because MadVR can use exclusive mode for example.

 

Perhaps what I am saying is totally stupid but I think that the ET interface isn't in the same window (layer?) as the movie played by mpv. Perhaps the window (layer) used to play the video isn't closed and re-opened in full size mode each time. Doing a minimize/maximize makes the problem go away as it put back the window into a real fullscreen and not in a window that just looks like it's taking the fullscreen.

 

You may think that ET is in fullscreen mode when it really isn't. It just looks like it is. It may also be the result of external factors: Some kind of OS or other software notification may make an application to go out of real fullscreen. Hidding/showing the taskbar may do it. If a window has a maximize button, it isn't in fullscreen even if it looks like it is.

 

Well no KODI is not using MPV but it does run at full screen and when you wake up the PC it doesn't have problems redrawing the screen.

Secondly, I don't think this is an MPV problem at all since the one temporary fix is to downgrade Electron from version 2.x  to a 1.x version.

Clearly, this is a problem with Electron 2.x since the other temporary fix is to just toggle the screen from window to full screen before putting your PC to sleep.



#84 snapwing OFFLINE  

snapwing

    Newbie

  • Members
  • 7 posts
  • Local time: 02:04 PM

Posted 06 July 2018 - 07:04 PM

Does anyone happen to know the location in the registry to set the "dummy" screen resolution when the TV is off?

This seems like a promising work around in my case. This issue appeared for me at the same time as the OP. I leave my htpc on all the time, no standby, but now see the gaps after turning the TV back on.

Sent from my Pixel using Tapatalk

#85 echoxxzz OFFLINE  

echoxxzz

    Advanced Member

  • Members
  • 178 posts
  • Local time: 05:04 PM
  • LocationOntario, Canada

Posted 06 July 2018 - 09:43 PM

Does anyone happen to know the location in the registry to set the "dummy" screen resolution when the TV is off?

This seems like a promising work around in my case. This issue appeared for me at the same time as the OP. I leave my htpc on all the time, no standby, but now see the gaps after turning the TV back on.

Sent from my Pixel using Tapatalk

 

Goto HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration

 

Then you'll see a bunch of sub-keys.

One of those keys is for your existing monitor. It should be obvious.

One of the keys will have the text NOEDID in it, This is the default monitor key.

Open that key and replace the following values in the two 00 sub-keys from your actual monitor:

 

 

ActiveSize.cx

ActiveSize.cy

PrimSurfSize.cx

PrimSurfSize.cy

DwmClipBox.bottom

DwmClipBox.right

Stride

 

Reboot 

 

The existing values will be 400 (hex) and 300 (hex). Just remember to enter the news values as decimals as they default to hex.


Edited by echoxxzz, 07 July 2018 - 12:58 AM.

  • snapwing and serpi like this

#86 echoxxzz OFFLINE  

echoxxzz

    Advanced Member

  • Members
  • 178 posts
  • Local time: 05:04 PM
  • LocationOntario, Canada

Posted 06 July 2018 - 09:44 PM

.


Edited by echoxxzz, 06 July 2018 - 09:50 PM.


#87 AdrianW OFFLINE  

AdrianW

    Advanced Member

  • Super Testers
  • 2493 posts
  • Local time: 05:04 AM
  • LocationPerth, Australia

Posted 07 July 2018 - 07:08 AM

I put back the older version of electron back (1.8.7) at the end of May. This prevents the gaps at the bottom and RHS.

 

BUT, I'm still occasionally getting the split-second audio drop outs - I watched two episodes of a show today and it must have dropped out 6 or 7 times. (I'm bitstreaming everything).

 

Is there a fix for this audio problem? Or do we have to wait for an electron version that no longer has the video gap issue?



#88 Guest_asrequested_* OFFLINE  

Guest_asrequested_*
  • Guests

Posted 07 July 2018 - 12:14 PM

I put back the older version of electron back (1.8.7) at the end of May. This prevents the gaps at the bottom and RHS.
 
BUT, I'm still occasionally getting the split-second audio drop outs - I watched two episodes of a show today and it must have dropped out 6 or 7 times. (I'm bitstreaming everything).
 
Is there a fix for this audio problem? Or do we have to wait for an electron version that no longer has the video gap issue?


If you turn off bitstreaming and let MPV do the decoding, does the audio still drop out?

#89 stettler OFFLINE  

stettler

    Advanced Member

  • Members
  • 336 posts
  • Local time: 10:04 PM

Posted 07 July 2018 - 12:35 PM

Well no KODI is not using MPV but it does run at full screen and when you wake up the PC it doesn't have problems redrawing the screen.

Secondly, I don't think this is an MPV problem at all since the one temporary fix is to downgrade Electron from version 2.x  to a 1.x version.

Clearly, this is a problem with Electron 2.x since the other temporary fix is to just toggle the screen from window to full screen before putting your PC to sleep.

 

As I explained there is several different mode of "full screen". So you don't even know if Kodi is using the same one. Anyway, it's not Kodi, ET, or whatever that is redrawing the screen when waking-up the PC: It's the OS. Again, as I said, the bug is in the OS even if there is work around to avoid it.

 

As I wrote, at least under Windows 7, I have the problem with an old version of ET that I am pretty sure is using mpv with Electron 1.x. And I don't even put that PC to sleep.

 

How can you toggle from window to full screen before putting your PC to sleep? I would say that if it wasn't already in full screen then there is a problem...



#90 ShoutingMan OFFLINE  

ShoutingMan

    Advanced Member

  • Members
  • 679 posts
  • Local time: 04:04 PM

Posted 07 July 2018 - 04:23 PM

Yes. This is a bug related to newer Electron release. I’ve mnaually reverted to an earlier electron version as advised. Now I’m waiting for the problem to be fixed so I can return to standard ET installation.

#91 echoxxzz OFFLINE  

echoxxzz

    Advanced Member

  • Members
  • 178 posts
  • Local time: 05:04 PM
  • LocationOntario, Canada

Posted 07 July 2018 - 07:22 PM

As I explained there is several different mode of "full screen". So you don't even know if Kodi is using the same one. Anyway, it's not Kodi, ET, or whatever that is redrawing the screen when waking-up the PC: It's the OS. Again, as I said, the bug is in the OS even if there is work around to avoid it.

 

As I wrote, at least under Windows 7, I have the problem with an old version of ET that I am pretty sure is using mpv with Electron 1.x. And I don't even put that PC to sleep.

 

How can you toggle from window to full screen before putting your PC to sleep? I would say that if it wasn't already in full screen then there is a problem...

All I do is click the square box in the upper right corner twice. Once to put into window mode then again to put it back into fullscreen. After that whenever I put my PC to sleep and wake it up I never have any redraw issues in ET. 

 

I do agree you with that this is clearly a O/S problem because it doesn't seem to happen under Linux running emby-theater-electron.



#92 PrincessClevage OFFLINE  

PrincessClevage

    Advanced Member

  • Members
  • 1125 posts
  • Local time: 07:04 AM

Posted 07 July 2018 - 08:06 PM

For the moment my rig no longer displays these symptoms. Some of the recent changes and observations are:
Got new 4K tv and tested at 3140x2160 and banding was still occurring
Uninstalled ET (selecting delete all configuration records)
Reinstalled ET from the website and although no installer popped up in the user interface I could see ET installer running in task manager and assumed it was downloading and let it run until ET autolaunched (took ages)
Setup my config (did not select change refresh rate to match video)
Now for the moment I have no visible banding but I’m guessing if I enable change refresh rate to match video the issue will reoccur again.
I have notice the odd random occurrence where video will just stop playing or freeze on one section but resume will pickup at the point video playback was interrupted.
I can only assume that these bugs are related to the application layer (most likely mpv or electron) as other these symptoms can not be reproduced in other media players playing the same content on the same system

#93 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156857 posts
  • Local time: 05:04 PM

Posted 07 July 2018 - 10:01 PM

Is it possible to tell which of these situations is occurring: the video window width/height are slightly smaller than before. or it's the same size but is shifted up and to the left by a few pixels. If we know the answer to that, then maybe i can figure out a temporary hack.



#94 AdrianW OFFLINE  

AdrianW

    Advanced Member

  • Super Testers
  • 2493 posts
  • Local time: 05:04 AM
  • LocationPerth, Australia

Posted 08 July 2018 - 07:42 AM

If you turn off bitstreaming and let MPV do the decoding, does the audio still drop out?

 

I was having problems with EAC3, when I de-selected audio-passthrough, I only got 3 channel PCM. I noticed that "Enable exclusive audio mode" was off, so I turned that on and re-selected EAC3. I played a 45 minute EAC3 episode and there were no dropouts - it may be coincidence, but we'll see over the next few days.



#95 Guest_asrequested_* OFFLINE  

Guest_asrequested_*
  • Guests

Posted 08 July 2018 - 11:34 AM

I was having problems with EAC3, when I de-selected audio-passthrough, I only got 3 channel PCM. I noticed that "Enable exclusive audio mode" was off, so I turned that on and re-selected EAC3. I played a 45 minute EAC3 episode and there were no dropouts - it may be coincidence, but we'll see over the next few days.


That's odd. Can you start a new thread and post the MPV log?

#96 snapwing OFFLINE  

snapwing

    Newbie

  • Members
  • 7 posts
  • Local time: 02:04 PM

Posted 10 July 2018 - 11:06 AM

Goto HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration

Then you'll see a bunch of sub-keys.
One of those keys is for your existing monitor. It should be obvious.
One of the keys will have the text NOEDID in it, This is the default monitor key.
Open that key and replace the following values in the two 00 sub-keys from your actual monitor:


ActiveSize.cx
ActiveSize.cy
PrimSurfSize.cx
PrimSurfSize.cy
DwmClipBox.bottom
DwmClipBox.right
Stride

Reboot

The existing values will be 400 (hex) and 300 (hex). Just remember to enter the news values as decimals as they default to hex.

Thanks a lot for this!

Sent from my Pixel using Tapatalk

#97 stettler OFFLINE  

stettler

    Advanced Member

  • Members
  • 336 posts
  • Local time: 10:04 PM

Posted 14 July 2018 - 04:53 AM

Is it possible to tell which of these situations is occurring: the video window width/height are slightly smaller than before. or it's the same size but is shifted up and to the left by a few pixels. If we know the answer to that, then maybe i can figure out a temporary hack.

 

 

If most window size problems can be solved by clicking on the maximize button, can't you force a maximize of the _ET_ window, programmatically, at one point or another? Just before starting playing a video for example? (and make sure that video is also played in a window that is maximized)



#98 daedalus OFFLINE  

daedalus

    Advanced Member

  • Members
  • 1386 posts
  • Local time: 11:04 PM

Posted 14 July 2018 - 08:32 AM

so every playback start will maximize the window ?

how would you decide if it's intentionally in window mode?


Edited by daedalus, 14 July 2018 - 08:35 AM.


#99 stettler OFFLINE  

stettler

    Advanced Member

  • Members
  • 336 posts
  • Local time: 10:04 PM

Posted 15 July 2018 - 04:32 PM

so every playback start will maximize the window ?

how would you decide if it's intentionally in window mode?

 

Isn't there/wasn't there an option to start ET in full screen? If that's the case, rename it into "run ET in full screen"... (or add a new option)



#100 daedalus OFFLINE  

daedalus

    Advanced Member

  • Members
  • 1386 posts
  • Local time: 11:04 PM

Posted 15 July 2018 - 07:17 PM

Isn't there/wasn't there an option to start ET in full screen? If that's the case, rename it into "run ET in full screen"... (or add a new option)

 

better finally find & fix the real problem






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users