Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2023 09:51:26 -0300 (-03)
From:      Ivan Quitschal <tezeka@hotmail.com>
To:        Alastair Hogge <agh@riseup.net>
Cc:        Ivan Quitschal <tezeka@hotmail.com>, freebsd-current@freebsd.org
Subject:   Re: photo/video on tty console with the new VT/framebuffer
Message-ID:  <CP6P284MB190039DD925349563C3AEC0FCB7C9@CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM>
In-Reply-To: <61502414be8f34256b0f93e8b20d4362@riseup.net>
References:  <CP6P284MB1900C6E2A105643BC6D3151ECB7C9@CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM> <61502414be8f34256b0f93e8b20d4362@riseup.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 19 May 2023, Alastair Hogge wrote:

> On 2023-05-19 11:04, Ivan Quitschal wrote:
>> Hi all
>>
>> i have a question. searched everywhere and found nothing about.
>>
>> Is it possible to visualize photos on tty console like we used to on old SYSCONS by using zgv or something?
>>
>> Or watching videos with mpv/mplayer + sdl 2.0/openGL or something?
>
> As long as those packages support DRMKMS and does your GPU, you can to a
> degree. I noticed video works for mpv and games/sdl, tho, I cannot get
> input working. I tried the Doom 3 port, and watched movies with mpv all
> from the vty just a couple of months ago.
>
> To health and anarchy,
> Alastair
>

hi Alastair

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 ?


thanks

--tzk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CP6P284MB190039DD925349563C3AEC0FCB7C9>