this post was submitted on 08 Jul 2024
38 points (100.0% liked)

Linux

48180 readers
1478 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
 

My end goal is to get my desktop running functionally like a high-powered Steam Deck with my HDR monitor. I’m beyond fed up with Microsoft and really want a Linux distro to be the primary OS on my PC (and ultimately the only OS once Ubisoft decides to support R6: Siege on Linux). Eventually I’ll switch from my NVIDIA GPU to AMD since everything I’ve read makes AMD out to be far more consumer and Linux friendly than NVIDIA, but in the time being I’d love some help getting this working on my current hardware.


To get KDE Plasma 6 with HDR running, so far I have tried installing the latest HoloIso and Manjaro’s official Plasma desktop stable branch. Before doing all of the below I made sure that the option to use the iGPU ports was disabled in my BIOS.

For HoloIso, I’ve followed the directions from the GitHub readme file and installed from a USB drive to one of my internal 1 TB SSDs. I’m able to boot from the ISO on the USB drive and run the installation tool in HoloIso. The installation seemingly runs successfully and tells me to restart. After restarting and booting into that drive, I see the GRUB menu which disappears quickly, and then I see nothing but a black screen. I have tried booting with both of my monitors connected to my GPU via DisplayPort, and booting with only one monitor connected to my GPU via DisplayPort. Neither seems to solve the issue.

I then went on to try what seemed like a more stable distro that was similar to SteamOS - Manjaro with Plasma. Installation went smoothly and I was able to actually boot into Manjaro after installation. Noticing there was no HDR option in the display settings I did some Googling and found that I was using X11 and not Wayland (which is where the HDR support lies). I did some more Googling and found a guide to switch to Wayland (I can’t find the guide again now dangit) but upon doing so and restarting, all I saw was a black screen.

Honestly, if anyone has any suggestions for what to try I would love some help. I’m familiar with navigating Linux but relatively unfamiliar with installing it and VERY unfamiliar with display technologies so any suggestions for what to try are appreciated.

top 14 comments
sorted by: hot top controversial new old
[–] [email protected] 15 points 4 months ago

Like others have said use Endeavour OS instead of Manjarno

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

Since you want an arch based dostro, i can highly recommend EndevourOS. Its comes with an easy to use installer, many desktop env options and a few quality of life tools like a comandline tool (nvidia-inst) to install nvidia drivers. And if you choose KDE Plasma in the installer, it will default to wayland.

AMD is still by far the better gpu choice for linux, but since explicit sync support is now in the 555 nvidia driver and kde plasma 6.1, most problems that nvidia had (i had) with wayland have seemingly just vanished. So no need to imeadiatly buy a new gpu.

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago)

I’m surprised I didn’t see any reference to EndeavourOS when I was looking for alternatives to SteamOS, but with how many people here have recommended it I’ll be sure to see if I’m able to work with that

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

For what it's worth, KDE Plasma 6.1.1 and Wayland are working perfectly for me on Fedora 40, but only after installing the newest Nvidia drivers version 555.58, which was only added to the Fedora RPMFusion repo last week. Wayland didn't work well at all before that.

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

I do, using endeavourOS, which is basically "arch but with a graphical installer, using some sane defaults". Not 100% true, but true enough to think of it as such.

If you have no experience installing Linux, either use endeavouros, or go the RFTM way, and use arch. But that last one requires a lot of reading, and grasping quite a lot of Linux concepts, or be willing to learn them.

PS: I do use plain arch on my AMD laptop, but couldn't be arsed to go through the installation for my Nvidia desktop.

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

There are other Arch distros with a graphical installer: Garuda (which is my choice of distro) and Manjaro are the main ones I can think of. Doesn’t require the RTFM route, but Arch is definitely not your grandma’s Linux (or maybe it is, I don’t know anyone’s grandma).

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

I’ll definitely check out Endeavor. A lot of people are suggesting it. I’m far from ready to install a distro without assistance. I struggle hard enough when I have a GUI to work with already lol

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

To get Nvidia working on Arch here is what I did:

During installation of Arch when it asked if I wanted to chroot into my distro I did. However if you enter commandline by hitting CTR+ALT+ to change to a virtual console. If you are doing this from a chroot environment you don't need sudo.


edit the mkinitcpio.conf

sudo nano /etc/mkinitcpio.conf

In the MODULES=() section I added "nvidia nvidia_modeset nvidia_uvm nvidia_drm" without quotes. So it looked like this:

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)

Afterwards I updated my initramfs images by running:

sudo mkinitcpio -P

Then I edited my grub config:

sudo nano /etc/default/grub

Find the line that says "GRUB_CMDLINE_LINUX_DEFAULT="""

GRUB_CMDLINE_LINUX_DEFAULT="nvidia-drm.modeset=1" 

Then I updated grub

sudo grub-mkconfig -o /boot/grub/grub.cfg

Note: I use the Nvidia Proprietary drivers


Resources: Arch Wiki


I do not recommend Manjaro especially if you are going to be using the AUR (Arch User Repository) as it can cause things to break.

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

This is a fantastic guide. Thank you so much! I’ll be sure to try this

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

I don’t know how to help with the black screen, but you are on the right track with switching from x11 to Wayland for HDR support.

If you get that resolved, look into gamescope to launch Steam/games using the hdr-enabled flag.

Went through this on opensuse with an AMD build and Wayland + gamescope were the key parts getting it to work for me.

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

Yeah I’ve seen notes around the internet about Gamescope. I’ll be sure to look further into that when I get the OS working. Thanks for the tip

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

I'm on endeavour, though i also really liked manjaro. in terms of nvidia+wayland I'd say it's very flaky.

  • vrr works SOMETIMES. i have to log out and in 2-3 times into my account until the option shows in the settings, and also functions as proven using vrrtest-git
  • standby corrupts cuda and you'll need to modprobe or reboot to fix it.
  • hdr shows up but looks really grey and colorless for me, but it might be my monitor's edid being faulty. kde's sdr color vibrance option didn't help.
  • external screens are dropping frames, down to 30fps, where it was fine on windows with 60.

Keep in mind this is a 3060 laptop gpu. that means it could well be due to mux switching or whatever else. nonetheless i think nvidia seems more reliable on xorg as of this point in time, and I'm not going to buy another nvidia gpu.

this might not apply to desktop cpus at all but i thought I'd share these in case someone else has the issues as well and knows a fix, or knows for sure it's better on desktop, so i can reconsider my stance for a tower build 🤔

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

I been on endeavourOS for a few years now and I updated to plasma 6 at some point and just switched over to wayland on my 3080. Works fine in my opinion. Not perfect, but fine.

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

Just this weekend I installed Manjaro after having tons and tons of issues with SUSE since the Plasma 6 upgrade. I have a laptop with AMD integrated graphics, which Plasma is running on, so your issues may not apply to me. But if I run any apps on the Nvidia GPU in full screen, I do get the flickering issue.

My biggest issue I have is that no matter what distro I use, as soon as I install the proprietary Nvidia driver, my system fails to boot like 20% of the time. It just freezes during boot with no error messages or warnings that I can find. But once it boots, it works.

I'm not sure how to run Plasma on my dedicated GPU so I can see if I have the same issues you have. But with my current setup, it works.