this post was submitted on 14 Aug 2024
168 points (94.7% liked)

Linux

48624 readers
1415 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
 

I've tried to switch multiple times and always found or encountered some issue that got me back to Windows (on desktop PC).

Last year it was after 2 months on Fedora 38 KDE when I had enough with the KDE Window Manager acting weird and broken unusable VRR on desktop and some other smaller but daily issues that I went back to W11 on my PC.

I like GNOME over KDE and back then there was no VRR support on GNOME so I only had to stick with KDE, now it's a different story.

I still have some minor annoyance which are probably solvable but I don't know how as I didn't put enough effort in finding solution.

Namely:

1.) Sometimes my 2nd monitor after boot remains blank and I have to unplug and plug back in the DP cable from the graphics card. Typically happens after a kernel update or restart but rarely on cold boot. I've seen others having this issue on Fedora40 but I haven't seen any solution mentioned.

2.) Steam UI hangs up sometimes for several seconds when trying to navigate fast trough it and especially if it needs to pop a different window.

3.) GPU VRAM OC is completely busted and even doing +-1MHz will result in massive artifacting even on desktop, not a big deal but I would take the extra 5% boost I can have from VRAM OC on Windows :)

4.) After every Kernel update I have to run two commands to get my GPU overclock to work again. I haven't figured out yet how to make a scrip that can read output from 1st command and copy it into 2nd command so I just do it manually every time which is roughly once a week.

5.) Free scrolling does not work in Chromium based browsers :( Luckily Vivaldi has some nice workaround with mouse gestures but I would still like free scrolling like on Windows.

And these are about the only annoyance I found worthwhile to mention.

Gaming works fine.

The apps I use typically work fine on Linux as well. Mangohud is amazing. No issues with audio unlike my last experience. Heck even Discord has no issues streaming video and audio now despite just using the web app. VRR despite being experimental works flawlessly on GNOME for me. I'm happy.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 4 months ago (2 children)
  1. Have you tried something like...
script_2.sh $(script_1.sh)

...and within script_2, it uses $1 to parse whatever is passed as a parameter from the output of script_1?

[–] [email protected] 2 points 4 months ago
[–] WereCat 1 points 4 months ago (1 children)

I haven't and this goes over my head honestly. I've tried replicate what you said but I'm getting a "bash level too high" and it keeps repeating. I'm quite lost when it comes to programming and scripting so I've probably did something wrong.

But if you can be bothered to help me I'm all ears. These are the 2 commands I''d like to run in script:

sudo grubby --default-kernel

output

sudo grubby --args=amdgpu.ppfeaturemask=0xffffffff --update-kernel output

[–] [email protected] 2 points 4 months ago (1 children)

did you try: sudo grubby --args=amdgpu.ppfeaturemask=0xffffffff --update-kernel "$(sudo grubby --default-kernel)"?

[–] WereCat 3 points 4 months ago (2 children)

Thanks a lot. This is actually quite simple and I've overcomplicated things for no reason. Also fully tested and working as I just got a kernel update.

I've understood your fist comment as if I needed two separate scripts files and one calls upon the other...

[–] [email protected] 2 points 4 months ago

You should definitely throw that whole line into a script though, no reason to type it out every time. Then if it's possible to have a hook that runs it after a kernel update, that would be ideal. Not sure if there's a standard way to do that, might be a bit distro dependent.

[–] [email protected] 2 points 4 months ago

You could have done that, but it's certainly much simpler to just chain the commands.

I originally thought you needed them to be run separately (perhaps due to some kind of verbose output you needed to pipe to grep or sed), but if it's just a simple output that can be fed directly into the other command, then you can just put that into a command expansion, as they suggested.