Getting pixels on screen on Linux: introduction to Kernel Mode Setting - Simon Ser

  Рет қаралды 12,197

foss-north

foss-north

Күн бұрын

Пікірлер: 18
@miltiadiskoutsokeras9189
@miltiadiskoutsokeras9189 3 жыл бұрын
KMS is actually a very good candidate for computer and console emulation, especially when a CRT monitor is used. Minimal display latency. What I haven't figured out yet is how to use a custom display mode without a custom EDID file, which restricts your runtime options.
@grahamdonaldson9069
@grahamdonaldson9069 7 ай бұрын
Really useful and informative!
@mohammedyassin8706
@mohammedyassin8706 3 ай бұрын
Thank you for sharing all this informations :) ! Is it going to work under different Linux desktop enviroments or it only works in Linux test consoles ??
@vaishalithakkar2738
@vaishalithakkar2738 Жыл бұрын
Very informative talk! 🎉
@voltflake
@voltflake Жыл бұрын
Very helpful, thanks!
@Alperic27
@Alperic27 4 ай бұрын
conclusion… whatever the structure of what you are doing, the kernel only deals with a rasterized version of it… a thought: 3 ioctl for something that should be done with… drumrolls… 1 … if the structure passed contained all the data. 🤔 … where did i see something similar… …. right!! got it… it is what was done to vulkan to learn from the inefficiency of opengl. so then… when will drm be modernized??? the funny part is that the atomic part is basically already similar to the vulkan notion of command buffers… … so why not go all the way and also change these 3 ioctls at the start into 1 (and do it everywhere else where applicable)
@maxf1542
@maxf1542 Жыл бұрын
How does this all relate to the /dev/fb0 I can write to today
@robertolin4568
@robertolin4568 4 ай бұрын
fb0 is created by an old graphic framework in the kernel called fbdev. It’s considered legacy now.
@raghul1208
@raghul1208 2 жыл бұрын
Bravo
@dipi71
@dipi71 4 жыл бұрын
1:49 What is an »app«? An executable? A binary? A process? A task? Does it have to have graphics, or are bash and grep apps too? Great talk otherwise. Cheers! Edited to add a fun aside: You can compile a kernel without DRM support (as I do), which would mean the device(s) under »/dev/dri« wouldn't be present. The open() function at 9:52 would fail in that case. Yet, X11 still initializes the gfx card correctly (at least in my case), the display manager starts KDE/Pasma, Steam games and in-browser WebGL/ShaderToy stuff work as they should, despite no kernel-space DRI/DRM support. How is that? Do X servers use some other mechanisms?
@EmerSion
@EmerSion 4 жыл бұрын
> What is an »app«? An executable? A binary? A process? A task? I was referring to graphical applications here. CLI tools don't need to draw pixels on screen so they don't need to talk to the compositor (they can just print characters on stdout). > How is that? Do X servers use some other mechanisms? Yes, X.Org's server also supports connecting to fbdev (/dev/fb0). This is a legacy API and it's quite limited, DRM supersedes it. > Great talk otherwise. Cheers! Thanks!
@dipi71
@dipi71 4 жыл бұрын
@@EmerSion Thank you for clarifying. I have neither the dri nor the fb0 device over here, so my Nvidia driver (or openSUSE, my distro) must use some other black magic to make it work. Baffles me. Frame buffers, DRI/DRM, X and Wayland are as fascinating as well as their history (just watching »The real story behind Wayland and X« from LinuxConf Australia 2013). Cheers!
@hitaishibarai9062
@hitaishibarai9062 3 жыл бұрын
@@EmerSion Can you please share the ppt for this one? It seems in the link provided in the description the slides are not available for download anymore...Thank You
@EmerSion
@EmerSion 3 жыл бұрын
@@hitaishibarai9062 Sorry about that, should be fixed now!
@logangraham2956
@logangraham2956 Жыл бұрын
@@EmerSion but thing is, i just need a framebuffer and knowledge of it's resolution for the application i plan to be making. because i'm just going to be using the linux kernel as a temporary test bed for my own kernel functionality as i'm doing osdev, so the concept is to write some kind of wrapper code that will hide the fact that i'm not currently running on my own kernel so that i can develop my graphics library and then port it back to my own kernel (minus the wrapper code of course).
Introduction to Memory Management in Linux
51:19
The Linux Foundation
Рет қаралды 179 М.
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 19 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 228 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 32 МЛН
Thomas Zimmermann The Linux Graphics Stack in a Nutshell
31:44
SUSE Labs
Рет қаралды 2,6 М.
ELCE 2022: Navigating the Linux Graphics Stack
39:24
Pengutronix
Рет қаралды 5 М.
FEW SECONDS to Unlock a Fine-Tuned LLaMA 3.2 Power Locally with Ollama!
3:51
AI Tech Explained Right
Рет қаралды 1,3 М.
Graphics: A Frame's Journey - Daniel Stone, Collabora
43:55
The Linux Foundation
Рет қаралды 2,1 М.
Copy of lec15 control hijacking1
1:04:17
PlayerMathinson
Рет қаралды 8
EGLStreams vs GBM
9:29
John Panos
Рет қаралды 1,6 М.
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 19 МЛН