Skip to content

fs=no in some auto-profiles doesn't work when using D3D11 GPU API #16119

@dieEisdiele

Description

@dieEisdiele

mpv Information

mpv v0.40.0-8-g6ec0d06aa Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
 built on Mar 26 2025 02:02:19
libplacebo version: v7.350.0 (v7.349.0-60-g5da017f-dirty)
FFmpeg version: N-118929-g08e334e46
FFmpeg library versions:
   libavcodec      61.33.102
   libavdevice     61.4.100
   libavfilter     10.9.100
   libavformat     61.9.108
   libavutil       59.60.100
   libswresample   5.4.100
   libswscale      8.13.103

Other Information

- Windows version: 10.0.19045.5608
- GPU model, driver and version: AMD Radeon RX 6900 XT (24.30.31.03-250225a-413647C-AMD-Software-Adrenalin-Edition)
- Source of mpv: zhongfly build
- Latest known working version: unknown
- Issue started after the following happened: I removed `gpu-api=vulkan` from my mpv.conf

Reproduction Steps

In mpv.conf, set fs=yes.
Make sure you are not using gpu-api=vulkan or gpu-api=opengl (these produce the expected behaviour).
Define an auto-profile:

[no-video]
profile-desc=Starts the player without fullscreen when playing audio-only content.
profile-cond=vid == false
fs=no
autofit=600

Play an audio file.

Expected Behavior

Player starts as a small window (i.e. both fs=no and autofit=600 are applied).

Actual Behavior

Player starts in fullscreen, but the window is small after manually leaving fullscreen (i.e. fs=no is not applied, but autofit=600 is).

  • Both the terminal and the log file indicate that the autoprofile has been applied, and according to the log file both fs=no and autofit=600 are applied.
  • The expected behaviour is produced if the no-video profile is applied manually using mpv --profile=no-video [audio_file]
  • The following auto-profile does work correctly when opening image files, regardless of the gpu-api setting:
[image]
profile-desc=Starts the player looping and maximised when displaying still images.
profile-cond=p["track_list/0/image"]
fs=no
border=yes
window-maximized=yes
loop-playlist=yes
loop-file=yes
  • Tested across multiple audio files, and with lua scripts disabled (although log files provided below are with lua scripts enabled)

Log File

Problematic behaviour described above: output.txt

Expected behaviour by manually applying profile: manual-profile.txt
Expected behaviour using Vulkan: vulkan.txt
Expected behaviour using the other auto-profile described above: image-profile.txt

Sample Files

No response

I carefully read all instruction and confirm that I did the following:

  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions