this post was submitted on 30 Mar 2024
148 points (98.1% liked)

Linux

47342 readers
1499 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
 

Curious to know the coolest things you achieved by configuring your kernel. I know kernel config can be boring, but I'm hoping someone will have an impressive answer.

For me I have a very lightweight kernel that runs wayland on nvidia without any issues to date.

you are viewing a single comment's thread
view the rest of the comments
[–] Rikj000@discuss.tchncs.de 16 points 5 months ago* (last edited 5 months ago) (2 children)

I run linux-xanmod-anbox for root support in Waydroid (Android on Linux).

And I configured my kernel to support VFIO (Virtual Function Input Output).
So I can fully pass through one of my GPUs to my Ameliorated Windows KVM,
which I use for both work and gaming.

[–] taaz@biglemmowski.win 10 points 5 months ago (1 children)
[–] Rikj000@discuss.tchncs.de 19 points 5 months ago (2 children)

Amazing, basically native speeds,
currently playing Horizon Forbidden West with maxed out graphics and DRS disabled at a steady 60-80 FPS.

Previously I also played Horizon Zero Dawn in it, also maxed out graphics, steady locked 100 FPS,
below is a benchmark comparison of HZD in the Linux host OS and the Windows KVM guest OS:
workstation-gaming-linux-vs-windows

[–] warmaster@lemmy.world 5 points 5 months ago (1 children)

Amazing. Does Photoshop work ?

[–] Rikj000@discuss.tchncs.de 4 points 5 months ago (1 children)

Yush, it does under the KVM :)

[–] xnx@slrpnk.net 2 points 5 months ago (1 children)

Is there an easy way to run this for photoshop? GUI if possible

[–] Rikj000@discuss.tchncs.de 1 points 5 months ago

No easy way to set it up I'm afraid.

But if you're interested,
I posted all the bookmarks I made, with tutorials and tools, when I set mine up here:
https://discuss.tchncs.de/comment/9245159

[–] ikidd@lemmy.world 5 points 5 months ago (1 children)

Has this gotten any easier to do? I set it up a few years ago, it was painful to do and maintain so I let it slide. You were writing all sorts of scripts to specify the passthrough devices and then they'd stop working so you had to track down what was failing and update. Then there was iommu so you had to be careful which groups you added devices to.

[–] Rikj000@discuss.tchncs.de 4 points 5 months ago

Gotta admit, it was very hard to setup initially.
However it's been working perfectly ever since I did.
Been using it for about a year or 2 now.

Also when I linked the Arch wiki,
I noticed in it's article that there's now a gpu-passthrough-manager,
which will likely make the process of setting up a little bit easier.

[–] Pantherina@feddit.de 0 points 5 months ago (1 children)

Root Waydroid lol, thats basically hell.

Waydroid without SELinux already removes all the Android sandboxing. Now its rooted!

[–] Rikj000@discuss.tchncs.de 1 points 5 months ago (1 children)

Root on Android is a necessity for me.
I've been rooting all droids I use for the past 10 years or so.

Imagine using Linux as a power user,
without being able to use sudo/su.

Also, Magisk does not just allow any application to access root, you have to manually allow apps to make use of it.

Just like administrator rights on any other OS,
things only go wrong if you don't know what you're doing, and then grant rights to something malicious.

[–] Pantherina@feddit.de 2 points 5 months ago

Yes but Waydroid is not an Android phone. Have a look at this

https://github.com/waydroid/waydroid/issues/1136#issuecomment-2016948867