this post was submitted on 14 Oct 2023
94 points (97.0% liked)

Linux

48709 readers
1022 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'm starting to get ads in my Windows notifications so it's time I move.

I got ~~Manjaro KDE~~ Endeavor OS with KDE installed and got my most played non-steam games running through steam proton which is awesome.

But I have a few big issues.

  1. My network randomly drops. A restart fixes but I can't even download Cyberpunk with my 1GB connection before it crashes. Klogs showed something about the network manager successfully shutting down but I can't find much else.

  2. No Radeon software. I sometimes need to record clips/ stream so relive is nice but the biggest problem is my second 1080p monitor I Super Resolution to fit more programs on it. I can't find a way to replicate that functionality. I also do not know how to control Radeon anti-lag, chill, Smart Memory Access, etc.

  3. HDR controls. Nothing in the display settings so I'm lost

  4. Alternative Software I haven't spent a lot of time looking but things like wallpaper engine, rainmeter, powertoys.

If anyone ran into the same things and has solutions it'd make my day.

EDIT: With the overwhelming note from everyone here I distro-hopped to Endeavor OS with KDE (I liked that it let me install multiple DE's) biggest loss is the App store but I was already using winget/choco on Windows so having to do pacman -S is pretty much the same. EDIT: Added KDEs Discover and its backend, seems to be alright.

installing plasma-wayland-session and switching to Wayland let me set display scale below 100% removing the biggest need for Radeon Software.

Network thing I'm still digging into but it persisted from the distro hop and I think is Steam-related because if I don't launch steam it just doesn't happen

EDIT2:

netmon logs - https://pastebin.com/wKZrV04Y demsg - https://pastebin.com/3rAPcAve

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 47 points 1 year ago (3 children)

My network randomly drops. A restart fixes but I can't even download Cyberpunk with my 1GB connection before it crashes. Klogs showed something about the network manager successfully shutting down but I can't find much else.

Share the output of sudo dmesg logs as well as sudo journalctl -u NetworkManager | cat. The first is the kernel logs about what's going on with your connection, and the second one is from the utility that manages networking on most systems (there's alternatives but pretty sure Manjaro uses NM). It should give us more info as to the reason of the disconnections.

No Radeon software. I sometimes need to record clips/ stream so relive is nice but the biggest problem is my second 1080p monitor I Super Resolution to fit more programs on it. I can't find a way to replicate that functionality. I also do not know how to control Radeon anti-lag, chill, Smart Memory Access, etc.

Most of these things are more deeply integrated on Linux, so you don't need to worry about them for the most part. Some of them are also buzzwords for marketing purposes for features that really should be default on, which on Linux, when it's reasonable, do default to on. For example, you don't turn Smart Memory Access on: if it can use it, it will use it. Same with VRR, at least on Wayland: just on by default on KDE.

  • ReLive: you can use any screen recorder that will work on any GPU. Right now with the Wayland transition it's a bit weird and OBS is the better choice there, but on an Xorg session you can just use something like Simple Screen Recorder. On KDE, Spectacle, the default screenshot utility also has the ability to record short video clips but it can be a little buggy.

  • Super Resolution: just set the monitor's scaling to less than 100% in the display settings. It's technically probably better than Super Resolution for apps that supports <100% scaling, because instead of making a fake 4K display for example, it'll render everything at 1080p still but instead cause apps to render smaller, achieving the same result but with the potential of remaining pixel perfect. It won't be doing any AI scaling though, so YMMB.

  • Anti-lag: it's kind of a hack, and on Linux we're trying to get things right for the graphics stack with Wayland. But if you're running Wayland, KWin is already doing what it can to reduce lag on the desktop, and individual applications have to implement similar methods if they want to. Have you run into specific things where it's noticeable? Linux is generally pretty good when it comes to input lag already.

  • Chill: you can run games in Valve's gamescope wrapper to limit framerate. That's exactly how they do it on the Steam Deck. You can also use CoreCtrl to underclock the GPU.

  • Smart Memory Access: it's just marketing for Resizable BAR, and it's on by default. You can check with sudo dmesg | grep BAR=, if it's greater than 256M and equal to your GPU's memory size, it's working.

[    7.139260] [drm] Detected VRAM RAM=8176M, BAR=8192M
[    7.576782] [drm] Detected VRAM RAM=4096M, BAR=4096M

HDR controls. Nothing in the display settings so I'm lost

Yeah that one's still WIP unfortunately. It's technically possible on Xorg but you have to run everything HDR all the time and things break. It's coming along fairly well!

Alternative Software I haven't spent a lot of time looking but things like wallpaper engine, rainmeter, powertoys.

  • Wallpaper Engine -> KDE's desktop backgrounds have a lot of options to do similar stuff including animated wallpapers. Go to change your wallpaper, there's a button to download new modules and new backgrounds. For example: https://store.kde.org/p/1413010
  • rainmeter -> Conky, or KDE's desktop widgets. Right click on your desktop, add graphical component.
  • powertoys -> A lot of those have built-in and better equivalents. Fancy zones: we've had that as standard for a good decade here. You can also fairly easily make your own or use other people's KWin scripts, which lets you manipulate the desktop however you want. Here's some examples: https://store.kde.org/browse?cat=210&amp;ord=latest

You can even download desktop effects, if you like your windows to burn down or have a glitch effect or whatever: https://store.kde.org/browse?cat=209&amp;ord=latest


It takes some time to adjust, but welcome abord! Depending on how much you customize, you may find it difficult to go back to Windows!

[–] [email protected] 9 points 1 year ago (2 children)

Ty for the tips! Makes sense that a lot of those Radeon settings are default. I did mainly have a slight underclock on the GPU and a minor auto bump on the CPU after tweaking the curve optimizer to -15.

I'll do more digging with the network thing when I'm at my PC and update as I go.

How do I set display scaling below 100%? That was the instinct but there is only a slider and it doesn't go below 100%, some googling got me some xrand commands for making a 1440p profile but that ends up with an out-of-range message on the monitor.

With the gamescope util, the %command% would be the path to the game exe/bin that's usually there?

I did end up finding things like snapping from Powertoys which was my biggest thing now looking for shortcuts for them. Think the other is finding a run menu, I've heard there are some just need to find one.

For Wayland vs X, I'm not sure what this version is running but I'm hoping I don't have to think about that much. The main usage is just games which I got working in an hour tinkering and occasional vscode/ium and Arduino IDE. Still need to tinker with making xprog work or finding an alternative that works with that USB programmer.

Speaking of games, is it possible for Steam to consolidate its sandboxes? I imagine having so many redundant copies of mfc140 and other DLLs would be eating at the space? There also seem to be some effects missing, namely, Bloom. It seems to have issues rendering in comparison to Windows, is this a case of missing DLLs or just the proton layer not translating them yet?

Thank you so much for your time and info, I'm quite excited about making this all work!

[–] [email protected] 6 points 1 year ago (1 children)

How do I set display scaling below 100%? That was the instinct but there is only a slider and it doesn't go below 100%, some googling got me some xrand commands for making a 1440p profile but that ends up with an out-of-range message on the monitor.

That might be Wayland-only. If you're on AMD, you can launch a Wayland session by selecting Plasma (Wayland) before you log in with your password. Bottom corner iirc. There are some drawbacks, but it's the future of the Linux graphics stack and where all new developments happen.

For Xorg, see "Scaling the desktop and simulate/render a new resolution" of https://unix.stackexchange.com/a/596888

For Wayland vs X, I'm not sure what this version is running but I'm hoping I don't have to think about that much. The main usage is just games which I got working in an hour tinkering and occasional vscode/ium and Arduino IDE.

You can ignore the gory details, but the gist of it is that Linux has used Xorg to drive the graphics for a good 3 (4?) decades, and was originally designed for terminals and mainframes so you could run applications on a remote server and render it locally. For perspective, for a while when you ran a 3D application, it straight up displayed the 3D box as an overlay on top of the desktop, so you couldn't overlap other applications over the 3D app because of the hack. Been solved for 2 decades, but that gives an idea of how much it's not made for that. As such, it's old and complicated and just not designed for how we use computers these days.

Wayland is the new one in development since the 2010s ish that aims to get everything right for the foreseeable future. But it still lacks some features, like until recently, no screen sharing and stuff. What it does however works really well. My Wayland session is way snappier than the Xorg one on 3 monitors. Worth a try, if you don't like it, just go back to Xorg.

Speaking of games, is it possible for Steam to consolidate its sandboxes? I imagine having so many redundant copies of mfc140 and other DLLs would be eating at the space? There also seem to be some effects missing, namely, Bloom. It seems to have issues rendering in comparison to Windows, is this a case of missing DLLs or just the proton layer not translating them yet?

I'm not 100% sure, but I think it's not a complete copy. A lot of those are just stubs so that they exist. On some filesystems, I think they're basically copy-on-write so they don't really take space even though they might show up as being large. The files only become copies when they get modified, so unless modified by an installer or whatever, they're the same file. Basically CoW is, you can copy a 10GB file 10 times over, it copies instantly because it doesn't actually do the copy, and although it measures as 100GB, it's only using the original 10GB. If you modify it, then only the changes take actual space. That might be btrfs/zfs exclusive though, my system has automatic deduplication and compression set up and I have more space than I can find uses for.

But otherwise, the copies have advantages in that one game may use one version, and another a different version that's not compatible, but it just works. Each game can get its own container with the ideal version of everything for it to work.

[–] [email protected] 2 points 1 year ago

Yep, got into wayland and there it was! Thanks bunches.

[–] [email protected] 4 points 1 year ago

With the gamescope util, the %command% would be the path to the game exe/bin that's usually there?

Yes, but you also leave it as-is. Steam replaces it for you, so basically gamescope -w1280 -h720 -W1920 -H1080 %command% in the launch options would AMD FSR upscale the game from 720p to 1080p and Steam will fill in %command% with whatever it needs to run Proton and then the game in it. Just need to make sure the options are between gamescope and %command% for them to be interpreted correctly.

[–] [email protected] 2 points 1 year ago

netmon logs - https://pastebin.com/wKZrV04Y demsg - https://pastebin.com/3rAPcAve

So I pretty much can narrow it down to Steam. If I download stuff and let it go zoom with uncapped rate, it crashes. I pause the download for a bit and it eventually recovers. Wild.

[–] [email protected] 1 points 1 year ago

Another tip off. During large downloads nothing else except the process doing the downloading works. I don't get it. Technically the network works but only for that one app. It's like something locks for some reason?