mpv-player / mpv-player/mpv

mpv does not honor -fs-screen=2 (not primary screen, but secondary) when using vo=gpu on a system with 2 gpus with the second monitor connect to a second gpu

Open
#7,568 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core:option-param-conf os:win
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Important Information

Provide following Information:

  • mpv compiled from git master as of 3/30/20
  • Windows 10
  • compiled from source
Reproduction steps

mpv file.mp4 --fs-screen=2 --screen=2 -vo direct3d --no-config -fs #WORKS movie shows fullscreen on second monitor on second gpu in fullscreen mode

mpv file.mp4 --fs-screen=2 --screen=2 -vo gpu --no-config -fs #DOES NOT WORK movie shows on primary windows monitor in full screen mode but windowed on second screen

Expected behavior

mpv should output the movie on the second monitor when using vo=gpu and fs-screen is set to monitor number 2

Actual behavior

mpv always outputs movie on primary gpu/display when vo=gpu even when fs-screen is set to second monitor on second gpu

Log file

log.txt

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 log.txt and reproducing the two commands in the issue, comparing vo=direct3d with vo=gpu on the two-GPU, two-monitor Windows setup. Trace how --fs-screen=2 and --screen=2 are handled for vo=gpu; done means the movie is fullscreen on the secondary monitor attached to the second GPU.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.