From nobody Fri May 19 12:51:26 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QN6D54TRWz4BvVh for ; Fri, 19 May 2023 12:51:33 +0000 (UTC) (envelope-from tezeka@hotmail.com) Received: from BRA01-ROA-obe.outbound.protection.outlook.com (mail-roabra01olkn2101.outbound.protection.outlook.com [40.92.96.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QN6D503Lbz3HHt for ; Fri, 19 May 2023 12:51:32 +0000 (UTC) (envelope-from tezeka@hotmail.com) Authentication-Results: mx1.freebsd.org; none ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I6OUJZitsabd3WzNH4n8HrpsOB1r/QnPNd21GPvJqq84M3bdnh77sVCyoITUpp+OgjYJCAUttiIzB50Y3I77ADzSjyfTrd6bW66C2VLw9mzMGNtnoqmKSMLqi1+MS4ujwk4LdZT7qOiB4lWpzmYAxEfKVSmmmvO3rA79qNUmOQC2egfEryNYEXPesfapAjMEKeWbeVEiDr4jsXPikjlyC5ST3SF8RFVA//ZluO/xfs3vtG0s8lBLoBuFIEQOBlldwawSkQQXCh5JnMj1zsdOJ66q4SSKsbTyPqEj/hYkxoqFoM31YRQ7BI+slqWJslyi7KwcfhIH39jN6U4tYON+Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BC9xZQ/kCmwxUMxEqlVPdtX44l/RLnlpRrR7ddvzkPc=; b=UW/5TntevCZku6EmWgsNYU4u9R9/musQwKhxetTAbeMExU2hksIivh9qzWif/eqwi8rPtd28a+vAXiO95qoOuyTaJuzucXIStw1pM/rexdjilXdhpPUyPm1RfL9C2vJj2ZG5+MiGZPn/gs+PhEwyxTjQ3xkKYObChyPE9soC1/Y5ZiNdVyl2VO3RwPxZLAmYWAFAGWwv5vzdH79rIy36OkS9yG3KAYPojW3hZ3yo0pqgLIUcZKlL4DHG1475gKf8b0/qvJ1tCcy+DXakZWhwn4K7MCugXbX98wgx6jfcKxTHhE2EuMfIqwxDqb0jX4bQwYBax0WNB175HsDVxLSqDg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BC9xZQ/kCmwxUMxEqlVPdtX44l/RLnlpRrR7ddvzkPc=; b=GRusB1dDkxhY92crbleJB1A8JiblHqV+i8VF1R45llS9xqGGcBSikKmrgVwelVARZf4WAF512xpJ++ImhQvaB3aggHV0wDMnusNBQkAlcNUdo8OZjrYSmSpkigMQWd6IyQ1TDnyITHipeuypqoW5qfRK7yAJf021S7paPChB9LdqrkntNj9arxY4yrr2a6JE1/t3EiLy2Qks+tb2CRUS1GUB7D3SgulvoX+9kKp5wxSFvPOEzZcLVefQZ/ruemRSYxVWjRK4I+WOCnkfQsfuFotohN+sV9BQXHzEMAQO/OAKmt826Nd3HpA8Z2AjI5Ea644798Coh8niHzTEoMkGJw== Received: from CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:118::12) by CP4P284MB1875.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:dd::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.21; Fri, 19 May 2023 12:51:29 +0000 Received: from CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM ([fe80::5b39:489b:b684:1605]) by CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM ([fe80::5b39:489b:b684:1605%7]) with mapi id 15.20.6411.021; Fri, 19 May 2023 12:51:29 +0000 Date: Fri, 19 May 2023 09:51:26 -0300 (-03) From: Ivan Quitschal To: Alastair Hogge cc: Ivan Quitschal , freebsd-current@freebsd.org Subject: Re: photo/video on tty console with the new VT/framebuffer In-Reply-To: <61502414be8f34256b0f93e8b20d4362@riseup.net> Message-ID: References: <61502414be8f34256b0f93e8b20d4362@riseup.net> Content-Type: text/plain; charset=US-ASCII; format=flowed X-TMN: [R595mODPtuvj8rPWvF8B9njQirBoH2d/] X-ClientProxiedBy: CP3P284CA0082.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:6e::27) To CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:118::12) X-Microsoft-Original-Message-ID: <114414f4-8629-4de2-6069-916a1794c8e9@hotmail.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CP6P284MB1900:EE_|CP4P284MB1875:EE_ X-MS-Office365-Filtering-Correlation-Id: 9d38cee6-2128-4c93-4a53-08db5867c3b9 X-MS-Exchange-SLBlob-MailProps: AZnQBsB9XmpvZmz4TmgkoOkwzzxps1kPu3IsTH50ISeWF7B5Cdngru4FDxU36GoiOS551i7jX5DcpBxlzuV4Y1vUiF/jkjiC4IOVDSYi+S2SxlZrS5kp4/4jTs4TvP0AFIs11S9lLY/sencq7V0H2b5l/d6RC442GJ6Pi0tAePk3Z9KOrBGRaxxiZonUZafLxScKL30H4t/9TZDvkKgMiW+w1gTIrJIN14tXKg4yL0i+7VO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aRB9etHqShsi1UswxIcngA+pCZ6ifr8SA5i8kuLJKLj5PtMIXowYyRQoWTVTZQo1MX4nUAB93q/Iudv3M08MabUJkgmgIWCvrZ9YVO3ouM9GumKbrcwOu4sG4V4Ms+jcSXq6/sAs3Se2ljYcFFIKYOGjDQ== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?UYV7vHwPnvq0HPgTvS4KjDXsYu25rJ05VaLwshVu3jHTgP8D5KH0vdYIyYEK?= =?us-ascii?Q?azJTDFOn/Vpu+GYFGXxFHrmbn5bZdI0fhU4G8ygbk7TEW1QF991+3JKPVZJ7?= =?us-ascii?Q?ls7l7HESZRLJVBDivd/BMyic5oJ9ALSWTYr1jPFXjCRJm7fONY5BgdOX6flr?= =?us-ascii?Q?CUJmqgf7jZdz9xHc7vtS3rUsZjptEI8vdhicIttUoWSzaGqxPIgEwAVzfyZw?= =?us-ascii?Q?ItWLX4rcdB8OAioHdJdovSO38e3l/6Q12SbZIcxlN1MSUsTn+K3etY4IL/+k?= =?us-ascii?Q?m9wqxI5uszNYFBl/4lYsaiUpp303oBJbxAB2hfVwGkU9CF0tw0G0Ln2mYU8G?= =?us-ascii?Q?DKVviOeQaKpOUgtuCsz4oRC2NUbjkk2np3sAbo3UrFERraXmu5gb6GGoPZjB?= =?us-ascii?Q?ORspVwWMdiC3g1MZONupJmmXkL8i3i/aIPr4i22oVdO4UhShr+tCRCj3EHCc?= =?us-ascii?Q?dlBqZ7kw/RFUpTS49yuXhjXKwDdV3YlLQ/kWY/qALcouBM5AL6MwCKzM68aZ?= =?us-ascii?Q?s/yOw3WggQ5jn/wuBJcIWJg1B/h+v+C+r2mlpHH+ycrYKCUdJaxiwV1LJALE?= =?us-ascii?Q?MQ9T8SdsI+hztXUnEE6vMLIefqhtwDb9wuWsrCBg7nLhN2698nkkJyTu7voY?= =?us-ascii?Q?BrjTPj6/dwzv9WQZRAouw+5467o46SHsiiSVMcfF+cP0ZqOLaSNVbNzmPcMi?= =?us-ascii?Q?izrFSFzng0BqZqfcZ0+yxpgDu5Vu8+NwW6Ys3LsxYaRI7W/aUg1w84umH2sp?= =?us-ascii?Q?to2dK9Jern3h9reLBsx8Nzk6DhXEM2ijikGBQZ0u1jhkghmP8FEGpsi63kB1?= =?us-ascii?Q?wbtem7d20A3u17+Q2TOkWgqAlNEf/PyhUk+OP3WegorEMvm9oAe72MP1kfuG?= =?us-ascii?Q?ztMWJvaD29oIjIBuxKWcHpf5xvdT3D6e6vT5hSNWaFkqPtf45M5qSqrgwUMN?= =?us-ascii?Q?hZYAaPs0POt5aruvRWYRpNAa4ezVNZ/xZK3yvLdIRsQWGmY7BXASBtmtDAlY?= =?us-ascii?Q?SsloBBDh4m+hCGlQJBc9LC/h/txdYiN2/t+DU+dmFdCS2BDdr5Ih6t56OHVS?= =?us-ascii?Q?T/8r+U7uvnjNmy/TxHMT57Uy3RRstU4dpwCMym5uZpJPgtxVCb3/j+Zd8lV0?= =?us-ascii?Q?WqV6wnFbU/rZvwKk/98guUA7ToPtwbZrhCGIQc+2fxiIkkkglXkFGlGNqzNG?= =?us-ascii?Q?7xpjC2L61nUhxshl/bjSk7RWmtp5RB5O1RRZFw=3D=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-7dc52.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 9d38cee6-2128-4c93-4a53-08db5867c3b9 X-MS-Exchange-CrossTenant-AuthSource: CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2023 12:51:29.5683 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CP4P284MB1875 X-Rspamd-Queue-Id: 4QN6D503Lbz3HHt X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N 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