mpv-player / mpv-player/mpv

wayland hidpi scaling behavior 3840x2160 opens as 11520x6480

Open
#11,477 35 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

os:linux vo:gpu:wayland
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Important Information

Provide following Information:

  • mpv version: master
  • Linux Distribution and Version: fedora 38
  • Source of the mpv binary: master
  • If known which version of mpv introduced the problem: latest
  • Window Manager and version: mutter44 wayland latest
  • GPU driver and version: intel igpu
Reproduction steps

open 3840x2160 video
wayland scaling is set to 300% on 13.3" 4k laptop

Expected behavior

open as 3840x2160

Actual behavior

actual size is 11520x6480

Log file

mpv.log

maybe hidpi behavior should be integer scaling closest to display resolution?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked mpv.log alongside the reproduction details for Wayland scaling at 300% on a 3840x2160 display. Trace the reported window dimensions and determine how the behavior should preserve the expected 3840x2160 size; done means the video opens at that size under the stated setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.