You are not logged in.

#1 2015-12-15 17:02:06

pion
Member
Registered: 2015-10-01
Posts: 6

Nvidia driver - wrong gcc version

Hello,
I just done the system upgrade after almost two weeks.
I see that in the archlinux website home appeared a message on the c++ ABI change (p.s. the posted script gives me a syntax error in line 4).
After the upgrade the GUI failed to start (it always happens after any upgrade due to the fact that I manually installed the NVIDIA propretary driver).

When I tried to reinstall the Nvidia Driver the istallation is aborted by a mismatch between my current gcc version (5.3) and the version in which the kernel has been compiled (5.2).
Fortunatly I found a workaround to get the system working: set  IGNORE_CC_MISMATCH=1, but I think it is not the best solution.

Can this be a problem? Will the next kernel ugrade fix it?

Offline

#2 2015-12-15 17:06:43

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Nvidia driver - wrong gcc version

Why are you manually installing the Nvidia driver?

Using the version in the repos would solve your problem.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2015-12-15 17:08:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,621
Website

Re: Nvidia driver - wrong gcc version

pion wrote:

p.s. the posted script gives me a syntax error in line 4

What's the error?

pion wrote:

... due to the fact that I manually installed the NVIDIA propretary driver

Why, and how, did you do that?  Why did you not do it properly either using an existing package, or making a PKGBUILD yourself?

pion wrote:

Can this be a problem? Will the next kernel ugrade fix it?

It sounds problematic to me.  I doubt it will go away on it's own - you should use a supported method of installing the driver.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2015-12-16 19:20:40

pion
Member
Registered: 2015-10-01
Posts: 6

Re: Nvidia driver - wrong gcc version

I have a NVIDIA GTX 970M, and I need the 352 version of the drivers.
It seems to me that this driver is not present in the package manager. Neither "nvidia" package nor nouveau drivers work (I dont have 3d acceleration),
So the only solution I found to have my graphic card working is to install manually the driver that I downloaded from nvidia site (and reinstall them after each kernel upgrade). Boring, but working.

If you know some workaround it would be great!

However the scrpit gives me this error:

script.sh: line 4: syntax error near token  "<"
script.sh: line 4: `    mapfile -t files < <(pacman -Qlq $pkg | grep -v /$)'

Offline

#5 2015-12-16 19:27:06

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Nvidia driver - wrong gcc version

You can find version 352 in the AUR...

https://aur.archlinux.org/packages/nvidia-352


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#6 2015-12-22 20:55:18

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: Nvidia driver - wrong gcc version

I have the same problem with the official nvidia-340xx-dkms driver. the non-dkms driver is built by the maintainer, and thus does not throw an error. Bug filed: https://bugs.archlinux.org/task/47499

Offline

Board footer

Powered by FluxBB