this post was submitted on 09 Apr 2024
314 points (98.8% liked)

Linux

48062 readers
730 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!

you are viewing a single comment's thread
view the rest of the comments
[–] Deconceptualist@lemm.ee 6 points 7 months ago* (last edited 7 months ago) (6 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!

[–] Pizzasgood@kbin.social 3 points 7 months ago (1 children)

Look in /var/log/Xorg.0.log for Xorg errors.

Check if OpenGL is okay by running glxinfo (from the package mesa-utils) and checking in the first few lines for "direct rendering: Yes".

Check if Vulkan is okay by running vulkaninfo (from the package vulkan-tools) and seeing... if it throws errors at you, I guess. There are probably some specific things you could look for but I'm not familiar enough with Vulkan yet.

You could sudo dmesg and read through looking for problems, but there might be a lot of noise to sift through. I'd start by piping it through grep -i nvidia to look for driver-specific stuff.

Might be worth running nvidia-settings and poking around to see if anything seems amiss. Not sure what you'd actually be looking for, but yeah.

Sometimes switching from linux and nvidia to linux-lts and nvidia-lts can help if the problem is in the kernel or driver. Remember to switch both of these at the same time, since drivers need to match the kernel.

You could also try switching from the nvidia drivers to nouveau. Might offer temporary relief and help narrow down where the problem is, at the expense of probably worse performance in heavy games. Ought to be fine for 2D gaming and general desktopping.

Trying a different window manager is always an option. Don't know how much hassle that is when you use a full DE; I've always been the "just grab individual lightweight pieces and slap 'em together" sort so I don't have any real experience with KDE. But yeah. Find out what the right way to change WM is for your system, then try swapping over to Openbox or something minimal like that and see what happens.

Related to WM/DE, it could be an issue with the compositor maybe. Look up whatever KDE's compositor is and see if you can turn it off and run a different one?

[–] Deconceptualist@lemm.ee 2 points 7 months ago* (last edited 7 months ago)

This looks super helpful, thanks!

I'm a little nervous about swapping entirely over to nouveau for testing (well, moreso switching back) but I'm sure I can find a guide.

Update: No need, the problem was just Wayland vs X11.

load more comments (4 replies)