Solved question about mpv play video in freebsd 14.2 VT4 ?

Dear all:
i have nvidia old graphic card. this guy don't have drm driver for freebsd14.2 .yes it's nvidia k2000. when i used mpv play video in freebsd14.2 VT4. that will fail. if i have drm driver for nvidia k2000 , i can play normal in vt with mpv ... do we have some way to let mpv play video correctly in freebsd 14.2 vT ? thanks.
 
Here with Intel graphics (Skylake GT2) mpv() perfectly plays video in VT without any special configuration.
Dear argats , the intel graphic used kmod driver. but my only nvidia k2000 don't have drm and kmod driver. so i can't play video in VT. do you have some way to go?
 
mpv --vo=gpu test.mkv
● Video --vid=1 (h264 1920x1040 24 fps) [default]
● Audio --aid=1 --alang=chi 'Mandarin
' (eac3 6ch 48000 Hz) [default]
[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] Listing DRM devices with drmGetDevices failed! (No such file or directory)
[vo/gpu/drm] Failed to find a usable DRM primary node!
[vo/gpu/libplacebo] GetPhysicalDeviceSurfaceSupportKHR(physd, i, surf, &sup): VK_ERROR_EXTENSION_NOT_PRESENT (../src/vulkan/context.c:954)
AO: [oss] 48000Hz 5.1(alsa) (5.1) 6ch s32
VO: [gpu] 1920x1040 yuv420p
Segmentation fault (core dumped)
 
You should try it with -v flag to get more debug info.
thanks for your reply . below was more debug info..


mpv --vo=gpu -v test.mkv
[cplayer] Command line options: '--vo=gpu' '-v' 'test.mkv'
[cplayer] mpv v0.40.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
[cplayer] built on Apr 17 2025 01:55:56
[cplayer] libplacebo version: v7.349.0
[cplayer] FFmpeg version: 6.1.2
[cplayer] FFmpeg library versions:
[cplayer] libavcodec 60.31.102
[cplayer] libavdevice 60.3.100
[cplayer] libavfilter 9.12.100
[cplayer] libavformat 60.16.100
[cplayer] libavutil 58.29.100
[cplayer] libswresample 4.12.100
[cplayer] libswscale 7.5.100
[cplayer] Configuration: -Dpython.bytecompile=-1 -Db_colorout=never -Dshaderc=disabled -Dalsa=disabled -Dlibarchive=enabled -Dcaca=disabled -Dcdda=disabled -Dhtml-build=enabled -Ddrm=enabled -Ddvdnav=enabled -Djack=disabled -Dlcms2=enabled -Dlibbluray=disabled -Dlua=luajit -Dmanpage-build=enabled -Djavascript=disabled -Dcuda-hwaccel=enabled -Dopenal=disabled -Dgl=enabled -Dpipewire=disabled -Dpulse=disabled -Drubberband=disabled -Dsdl2=disabled -Dsixel=disabled -Dsndio=disabled -Duchardet=enabled -Ddvbin=enabled -Dvaapi=enabled -Dvapoursynth=disabled -Dvdpau=enabled -Dvulkan=enabled -Dwayland=enabled -Dx11=enabled -Dzimg=disabled -Dvaapi-wayland=enabled -Dprefix=/usr/local -Dinfodir=share/info -Dlocalstatedir=/var -Dauto_features=auto -Dbuildtype=release -Doptimization=plain -Dstrip=True
[cplayer] List of enabled features: bsd-fstatfs build-date consio.h cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-wayland drm dvbin dvdnav egl egl-drm egl-wayland egl-x11 ffmpeg ffnvcodec gbm gl glibc-thread-name glob glob-posix gpl iconv jpeg lcms2 libarchive libass libavdevice libdl libplacebo luajit memfd-create memrchr oss-audio posix posix-shm ppoll pthread-condattr-setclock uchardet vaapi vaapi-drm vaapi-wayland vaapi-x11 vdpau vector vk-khr-display vulkan wayland wayland-protocols-1-32 wayland-protocols-1-38 wayland-protocols-1-39 wayland-protocols-1-41 x11 xv zlib
[cplayer] Reading config file /usr/local/etc/mpv/encoding-profiles.conf
[ifo_dvdnav] Opening /usr/local/etc/mpv/encoding-profiles.conf
Opening /usr/local/etc/mpv/encoding-profiles.conf
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'vo' = 'gpu' (flags = 8)
[cplayer] Setting option 'v' = '' (flags = 8)
[clipboard] Initialized vo clipboard backend.
[cplayer] Waiting for scripts...
[cplayer] Set property: user-data/osc/visibility="auto" -> 1
[cplayer] Set property: user-data/osc/margins={"r":0,"b":0,"l":0,"t":0} -> 1
[cplayer] Done loading scripts.
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] Failed sending hook command auto_profiles/on_before_start_file. Removing hook.
[cplayer] Running hook: auto_profiles/on_load
[cplayer] Failed sending hook command auto_profiles/on_load. Removing hook.
[cplayer] Running hook: ytdl_hook/on_load
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[ifo_dvdnav] Opening test.mkv
Opening test.mkv
[demux] Trying demuxers for level=normal.
[mkv] Seeking to 2347364191 to read header element 0x1c53bb6b.
stream level seek from 131072 to 2347364191
[mkv] Parsing cues...
[mkv] Seeking to 2347413377 to read header element 0x1254c367.
stream level seek from 2347414175 to 5590
[mkv] All headers are parsed!
[demux] Detected file format: Matroska
[cplayer] Opening done: test.mkv
[find_files] Loading external files in .
[cplayer] Set property: user-data/osc/margins={"r":0,"b":0,"l":0,"t":0} -> 1
[cplayer] Running hook: auto_profiles/on_preloaded
[cplayer] Failed sending hook command auto_profiles/on_preloaded. Removing hook.
[cplayer] Running hook: ytdl_hook/on_preloaded
[mkv] select track 0
[mkv] select track 1
[cplayer] ● Video --vid=1 (h264 1920x1040 24 fps) [default]
[cplayer] ● Audio --aid=1 --alang=chi 'Mandarin
[cplayer] ' (eac3 6ch 48000 Hz) [default]
[vo/gpu] Probing for best GPU context.
[vo/gpu/auto] Initializing GPU context 'auto'
[vo/gpu/vulkan] Initializing GPU context 'waylandvk'
[vo/gpu/libplacebo] Initialized libplacebo v7.349.0 (API v349)
[vo/gpu/libplacebo] Spent 550.759 ms enumerating instance extensions (slow!)
[vo/gpu/libplacebo] Creating vulkan instance with extensions:
[vo/gpu/libplacebo] VK_KHR_get_physical_device_properties2
[vo/gpu/libplacebo] VK_KHR_surface
[vo/gpu/libplacebo] VK_EXT_swapchain_colorspace
[vo/gpu/libplacebo] VK_KHR_external_memory_capabilities
[vo/gpu/libplacebo] VK_KHR_external_semaphore_capabilities
[vo/gpu/libplacebo] VK_KHR_get_surface_capabilities2
[vo/gpu/libplacebo] VK_KHR_portability_enumeration
[vo/gpu/libplacebo] VK_KHR_surface
[vo/gpu/libplacebo] VK_KHR_wayland_surface
[vo/gpu/vulkan] Initializing GPU context 'x11vk'
[vo/gpu/libplacebo] Initialized libplacebo v7.349.0 (API v349)
[vo/gpu/libplacebo] Spent 398.646 ms enumerating instance extensions (slow!)
[vo/gpu/libplacebo] Creating vulkan instance with extensions:
[vo/gpu/libplacebo] VK_KHR_get_physical_device_properties2
[vo/gpu/libplacebo] VK_KHR_surface
[vo/gpu/libplacebo] VK_EXT_swapchain_colorspace
[vo/gpu/libplacebo] VK_KHR_external_memory_capabilities
[vo/gpu/libplacebo] VK_KHR_external_semaphore_capabilities
[vo/gpu/libplacebo] VK_KHR_get_surface_capabilities2
[vo/gpu/libplacebo] VK_KHR_portability_enumeration
[vo/gpu/libplacebo] VK_KHR_surface
[vo/gpu/libplacebo] VK_KHR_xlib_surface
[vo/gpu/x11] X11 opening display:
[vo/gpu/x11] couldn't open the X11 display ()!
[vo/gpu/opengl] Initializing GPU context 'wayland'
[vo/gpu/opengl] Initializing GPU context 'x11egl'
[vo/gpu/x11] X11 opening display:
[vo/gpu/x11] couldn't open the X11 display ()!
[vo/gpu/opengl] Initializing GPU context 'drm'
[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] Listing DRM devices with drmGetDevices failed! (No such file or directory)
[vo/gpu/drm] Failed to find a usable DRM primary node!
[vo/gpu/vulkan] Initializing GPU context 'displayvk'
[vo/gpu/libplacebo] Initialized libplacebo v7.349.0 (API v349)
[vo/gpu/libplacebo] Spent 443.229 ms enumerating instance extensions (slow!)
[vo/gpu/libplacebo] Creating vulkan instance with extensions:
[vo/gpu/libplacebo] VK_KHR_get_physical_device_properties2
[vo/gpu/libplacebo] VK_KHR_surface
[vo/gpu/libplacebo] VK_EXT_swapchain_colorspace
[vo/gpu/libplacebo] VK_KHR_external_memory_capabilities
[vo/gpu/libplacebo] VK_KHR_external_semaphore_capabilities
[vo/gpu/libplacebo] VK_KHR_get_surface_capabilities2
[vo/gpu/libplacebo] VK_KHR_portability_enumeration
[vo/gpu/libplacebo] VK_KHR_surface
[vo/gpu/libplacebo] VK_KHR_display
[vo/gpu/libplacebo] Probing for vulkan devices:
[vo/gpu/libplacebo] GPU 0: Quadro K2000 v1.2.175 (discrete)
[vo/gpu/libplacebo] uuid: A7:D0:26:0F:B3:B7:95:99:7B:D1:9C:24:DF:17:92:FC
[vo/gpu/libplacebo] GPU 1: llvmpipe (LLVM 19.1.7, 256 bits) v1.3.278 (software)
[vo/gpu/libplacebo] uuid: 6D:65:73:61:32:34:2E:31:2E:37:00:00:00:00:00:00
[vo/gpu/libplacebo] Probing for vulkan devices:
[vo/gpu/libplacebo] GPU 0: Quadro K2000 v1.2.175 (discrete)
[vo/gpu/libplacebo] uuid: A7:D0:26:0F:B3:B7:95:99:7B:D1:9C:24:DF:17:92:FC
[vo/gpu/libplacebo] GPU 1: llvmpipe (LLVM 19.1.7, 256 bits) v1.3.278 (software)
[vo/gpu/libplacebo] uuid: 6D:65:73:61:32:34:2E:31:2E:37:00:00:00:00:00:00
[vo/gpu/libplacebo] GetPhysicalDeviceSurfaceSupportKHR(physd, i, surf, &sup): VK_ERROR_EXTENSION_NOT_PRESENT (../src/vulkan/context.c:954)
[vo/gpu/libplacebo] Vulkan device properties:
[vo/gpu/libplacebo] Device Name: Quadro K2000
[vo/gpu/libplacebo] Device ID: 10de:ffe
[vo/gpu/libplacebo] Device UUID: A7:D0:26:0F:B3:B7:95:99:7B:D1:9C:24:DF:17:92:FC
[vo/gpu/libplacebo] Driver version: 75a840c0
[vo/gpu/libplacebo] API version: 1.2.175
[vo/gpu/libplacebo] Using async transfer (queue 1)
[vo/gpu/libplacebo] Creating vulkan device with extensions:
[vo/gpu/libplacebo] VK_KHR_swapchain
[vo/gpu/libplacebo] VK_KHR_swapchain
[vo/gpu/libplacebo] VK_KHR_push_descriptor
[vo/gpu/libplacebo] VK_KHR_external_memory_fd
[vo/gpu/libplacebo] VK_KHR_external_semaphore_fd
[vo/gpu/libplacebo] VK_EXT_pci_bus_info
[vo/gpu/libplacebo] VK_KHR_synchronization2
[vo/gpu/libplacebo] Spent 206.749 ms creating vulkan device (slow!)
[vo/gpu/libplacebo] Memory heaps supported by device:
[vo/gpu/libplacebo] 0: flags 0x1 size 2048M
[vo/gpu/libplacebo] 1: flags 0x0 size 1535M
[vo/gpu/libplacebo] Memory summary: 0 used 0 res 0 alloc, efficiency 100.00%, utilization 100.00%, max page: 128M
[vo/gpu/libplacebo] shaderc SPIR-V version 1.6 rev 1
[vo/gpu/libplacebo] Initialized SPIR-V compiler 'shaderc'
[vo/gpu/libplacebo] GPU information:
[vo/gpu/libplacebo] GLSL version: 450 (vulkan)
[vo/gpu/libplacebo] max_shmem_size: 49152
[vo/gpu/libplacebo] max_group_threads: 1536
[vo/gpu/libplacebo] max_group_size[0]: 1536
[vo/gpu/libplacebo] max_group_size[1]: 1024
[vo/gpu/libplacebo] max_group_size[2]: 64
[vo/gpu/libplacebo] subgroup_size: 32
[vo/gpu/libplacebo] min_gather_offset: -32
[vo/gpu/libplacebo] max_gather_offset: 31
[vo/gpu/libplacebo] Limits:
[vo/gpu/libplacebo] thread_safe: 1
[vo/gpu/libplacebo] callbacks: 1
[vo/gpu/libplacebo] max_buf_size: 2147483648
[vo/gpu/libplacebo] max_ubo_size: 65536
[vo/gpu/libplacebo] max_ssbo_size: 2147483648
[vo/gpu/libplacebo] max_vbo_size: 2147483648
[vo/gpu/libplacebo] max_mapped_size: 1610612733
[vo/gpu/libplacebo] max_buffer_texels: 134217728
[vo/gpu/libplacebo] align_host_ptr: 0
[vo/gpu/libplacebo] host_cached: 1
[vo/gpu/libplacebo] max_tex_1d_dim: 16384
[vo/gpu/libplacebo] max_tex_2d_dim: 16384
[vo/gpu/libplacebo] max_tex_3d_dim: 4096
[vo/gpu/libplacebo] blittable_1d_3d: 1
[vo/gpu/libplacebo] buf_transfer: 1
[vo/gpu/libplacebo] align_tex_xfer_pitch: 1
[vo/gpu/libplacebo] align_tex_xfer_offset: 4
[vo/gpu/libplacebo] max_variable_comps: 0
[vo/gpu/libplacebo] max_constants: 18446744073709551615
[vo/gpu/libplacebo] max_pushc_size: 256
[vo/gpu/libplacebo] align_vertex_stride: 1
[vo/gpu/libplacebo] max_dispatch[0]: 2147483647
[vo/gpu/libplacebo] max_dispatch[1]: 65535
[vo/gpu/libplacebo] max_dispatch[2]: 65535
[vo/gpu/libplacebo] fragment_queues: 1
[vo/gpu/libplacebo] compute_queues: 1
[vo/gpu/libplacebo] External API interop:
[vo/gpu/libplacebo] UUID: A7:D0:26:0F:B3:B7:95:99:7B:D1:9C:24:DF:17:92:FC
[vo/gpu/libplacebo] PCI: 0000:03:00:0
[vo/gpu/libplacebo] buf export caps: 0x1
[vo/gpu/libplacebo] buf import caps: 0x1
[vo/gpu/libplacebo] tex export caps: 0x1
[vo/gpu/libplacebo] tex import caps: 0x1
[vo/gpu/libplacebo] sync export caps: 0x1
[vo/gpu/libplacebo] sync import caps: 0x0
[vo/gpu/libplacebo] Available surface configurations:
[vo/gpu/libplacebo] 0: VK_FORMAT_A8B8G8R8_UNORM_PACK32 VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
[vo/gpu/libplacebo] 1: VK_FORMAT_A8B8G8R8_SRGB_PACK32 VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
[vo/gpu/libplacebo] 2: VK_FORMAT_A2B10G10R10_UNORM_PACK32 VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
[vo/gpu/libplacebo] 3: VK_FORMAT_A1R5G5B5_UNORM_PACK16 VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
[vo/gpu/libplacebo] Picked surface configuration 2: VK_FORMAT_A2B10G10R10_UNORM_PACK32 + VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] Assuming 60.000000 FPS for display sync.
[vd] Container reported FPS: 24.000000
[vd] Codec list:
[vd] h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd] h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
[vd] h264_cuvid (h264) - Nvidia CUVID H264 decoder
[vd] Opening decoder h264
[vd] No hardware decoding requested.
[vd] Using software decoding.
[vd] Detected 16 logical cores.
[vd] Requesting 16 threads for decoding.
[vd] Selected decoder: h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vf] User filter list:
[vf] (empty)
[ad] Codec list:
[ad] eac3 - ATSC A/52B (AC-3, E-AC-3)
[ad] Opening decoder eac3
[ad] Requesting 1 threads for decoding.
[ad] Selected decoder: eac3 - ATSC A/52B (AC-3, E-AC-3)
[af] User filter list:
[af] (empty)
[cplayer] Starting playback...
[vo/gpu/libplacebo] Spent 10.147 ms allocating slab
[vd] Using software decoding.
[vd] Decoder format: 1920x1040 [0:1] yuv420p bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 crop=1920x1040+0+0
[vd] Using container aspect ratio.
[vf] [in] 1920x1040 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1040+0+0
[vf] [userdeint] 1920x1040 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1040+0+0
[vf] [userdeint] (disabled)
[vf] [autorotate] 1920x1040 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1040+0+0
[vf] [autorotate] (disabled)
[vf] [convert] 1920x1040 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1040+0+0
[vf] [convert] (disabled)
[vf] [out] 1920x1040 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1040+0+0
[af] [in] 48000Hz 5.1(side) 6ch floatp
[af] [userspeed] 48000Hz 5.1(side) 6ch floatp
[af] [userspeed] (disabled)
[af] [convert] 48000Hz 5.1(side) 6ch floatp
[ao] Trying audio driver 'oss'
[ao/oss] requested format: 48000 Hz, 5.1(side) channels, floatp
[ao/oss] Using '/dev/dsp' audio device.
[ao/oss] Unknown/not supported internal format: float
[ao/oss] Unknown/not supported internal format: floatp
[ao/oss] Unknown/not supported internal format: double
[ao/oss] Unknown/not supported internal format: doublep
[ao/oss] Unknown/not supported internal format: s64
[ao/oss] Unknown/not supported internal format: s64p
[ao/oss] Sample format: s32
[ao/oss] Channel layouts:
[ao/oss] - mono
[ao/oss] - stereo
[ao/oss] - 2.1
[ao/oss] - quad
[ao/oss] - 5.0(alsa)
[ao/oss] - 5.1(alsa)
[ao/oss] - fl-fr-bl-br-fc-lfe-bc
[ao/oss] - 7.1(alsa)
[ao/oss] result: 5.1(alsa)
[ao/oss] Using 6 channels (requested: 6).
[ao/oss] Using 48000 Hz samplerate.
[ao/oss] device buffer: 2728 samples.
[ao/oss] using soft-buffer of 9600 samples.
[cplayer] AO: [oss] 48000Hz 5.1(alsa) (5.1) 6ch s32
[cplayer] AO: Description: OSS/ioctl audio output
[autoconvert] inserting resampler
[swresample] format change, reinitializing resampler
[swresample] 48000Hz 5.1(side) floatp -> 48000Hz 5.1(alsa) s32
[swresample] Remix: 5.1(side) -> 5.1
[swresample] Fudge: sl-sr -> bl-br
[af] [out] 48000Hz 5.1(alsa) (5.1) 6ch s32
[cplayer] VO: [gpu] 1920x1040 yuv420p
[cplayer] VO: Description: Shader-based GPU Renderer
[vo/gpu] reconfig to 1920x1040 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1040+0+0
Segmentation fault (core dumped)
 
It seems that your mpv() crashes on resize, here is the output of mine after the same stage when yours fails:
Code:
....
[vo/gpu] reconfig to 1920x1040 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1040+0+0
[vo/gpu] Resize: 1920x1080
[vo/gpu] Window size: 1920x1080 (Borders: l=0 t=0 r=0 b=0)
[vo/gpu] Video source: 1920x1040 (1:1)
[vo/gpu] Video display: (0, 0) 1920x1040 -> (0, 20) 1920x1040
[vo/gpu] Video scale: 1.000000/1.000000
[vo/gpu] OSD borders: l=0 t=20 r=0 b=20
[vo/gpu] Video borders: l=0 t=20 r=0 b=20
[vo/gpu] Reported display depth: 8
[vo/gpu] Texture for plane 0: 1920x1040
[vo/gpu] Texture for plane 1: 960x520
[vo/gpu] Texture for plane 2: 960x520
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] Dither to 8.
....
Maybe somebody can tell more looking at this.
I intentionally used a video with the same resolution of 1920x1040. Have you tried videos with different resolution/codecs/format?
 
Please post output of dmesg.
Dear t-daemon:
thanks. below was dmesg .
nvidia0: <Quadro K2000> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 470.161.03 Wed Oct 19 00:01:15 UTC 2022

is that right ?
 
is that right ?
Nope. I am interested in a vt(4) framebuffer message. Example
Rich (BB code):
---<<BOOT>>---
Copyright (c) 1992-2023 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 14.2-RELEASE-p3 releng/14.2-n269524-1eb03b059e56 GENERIC amd64
FreeBSD clang version 18.1.6 (https://github.com/llvm/llvm-project.git llvmorg-18.1.6-0-g1118c2e05e67)
VT(efifb): resolution 1920x1080

I suspect the nvidia-driver nvidia card BIOS is forcing VBE (VESA BIOS Extension) framebuffer mode (indicated in dmesg with VT(vbefb):.

Since 14.2 VBE framebuffer is not supported. To enable support, the loader must be recompiled with the changes in source code reversed.

mpv won't run in a non-framebuffer environment.

Please post dmesg in whole or dmesg | head
 
T-Daemon :
---<<BOOT>>---
Copyright (c) 1992-2023 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 14.2-RELEASE-p1 GENERIC amd64
FreeBSD clang version 18.1.6 (https://github.com/llvm/llvm-project.git llvmorg-18.1.6-0-g1118c2e05e67)
VT(efifb): resolution 1920x1080
CPU: Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz (3192.80-MHz K8-class CPU)
Origin="GenuineIntel" Id=0x306f2 Family=0x6 Model=0x3f Stepping=2
 
Okay, wrong assumption with the VBE framebuffer.

Thinking this through, to show mpv videos on my system in framebuffer, a drm-kmod driver needs to be loaded (amdgpu graphics/drm-510-kmod at the time, now it's broken with drm-61-kmod. Immediately on mpv video play in console framebuffer all consoles turn black, unrecoverable).

This Thread still-cant-get-wayland-working-with-nvidia.94129 should shade some light to the issue. The user had problems with the nvidia-drm-61-kmod driver, which in the end was resolved by a higher nvidia driver version.

wayland draws into the framebuffer as does mpv in console. This suggests mpv needs also a nvidia-drm-kmod driver on nvidia cards to show video in framebuffer (perhaps scottro could make a mpv test run in console).

Unfortunately there is no 470 version support according to graphics/nvidia-drm-kmod: Make distinfo auto-merged on build review.

...
And as graphics/nvidia-drm-[510|515|61|66]-kmod don't support legacy versions of drivers,
x11/nvidia-driver-[304|340|390|470], these can be dropped.
...
 
Okay, wrong assumption with the VBE framebuffer.

Thinking this through, to show mpv videos on my system in framebuffer, a drm-kmod driver needs to be loaded (amdgpu graphics/drm-510-kmod at the time, now it's broken with drm-61-kmod. Immediately on mpv video play in console framebuffer all consoles turn black, unrecoverable).

This Thread still-cant-get-wayland-working-with-nvidia.94129 should shade some light to the issue. The user had problems with the nvidia-drm-61-kmod driver, which in the end was resolved by a higher nvidia driver version.

wayland draws into the framebuffer as does mpv in console. This suggests mpv needs also a nvidia-drm-kmod driver on nvidia cards to show video in framebuffer (perhaps scottro could make a mpv test run in console).

Unfortunately there is no 470 version support according to graphics/nvidia-drm-kmod: Make distinfo auto-merged on build review.
Dear T-Daemon :
thanks for your help . that 's mean we can't driver my nvidia k2000 in VT with mpv . thanks . no other way to driver it with mpv ?
 
Back
Top