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
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
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.
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
