From nobody Fri May 19 15:13: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 4QN9My5gYMz4C3c0 for ; Fri, 19 May 2023 15:13:34 +0000 (UTC) (envelope-from tezeka@hotmail.com) Received: from BRA01-CPZ-obe.outbound.protection.outlook.com (mail-cpzbra01acsn20805.outbound.protection.outlook.com [IPv6:2a01:111:f403:700e::805]) (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 4QN9My3DV1z3wlB for ; Fri, 19 May 2023 15:13:34 +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=J+wXlpaxlCK60DL6Eeynv2aQkBZxGMgchqa2EPGTC5YzsvgC73gdJ8WH7LTUUJBxttwrMlrNj3QOjw4BM8hEHrwWzWaQ/c5+R2tPns+5VwClTTqZk3QePTjS9U/LZEaxiHLAR9eJxWYpmYIDCzW6dR38L7y8SvSpoTo7gm7X8DpWe98VLTC//Fo2wHJotxR06n7qT+/TJKM47Wd3dxDijlyDobWcowwQCkTuy/GaYJVaBpzEuFc5PvWBYAr9kVI7iApXziKLyQwj4Ffecerbs78J6APeXT44U3j69L3REwsSX89tEsgHuZ9RoxSFFS6tluiodge1oPSntCkjDK+EIw== 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=2e6hsuuP4hFHH2ann81RfdkqPYfOk0kIr2xOQnK656g=; b=RHs7HLXo/IcCnbwbboR9VA/yOWGTyd8ixMBnGcndPv2Lh9RpNywGire8FC4i0+yitgYKxK1reX0tEO7QGQ2AVTL6EtWfQUgFBjJvbsp2y4b2Mmd6iIUgqJsOppEUPsvf7MIXTu8uVBgO04bd6WVMqUds9+CUsd5B21ehExIeppAEgt/IFJCQiAQalLq5RLk0pITaji/XKsFE87JRYaLdHmeCei2WLbwI/rYWTkiE0TSNNbBiBkcDr4ISsUTMgJIp4zHShJFEH1N9Ol0Sv3U2BV0u6dUULSAdHfA+WNX6Dk7qvbifX2d6XuY6c684HucGGHUokDzycFNIw5H82qk/dw== 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=2e6hsuuP4hFHH2ann81RfdkqPYfOk0kIr2xOQnK656g=; b=QPo9QcYqHAFr+SK7vq0FUhzynZVZ8cGiEwSrSlKtz2YH6/iOT728dEcc00KdeZ3rbzPUdftPafPFB9u6OyxWl3mAzd5pcKqnak9GPYIjCx37snsRnzRyzoiDA2pIr0rfiEkCoX3sLiYcNmI9dbLFLGmMaH7vSXUCdyAyH7W4I6nZynudvM8oaEzBuAEyP5VdBQLxJl7BkH1D5nGIiuEGdn4G8n9p12ecef4M4p5JvuhGerrPGGEWLXkKA5SOSp0HgqGQ45J8yip3umHbwSdkAPF0D3VBVB+aM3bApvQlzdfZOGpHdVUAgSueoNOCEGxBbHlffWX+Iwuq0gKhdPCdjQ== Received: from CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:118::12) by CP5P284MB2537.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:29d::11) 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 15:13: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 15:13:29 +0000 Date: Fri, 19 May 2023 12:13: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: <2b35d8980c816ed36568593f889e0970@riseup.net> Message-ID: References: <61502414be8f34256b0f93e8b20d4362@riseup.net> <2b35d8980c816ed36568593f889e0970@riseup.net> Content-Type: text/plain; charset=US-ASCII; format=flowed X-TMN: [GsMlXtumqmA/PkkIz6mL+k5iGRoC+FOP] X-ClientProxiedBy: CP4P284CA0004.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:128::11) To CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:118::12) X-Microsoft-Original-Message-ID: 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_|CP5P284MB2537:EE_ X-MS-Office365-Filtering-Correlation-Id: f1294873-c3b8-47b0-8cb0-08db587b9a1e X-MS-Exchange-SLBlob-MailProps: AZnQBsB9XmpvZmz4TmgkoOkwzzxps1kPu3IsTH50ISeWF7B5CdngrhVuZBKfzKlIV99nm9rynTp06DlJ6N2b25YZdy9H23B7ZWPSXR8T/Ue6v2OUqUWihZ0435tV1RRUPi4LkMLWMSKcDAyomQCEDb2y+O66mOmMJaFY3ZYwAQiqDzIyJNRyG48AwfHrHdQjVAhPG4erwnVCgky8cl3/KCk6QYs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3T+A/kVoV9nraBfXRg8EjbPohbGQaZxXEbtfZhQtGqYOKcbIkPwbvj46R8R3qBenyoq1ufySFNYPr+/iMy9cagKnHe6Ayde1/Oxsb5WPRIB1nyo6vfPWpjgaucQ7qiSIs9yKt+cVK39my9+b+1VtFKi1m3UWfextL0fZoatBpFrFdweYaDqyA+YhudKfQ== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?sP55LR97HGR4vUtbOIsCUqlXxizsssEGQe+LQIxpTDuX0xZhjHE0GCAsD/Jp?= =?us-ascii?Q?LSd+zRC0G6WfjPZjvxDkPeTE2AmALP9DaovuwbIocAM5LtWfgZq/FjlWVW2W?= =?us-ascii?Q?EOIdURccjz0Qqjj8aMYwikdwRltTOt8JtBw1C65lNpAVmcmoX8H2vGJdUVHw?= =?us-ascii?Q?sRrr0puL07sLdeamPg+G4oDHjHydOJDnKzKpJK0GDp967ad6tTNwY+nTnrEs?= =?us-ascii?Q?8b6CjZ6RDjjfzHThm18jh4JiEySGV+8hR3iffpqgZ++E8uubQxQHbSJxOrgc?= =?us-ascii?Q?RKaepBY0eKNxlmKUR3xA6akz1qE6Kin4q1CZFh88OoUlLixuCMEaDAvjZCcC?= =?us-ascii?Q?L7y3DD5Ex1nAXK0jEOKmccg027HXzfprjeQWEUBYysXxmyEhPOVbVvuyEYxJ?= =?us-ascii?Q?rtZ1u7A5Jx97Ilabo3aPV1sx9sheicWHe/mJJTr4QBDluyzqiBSZ3zLDzJ2G?= =?us-ascii?Q?hnkYhZ9iSndz8ovlb50E8Ve2r5T25giMhpvOJzrVqNsuqfXhukal2dZ5OMWM?= =?us-ascii?Q?+N5KB3RMiDdk/cQYu35UTr2CF0jTnsFEkVfrAt20AfLnNPU/UEpmZvgIS/Dq?= =?us-ascii?Q?Em+bR9NK9TiuOTR1KbXuli1qE8RHTBy5ZfiP5e/ryWJ66/iQ33AswkmIb0ge?= =?us-ascii?Q?EzmCbFlLdghutVL4YE0WLfKNBHiDY+K6V3uNGyALlKYckOksZrrBAtv0XX/V?= =?us-ascii?Q?2e1hjlh/Hx7xq/GcDTJ5CE6Xdy0l4148OWsiWDFE4zufBw/j4np0tXhspVeU?= =?us-ascii?Q?32f+wJ8rFgW0gyZHXqShwnjTPRCLROWmGWocrm9p8WX8U9nNKWeQo/l0mMZW?= =?us-ascii?Q?a9aXS54g1SvB1d93t2JrnotSdK12Toi/m1Ffejz0uIyLhZrhPxcfS+q2j4LD?= =?us-ascii?Q?Ri5XKkZll9X0AkQL6BGEjZLEg6f4NSRP6oGnGrLyzFnTi9n92wvJnQwh3kSM?= =?us-ascii?Q?umA4/0lPANMzs/ocOGjt/cEpWJLMLjkMBPjJxmDq+UH9nfd6V2Zxki+/kYKr?= =?us-ascii?Q?GvIwzB1I7qfQohUwSiU/nmS7TCAF30tw41DVtebl2yepoltSsBKHf88tRM04?= =?us-ascii?Q?DH9OL1n5w0B/Q6lWyy3QYAEljAsswdLPwkf+TBgzIDM76uKypG5f8E3UUW+H?= =?us-ascii?Q?l9q9JUfy3rPYkh+qrexrth/iZeMjt1svDIMVtg3LXLqAcZSHln2LY21Q1+NW?= =?us-ascii?Q?4AqBh5J1VRg0kcFMwv6xpHH9ZhODIv466kufSQ=3D=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-7dc52.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: f1294873-c3b8-47b0-8cb0-08db587b9a1e X-MS-Exchange-CrossTenant-AuthSource: CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2023 15:13:29.8564 (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: CP5P284MB2537 X-Rspamd-Queue-Id: 4QN9My3DV1z3wlB X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, 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 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