this post was submitted on 21 May 2024
332 points (97.7% liked)
Linux
48688 readers
420 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Setting up nvidia drivers wasn't an issue? Well then I guess I was stupid or just extremely unlucky. I ran into so many driver issues on Mint it's ridiculous.
Probably a day late and a dollar short but here:
I was having issues until I turned secure boot off. I also have to have two graphical drivers running.
This page helped out https://forums.linuxmint.com/viewtopic.php?t=370633
No you don't, they're mutually exclusive, there are a couple of ways to check which one you're running, from
lsmod
to check which module is loaded on the kernel to my favorite:glxinfo | grep -i vendor
First of all don't run random commands from the internet without understanding them. Now to what that command does,
glxinfo
prints a lot of output about what's being used to render OpenGL, you might need to install mesa-demos, mesa-tools or something else if glxinfo is not installed by default. Then the pipe, i.e. the vertical bar|
says to grab the output from the left command and feed it to the right command.grep
is used to filter an input, and the-i
flag tells it to do it without being case sensitive, i.e. Insensitive. Thenvendor
is the text you're using as a filter. Long story short that command shows information about the vendor used to render OpenGL.If it says Nvidia you're using the proprietary driver (which you should use from your other comment). If it says Mesa you're using the open source drivers (which should be "fine" but will have very bad gaming performance)
this seems to imply it ll switch the gpu on or off depending on load
Ok, prime laptop, run the following then:
prime-run glxinfo | grep -i vendor
if prime-run doesn't work there are others like optimun, I'll check which one is the correct for mint and reply back.sam@sam-ROG-Strix-G531GT-GL531GT:~$ prime-run glxinfo | grep i vendor grep: vendor: No such file or directory
prime-run: command not found
Yeah, there might be an nvidia-prime package or something, either that or the command in mint must be different. Quick Google didn't helped me and it's after 1AM for me so my brain is not helping either, hopefully someone else can help you, if not tomorrow I'll be back.
But everything looks correct, Nvidia settings only works if the Nvidia driver is installed, now all you need is to figure out how to tell Mint to run things with the Nvidia GPU and you should be good to go.
glxinfo | grep -i vendor server glx vendor string: SGI client glx vendor string: Mesa Project and SGI Vendor: Intel (0x8086) OpenGL vendor string: Intel
so this means im using my proccesor and not gpu to render shite?
From our other reply you should be fine, this is a prime laptop so it will use the CPU for everything unless you specify different z that's by intent to preserve power since Nvidia cards consume lots of it and otherwise your battery would last an hour or so, windows does the same, the difference is that Windows tries to guess which apps need it and on Linux you have to be specific about it.
Ty!
Quick test you can run to confirm this is
lspci | grep nvidia
andlspci | grep nouveau
one of them will display something and the other nothing (hopefully),nvidia
is the name of the properietary driver,nouveau
is the open source one.