Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

mpv opens a windows only on one of my two monitors

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
pablo_supertux
Advocate
Advocate
User avatar
Posts: 2976
Joined: Sun Jan 25, 2004 1:58 pm
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

mpv opens a windows only on one of my two monitors

  • Quote

Post by pablo_supertux » Wed Jan 28, 2026 8:49 pm

Hi

I have two GPUs on my system:

- Intel Corporation CometLake-S GT2 [UHD Graphics 630] (integrated on my CPU, Intel i7-10700K), driver: i915
- NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (PCI card), driver: nouveau

My left monitor is connected to the nvidia card, the right monitor to integrated card (I just wanted to see which performed better and never bother to change the setup)

Because I use Fluxbox and want to be able to change my left and right workspaces independent from each other, I ended up with an Xorg config with two screens:

Code: Select all

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" LeftOf "Screen0"
EndSection

..

Section "Device"
    Identifier  "Card0"
    Driver      "intel"
    BusID       "PCI:0:2:0"
EndSection

Section "Device"
    Identifier  "Card1"
    Driver      "nouveau"
    BusID       "PCI:1:0:0"
EndSection


Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
...
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
...
EndSection
This setup has been working for years now.

Yesterday I realized that when I start mpv from my left monitor (nvidia), mpv fails to open a window and I get this warning and error message:

Code: Select all

MESA-INTEL: warning: ../mesa-25.2.8/src/intel/vulkan/anv_formats.c:981: FINISHME: support more multi-planar formats with DRM modifiers
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 640x360 yuv420p
[vo/gpu/libplacebo] vk->CreateSwapchainKHR(...): VK_ERROR_INITIALIZATION_FAILED (../libplacebo-v7.351.0/src/vulkan/swapchain.c:622)
[vo/gpu/libplacebo] Failed (re)creating swapchain!
Could not initialize video chain.
[vo/gpu/libplacebo] vk->CreateSwapchainKHR(...): VK_ERROR_INITIALIZATION_FAILED (../libplacebo-v7.351.0/src/vulkan/swapchain.c:622)
[vo/gpu/libplacebo] Failed (re)creating swapchain!
Video: no video
If I do the same (with the exact same file) on the right side (on the intel card), then mpv works. Only the "FINISHME: support more multi-planar formats with DRM modifiers" warning appears, but everything works.

I've found this thread https://forums.gentoo.org/viewtopic-t-1 ... 65e21a9889 and then I tried mpv on the left side with, mpv renders the window and displays the video. However, I see a different set of warnings and error messages:

Code: Select all

libEGL warning: DRI3 error: Could not get DRI3 device
libEGL warning: Ensure your X server supports DRI3 to get accelerated rendering
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu/drm] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu/drm] Failed to create DRM atomic context, no DRM Atomic support
libEGL warning: DRI3 error: Could not get DRI3 device
libEGL warning: Ensure your X server supports DRI3 to get accelerated rendering
[vo/gpu-next/opengl] Suspected software renderer or indirect context.
[vo/gpu-next/drm] Can't handle VT release - signal already used
[vo/gpu-next/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu-next/drm] Failed to create DRM atomic context, no DRM Atomic support
[vo/xv] Warning: this legacy VO has bad quality and performance, and will in particular result in blurry OSD and subtitles. You should fix your graphics drivers, or not force the xv VO.
So, it seems that neither vulkan noch opengl work on my nvidia card. Is this the right conclusion? What is going on here?

These are the USE flags:

Code: Select all

$ eix mpv

media-video/mpv

Installed versions:  0.40.0-r3(0/2)^t(11:02:35 PM 12/29/2025)(X alsa bluray cdda cli drm dvd egl iconv jpeg lcms libmpv lua pulseaudio sdl uchardet vulkan wayland xv zlib -aqua -archive -coreaudio -debug -dvb -gamepad -jack -javascript -libcaca -nvenc -openal -pipewire -rubberband -selinux -sixel -sndio -soc -test -tools -vaapi -vdpau -zimg LUA_SINGLE_TARGET="luajit -lua5-1" PYTHON_SINGLE_TARGET="python3_12 -python3_11 -python3_13 -python3_14")


eix xorg-server

x11-base/xorg-server
Installed versions:  21.1.20(0/21.1.20)^t(06:37:33 PM 11/16/2025)(elogind udev xephyr xorg -debug -minimal -selinux -suid -systemd -test -unwind -xcsecurity -xnest -xvfb)


eix nouveau

x11-drivers/xf86-video-nouveau 
NO USE FLAGS
Thanks
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Top
Post Reply
1 post • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic