this post was submitted on 09 Apr 2024
301 points (98.7% liked)

Linux

48330 readers
587 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 thought I'll make this thread for all of you out there who have questions but are afraid to ask them. This is your chance!

I'll try my best to answer any questions here, but I hope others in the community will contribute too!

(page 3) 50 comments
sorted by: hot top controversial new old
[–] Deconceptualist@lemm.ee 6 points 7 months ago* (last edited 7 months ago) (4 children)

I'm running Endeavour OS (KDE Plasma) and ran into a weird issue with my graphics. It's like windows sometimes flicker and flight with each other, some fullscreen videos won't play and just lock to a gray screen instead (e.g. in Steam, though YouTube is oddly fine), and most 3D games are super choppy and unplayable.

I'm not asking how to fix this, I just want to know how I start troubleshooting! I haven't done anything special with my system, and I think the issue started after a normal pacman update. My GPU is a GeForce GTX 1060.

Any suggestions to get started? I don't even know if the issue is Nvidia drivers, X, window manager, KDE, etc.

EDIT: The problem was Wayland. Fixed by logging in with X11 instead!

[–] BananaTrifleViolin@lemmy.world 6 points 7 months ago (1 children)

Start by checking what windowing system you're using as its a fundamental part of problem solving. It's a little confusing how to do this, the top answer in this Stack exchange thread works well.

If you're running the latest KDE then you've almost certainly been moved to Wayland and that will be the source of your problems. Wayland and Nvidia drivers don't work well together, and KDE have defaulted to Wayland in the latest release. I have had very similar issues to you with the move to wayland and have not been able to fix them - they're too fundamental and depend on updates to wayland and/or Nvidia drivers.

I know you don't want a solution but there isn't one at the moment, so you'd be wasting your time. The solution is to log out, then on the log in screen select Plasma (X11) as your session and log in again.

Personally I have had to abandon KDE as I get a different set of problems in X11. I'm on OpenSuSE Tumbleweed so have little choice inrolling back to the previously functioning version of KDE - I'm using Cinnamon instead and contemplating switching to a different Linux distro, probably OpenSuSE Leap in favour of stability over cutting edge.

Meanwhile I have the latest KDE running on another device with AMD GPU without issue.

In terms of when it'll be fixed, there is a change being made to Wayland which will effect how it and the Nvidia drivers interact (something called Explicit sync). It's just been merged into wayland so presumably will appear downstream in the coming next few months in rolling distributions. There have been articles suggesting this is going to fix most problems but personally I think this is a little brave but fingers crossed.

load more comments (1 replies)
[–] anindefinitearticle@sh.itjust.works 4 points 7 months ago (1 children)

Try switching to different versions of your graphics driver and/or kernel. Nvidia cards get really finicky about the version matchups, especially as they age. Try different combinations of the versions that are available via pacman, and maybe it’ll work. You may need to start keeping an eye on updates to your kernel and graphics driver to see if a new update fixes your issue. Welcome to life with an nvidia card. I bought an nvidia card once in 2013. By 2016 I had to start playing this game on upgrades. At one point, the graphics driver was causing kernel panics until I downgraded both and waited a few months. Very happy with AMD.

[–] Deconceptualist@lemm.ee 5 points 7 months ago

Thanks, I'll try that. I figured an update would fix it by now (it's been a few weeks) but maybe I do need to roll back.

And yes my other machine has an AMD card. This will be my last one from Nvidia since I've fully switched to Linux.

load more comments (2 replies)
[–] HATEFISH@midwest.social 5 points 7 months ago* (last edited 7 months ago) (8 children)

How can I run a sudo command automatically on startup? I need to run sudo alsactl restore to mute my microphone from playing In my own headphones on every reboot. Surely I can delegate that to the system somehow?

[–] Hiro8811@lemmy.world 5 points 7 months ago

Try paveaucontrol, it has an option to lock settings plus it's a neat app to call when you need to customise settings. You could also add user to the group that has access to mic.

load more comments (7 replies)
[–] Tovervlag@feddit.nl 5 points 7 months ago (7 children)

Ctrl Alt f1 f2 etc. Why do these desktops/cli exist. What was their intended purpose and what do people use them for today? Is it just legacy of does it stll serve a purpose?

load more comments (7 replies)
[–] crazyCat@sh.itjust.works 5 points 7 months ago (12 children)

I use Kali Linux for cybersecurity work and learning in a VM on my Windows computer. If I ever moved completely over to Linux, what should I do, can I use Kali as my complete desktop?

[–] foremanguy92_@lemmy.ml 5 points 7 months ago

No never! Do not use Kali as main OS choose Debian, Fedora, RHEL (not designed for this use case) or Arch system

[–] lemmyreader@lemmy.ml 4 points 7 months ago (2 children)

Guess you mean replicate your existing install from the VM.

From there, install Kali Linux, and restore the relevant parts.

load more comments (2 replies)
load more comments (10 replies)
[–] Linkerbaan@lemmy.world 5 points 7 months ago (12 children)

How do people not using Debian/Ubuntu follow along with tutorials when their package manager doesn't have a package that's in Apt?

[–] baseless_discourse@mander.xyz 4 points 7 months ago* (last edited 7 months ago)

I typically search the package name + fedora, it will probably tell me the alternative package that is in fedora.

Nowadays, I have moved to an atomic fedora distro, so I would severely limit the amount of package I install on my system for stability and security.

I think I only have two packages installed on my machine: fish, because it is the only popular shell that follows xdg dir; and a latex-like input method to use in slack.

load more comments (11 replies)
[–] ma1w4re@lemm.ee 4 points 7 months ago (3 children)

How do I install one Linux image to multiple machines at once?

load more comments (3 replies)
[–] JustEnoughDucks@feddit.nl 4 points 7 months ago (3 children)

How do programs that measure available space like 'lsblk', 'df', 'zfs list' etc see hardlinks and estimate disk space.

If I am trying to manage disk space, does the file system correctly display disk space (for example a zfs list)? Or does it think that I have duplicate files/directories because it can't tell what is a hardlink?

Also, during move operations, zfs dataset migrations, etc... does the hardlinked file continue tracking where the original is? I know it is almost impossible at a system level to discern which is the original.

load more comments (3 replies)
load more comments
view more: ‹ prev next ›