this post was submitted on 17 Feb 2024
58 points (70.4% liked)

Linux

48328 readers
641 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] darkmatternoodlecow@programming.dev 71 points 9 months ago (16 children)

The point hinted at in the title is not part of this article. This is an overview of various versions and branches of UNIX, and nothing more.

[–] samc@feddit.uk 58 points 9 months ago (14 children)

At the end there's a little jab towards Wayland:

Today, the Wayland enthusiasts like to talk about how they are modernizing the Linux graphics stack. But Linux is a Unix, and in Unix, everything is meant to be a file. So any Wayland evangelists out there, tell us: where in the file system can I find the files describing a window on the screen under the Wayland protocol? What file holds the coordinates of the window, its place in the Z-order, its colour depth, its contents?

As far as I'm aware nobody has even considered extending the file metaphor to the graphics stack, and it sounds a bit ridiculous to me.

It also reminds me of this talk that suggests maybe trying to express everything as a file might not be the best idea...

[–] savvywolf@pawb.social 19 points 9 months ago (2 children)

I have a 144Hz display. I'm sure my system would love every frame hitting the filesystem layer.

[–] Kornblumenratte@feddit.de 19 points 9 months ago (1 children)

/dev/fb0 is the framebuffer. So yes, you can feed data into the filesystem and you'll see it on your display.

For Unixoids, being a file does not mean that this data is stored on a hard disk, but that all data, processes and hardware are accessible with the same toolkit. /dev/fb0, for instance, is part of the file-like interface of your graphics card.

[–] skilltheamps@feddit.de 6 points 9 months ago

/dev/fb is mostly one thing: deprecated. Also it is not really a interface of your graphics card, it is a legacy way kindly still provided for pushing fullscreen pixels to your monitor in an unaccelerated fashion for things that have not made it to kms drm (which at this point is pretty much merely the console emulation on the TTYs). It is not an interface to the graphics card, because it doesn't provide any capabilities a graphics card has (like shaders etc). In fact for just pushing pixels you can leave any graphics card completely out of your computer if you connect your screen by other means (think stuff like SPI which is common in embedded devices; you can find many examples of such drivers in the kernel source at drivers/gpu/drm/tiny ).

load more comments (11 replies)
load more comments (12 replies)