Git Product home page Git Product logo

Comments (4)

ruihe774 avatar ruihe774 commented on June 2, 2024 1

Looks like it is related to XRandr scaling. You may try --x11-netwm=no or --x11-bypass-compositor=never.

FWIW, speaking personally, I am strongly against the use of fractional scaling on X.

BTW please attach your log file.

from mpv.

alex-ie avatar alex-ie commented on June 2, 2024

@ruihe774, --x11-bypass-compositor=never (also =no) seems to solve the issue for me (but not --x11-netwm=no). Thank you. I have not noticed any problems with performance and/or quality. What are downsides of this setting?

Would you still like to get log file? Both with setting to no and yes?

from mpv.

ruihe774 avatar ruihe774 commented on June 2, 2024

I have not noticed any problems with performance and/or quality.

In Cinnamon (and some other DEs), fractional scaling is done using XRandr scaling. For example, if the resolution of your monitor is 1920x1080, and you set the scaling factor to 150%, XRandr will fake its frame buffer to 1280x720 (or 2560x1440 if 2x; I'm not very certain about its behavior). Applications draw to the scaled frame buffer and XRandr then scales the frame buffer to the resolution of your monitor. The scaling algorithm used by XRandr is likely low-quality and can cause blurry text and gamma inaccuracy.

You can check the resolution of the fake frame buffer in mpv. Enter fullscreen and use shift+i. See the "resolution" field in the "display" section.

Would you still like to get log file?

There is nothing mpv can do with this issue. With --x11-bypass-compositor and fullscreen, mpv asks X11 to bypass the compositor. Meanwhile this also bypass the XRandr scaling. The delay is caused by XRandr changing the resolution of its frame buffer.

from mpv.

Dudemanguy avatar Dudemanguy commented on June 2, 2024

I believe the above explanation is accurate and indeed there is nothing we can do here. Also, 0.34.1 is not supported anyways. If you are using only one monitor, I would recommend using Xft.dpi instead personally.

from mpv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.