Re: photo/video on tty console with the new VT/framebuffer

From: Ivan Quitschal <tezeka_at_hotmail.com>
Date: Fri, 19 May 2023 15:13:26 UTC

On Fri, 19 May 2023, Alastair Hogge wrote:

> On 2023-05-19 12:51, Ivan Quitschal wrote:
>> hi Alastair
>
> Hey Ivan,
>
>> could you please tell us how did you do to make mpv working ?
>>
>> when i try to run it, i get something like this:
>>
>> $ mpv --vo=drm video.mp4
>>  (+) Video --vid=1 (*) (h264 424x240 30.000fps)
>>  (+) Audio --aid=1 (*) (aac 2ch 44100Hz)
>> [vo/drm] No primary DRM device could be picked!
>> [vo/drm] Failed to find a usable DRM primary node!
>> [vo/drm] Failed to create KMS.
>> Error opening/initializing the selected video_out (--vo) device.
>> Video: no video
>>
>> Exiting... (Errors when loading file)
>>
>>
>> thats what i should use correct ? --vo=drm ?
>
> What video card are you using? Have you loaded the kernel driver for it?
>
> To health and anarchy,
> Alastair
>

yes i do. intel hd graphics

  7    1 0xffffffff82f26000   19c948 i915kms.ko

drm.ko is already loaded on the kernel


thats the reason of my question, if bsd can do it to begin with. the zgv app 
that i mentioned for example. the closest thing i found for current vt newcons 
is /usr/ports/graphics/viu (which is not what im after of course)

thanks

--tzk