this post was submitted on 05 Aug 2023
19 points (91.3% liked)

Linux

48640 readers
1672 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
 

The most annoying thing about using Linux on my laptop is that the HDMI doesn't work out of the box because by default, "hybrid graphics" means your nVidia GPU won't be turned on until it's told to run a single program using PRIME offloading.

My system is an Acer Nitro 15 with a Ryzen 4600H and an nVidia 1650Ti

If you want to get HDMI working, which imo should just be standard functionality in a 2023 Linux laptop, you'll want to go through these steps.

  1. Uncomment #WaylandEnable=False in /etc/gdm/custom.conf - We'll need to log in with "Gnome on Xorg" to use the hybrid graphics mode. It still lets us use Wayland if we want, though, so if something on X11 breaks you have a fallback.
  2. Install gdm-prime from Pacman. It lets the graphics switcher app hook into x11 to control the active graphics profile.
  3. Install optimus-manager from Pacman. This will let us switch to hybrid graphics mode.
  4. Edit /usr/share/optimus-manager.conf and set startup_mode, startup-auto-battery-mode, startup-auto-extpower-mode to your desired options. Hybrid was what you need to set to get HDMI working without extra setup.
  5. Restart the system.
  6. Confirm your system has set your desired option with optimus-manager --status (should be hybrid).

Extra steps for the reader.

  1. Set up power management for the nvidia GPU. My battery probably will suffer but gaming laptops usually stay plugged in anyway :P You can do this but I'm not sure how to get it working and don't wanna break anything.

  2. Explain how to do this with KDE. Shouldn't be hard just dont do step 1. and check the optimus-manager git repo for tips on doing this on KDE Manjaro.

  3. Figure out how to do this on Wayland. X11 is going out of style and I don't wanna be stuck on X11 forever - GNOME gets so buggy with it ;_;

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here