• 1 Post
  • 37 Comments
Joined 2 years ago
cake
Cake day: July 3rd, 2023

help-circle



  • If you ever need to disable SELinux, your software distribution is trash, or you bought some unsupported piece of hardware with crap Linux drivers. Or you are writing kernel drivers and it’s your test machine.

    What the user really needs is to launch an app in a secure sandbox with two mouse clicks, not an easier way to edit SELinux rules. Linux software distributions focus too much on technology, but don’t provide the finished user-facing solution with this technology, that’s the problem #4.


  • Nope, plasma-session crash means all your windows are goooone.

    If it’s only plasma-desktop or kwin crash, you can generally restart it from a terminal, and you need one terminal window open at all times to do that, since you won’t be able to launch a new window with no desktop, or you try to launch it from the text console, which works badly because it won’t see your plasma-session environment.








  • Back in the '90s, when you created a game, you had to build three separate game engines for DOS, Windows, and MacOS, with their separate audio and video drivers. Or you just selected DOS and ignored all Mac users.

    SDL was revolutionary, it could create an OS window for you to draw onto (or emulate a full-screen ‘window’ for DOS), and output 2D video and sound using the same SDL calls, on DOS, Windows, MacOS, Linux, AmigaOS, and even Sony PlayStation. So you had the same source code compiling to 6 different game binaries for each platform.

    SDL does not implement 3D graphics, it just initializes OpenGL in a window and passes that to your code, because the game studios went all ‘fuck you I’m using OpenGL or I’m ignoring your XBOX entirely’ so even Microsoft was forced to support OpenGL on top of it’s incompatible proprietary DirectX 3D drivers, so OpenGL became the new standardized cross-platform API for 3D graphics.

    Vulkan is a replacement for OpenGL which can use multiprocessor architecture, OpenGL is strictly single-threaded so your high-end 12-core gaming CPU ends up with one overworked core drawing all the graphics and 11 lazy cores performing Windows update in the background. The rules are already established, so every GPU and chip manufacturer will either support Vulkan or not have 3D graphics at all.



  • Creating a kernel is hard, Linux itself is not going anywhere.
    If all current maintainers suddenly disappear, several corporations, who heavily depend on Linux, will maintain their own forks, so we will get Google kernel for phones, Amazon kernel for datacenters, Valve kernel for gaming, and probably some European initiative kernel for PCs and laptops to do document editing.