smplayer-dev / smplayer

Free Media Player for Windows, Linux and Mac OS with YouTube support.
https://smplayer.info
GNU General Public License v2.0
673 stars 95 forks source link

[question] Why GPU as an output driver refuses to add black stripes in fullscreen? #816

Open rado84-github opened 1 year ago

rado84-github commented 1 year ago

IDK if this is an SMPlayer or nvidia problem, so first I have to determine which is it. If it's an SMPlayer bug, I'll edit the question and make it a proper bug report. The thing is that when the output driver is "GPU", SMPlayer refuses to add the black stripes in fullscreen mode. I use these stripes to force the subtitles appear below the image, not on top of it. I don't remember why the last time I had to change the output driver to GPU, I'm guessing that X11 might have had problems but it was long ago and I don't remember.

The OS is Arch Linux, the GPU is 1660 Ti and the backend is mpv, if it matters.

So, does anyone have any idea why when the output driver is GPU, SMPlayer refuses to add black stripes in fullscreen?

smplayer-dev commented 1 year ago

I've just tested on my computer and GPU does add black borders in fullscreen. So it must be something else in your configuration.

rado84-github commented 1 year ago

I've just tested on my computer and GPU does add black borders in fullscreen. So it must be something else in your configuration.

This is my config file, if you can figure out what's causing this, I'd be grateful. I had to rename it to '.txt' bc github refuses to accept ini format: smplayer.txt

smplayer-dev commented 1 year ago

I tested your smplayer.ini and I still get black borders in fullscreen. Are you using the latest version of smplayer?

rado84-github commented 1 year ago

I tested your smplayer.ini and I still get black borders in fullscreen. Are you using the latest version of smplayer?

Yes, 23.6.0 (10157).

smplayer-dev commented 1 year ago

Video filters are disabled when using vdpau as video output or when using decoding by hardware, so try disabling those options if you're using them.

rado84-github commented 1 year ago

Video filters are disabled when using vdpau as video output or when using decoding by hardware, so try disabling those options if you're using them.

All the items in the Filters menu are disabled and the problem with the black lines is still happening. If there are any other filters, IDK how to find them.

smplayer-dev commented 1 year ago

Be sure hardware decoding in preferences -> performance is disabled.

rado84-github commented 1 year ago

Be sure hardware decoding in preferences -> performance is disabled.

That did it! Thanks! Now black lines do appear with GPU for output driver. That also removed another problem of a black shadow flickering which appears when nvidia's force full composition pipeline is enabled.

rado84-github commented 1 year ago

I just discovered that disabling the hardware encoding in preferences --> performance makes smplayer to freeze when trying to watch youtube videos. Well, I can disable it on a case by case scenario.