this post was submitted on 02 Nov 2024
57 points (98.3% liked)
Linux
48222 readers
880 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
Have the same gpu and had same issue give me a second to find the solution again.
Now back at PC:
Right so i searched for a while back when i got those issues and the only solution that really worked for me was installing 550 instead. Idk how PopOS / ubuntu does things. So doing this could be easy or super fucking annoying.
depending on the repo you are using for the nvidia driver, you might be able to specify the driver version during install like so:
sudo apt install nvidia-driver-550
I am on debian12 and installing from repo didnt work for me as there were lots of dependencies that had version conflicts. I ended up installing it with the .run file which is really tedious.
Im gonna be honest tho the chance that this will fix your issue is not that high. Nvidia problems are so fucking diverse and could be due to any number of specific system component and package combinations. But if its already broken, might as well try right?
Oh man, so Pop!_OS has a "pop shop" where it officially supports 470 and 560. 550 isn't on there so, while I could try it, I wouldn't expect it to work.
In "Software and Updates" I have options for the "NVIDIA driver metapackages" for 390, 470, and 560. 560 is currently selected. I also have the NVIDIA server driver metapackage for 535, so I could try that. It would be newer than 470 but not as current as 560.
But since the chances this would fix it are already low (and 560 drivers fixed my other issues), I'm hesitant to try unless I exhaust every other option.
550 for the gtx 1070
https://www.nvidia.com/en-us/drivers/details/233004/
Finally got around to this. I tried installing while logged in, then realized I should Ctrl+Alt+F2 (or something) and stop gdm before installing.
I got an error message, there was an error while building kernel modules. Checking /var/log/nvidia-installer.log I think this is the culprit:
So I'm using 11.4.0 instead of 12.3.0? Not sure what that number is. Both kernels are based on Ubuntu 22.04. I'm starting to think if I really want cinnamon I should use a distro that was made for cinnamon, like Mint.
Found this :
https://askubuntu.com/a/1503216
GCC is the compiler. The code snippet in the link above sets the environment for the driver to use the compiler you have.
This is getting deep and complicated.
So I tried using the command in the snippet, and made sure that CC was capitalized, but the error log still says "You are using: cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
Going to the post that talks about changing your version of GCC it looks like my gcc might be pointing to the "11.4.0 cc"?
But when I run: sudo apt-get install gcc-4.3 gcc-4.4 g++-4.3 g++-4.4
I can't find those packages. And when I run:
sudo update-alternatives --remove-all gcc sudo update-alternatives --remove-all g++
I find no alternatives. Sheesh. When I go this many layers deep I get worried that I'm going to potentially break something that will make bugtesting for other future things harder.