You are not logged in.

#1 2017-08-22 08:23:44

zaxdan69
Member
Registered: 2016-06-04
Posts: 273

Cannot downgrade nvidia driver

I have problem with latest(v. 384) nvidia driver with suspend. When return from suspend the desktop is unusable. I can see the desktop, panel etc, but I cannot click to anything on screen. Also I cannot login from another tty. I can write and see what I' m writing but the output of commands doesn't displayed or work. I cannot reboot via alt+ctl+del and also REISUB doesn't reboot the pc. The only way to reboot is by pressing the hardware reboot problem. So, I'm trying to downgrade the driver to a previous version. I' ve managed to downgrade to 381 version and to 340xx, but in both versions suspend doesn't work either. In 381 I have the same problem and in 340xx I get a black screen when return from suspend.
I have an ubuntu installation in this pc and there the suspend works with no problems. The driver version there is 375.66, so I'm trying to downgrade to 375 version to hopefully solve this issue. But I cannot install it because of the following errors:

nvidia-utils: το /usr/lib/libGLX_indirect.so.0 already exists on disk
lib32-nvidia-utils: το /usr/lib32/libGLX_indirect.so.0  already exist on disk

I tried the dkms version also with same errors.
Any ideas how to fix this?

Offline

#2 2017-08-22 12:33:56

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Cannot downgrade nvidia driver

Are you trying to install v375 via nVidia's installer? If so, don't do that.

If you are trying to install v375 via pacman, then either the previous version(s) are not compeltedly cleaned up (including any dependencies), or you have tried to install things outside of pacman. Use pacman to see which package owns the files you listed above, and then act accordingly -- remove them if needed, or other actions depending on need.


Matt

"It is very difficult to educate the educated."

Offline

#3 2017-08-22 13:38:07

zaxdan69
Member
Registered: 2016-06-04
Posts: 273

Re: Cannot downgrade nvidia driver

I have download the packages from here:
https://archive.archlinux.org/packages/
I put them on /var/cache/pacman/pkg and I install them using pacman -U
The package which owns the file I mentioned is mesa and I cannot remove it because has conflicts with other packages included gtk3, which have a lot of other important packages as dependencies as well. So, If I start to remove them I' m pretty sure that it's gonna break the system.

Last edited by zaxdan69 (2017-08-22 13:38:54)

Offline

#4 2017-08-22 14:51:19

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: Cannot downgrade nvidia driver

zaxdan, that is probably a bug in nvidia-utils , check https://bugs.archlinux.org/task/53400 .

For now i suggest you try 378.16-6 .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2017-08-22 15:00:32

zaxdan69
Member
Registered: 2016-06-04
Posts: 273

Re: Cannot downgrade nvidia driver

Where can I find 378.16-6? It's not in the link I posted above.
EDIT:
I tried with 378.13.6 and I get error in dkms install nvidia:

Error! Bad return status for module build on kernel: 4.12.8-2-ARCH (x86_64)
Consult /var/lib/dkms/nvidia/378.13/build/make.log for more information

Last edited by zaxdan69 (2017-08-22 15:10:29)

Offline

#6 2017-08-22 15:17:44

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: Cannot downgrade nvidia driver

The 16 was indeed a typo.

Dkms errors tend to be hard to troubleshoot, but let's give it a try.
please post that log file.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2017-08-22 15:29:14

progandy
Member
Registered: 2012-05-17
Posts: 5,193

Re: Cannot downgrade nvidia driver

You can try to use linux-lts which is currently on version 4.9. As far as I know, nvidia 378 doesn't support kernels newer than 4.10.

Last edited by progandy (2017-08-22 15:29:58)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#8 2017-08-22 15:42:48

zaxdan69
Member
Registered: 2016-06-04
Posts: 273

Re: Cannot downgrade nvidia driver

Lone_Wolf wrote:

The 16 was indeed a typo.

Dkms errors tend to be hard to troubleshoot, but let's give it a try.
please post that log file.

Here are the log errors:

In file included from /var/lib/dkms/nvidia/378.13/build/nvidia/nv-acpi.c:15:0:
/var/lib/dkms/nvidia/378.13/build/common/inc/nv-linux.h:227:2: σφάλμα: #error "This driver requires the ability to change memory types!"
 #error "This driver requires the ability to change memory types!"
  ^~~~~
In file included from /var/lib/dkms/nvidia/378.13/build/nvidia/nv.c:13:0:
/var/lib/dkms/nvidia/378.13/build/common/inc/nv-linux.h:227:2: σφάλμα: #error "This driver requires the ability to change memory types!"
 #error "This driver requires the ability to change memory types!"
  ^~~~~
In file included from /var/lib/dkms/nvidia/378.13/build/nvidia/nv-instance.c:13:0:
/var/lib/dkms/nvidia/378.13/build/common/inc/nv-linux.h:227:2: σφάλμα: #error "This driver requires the ability to change memory types!"
 #error "This driver requires the ability to change memory types!"
  ^~~~~
In file included from /var/lib/dkms/nvidia/378.13/build/nvidia/nv-frontend.c:13:0:
/var/lib/dkms/nvidia/378.13/build/common/inc/nv-linux.h:227:2: σφάλμα: #error "This driver requires the ability to change memory types!"
 #error "This driver requires the ability to change memory types!"
  ^~~~~
make[2]: *** [scripts/Makefile.build:302: /var/lib/dkms/nvidia/378.13/build/nvidia/nv-instance.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.build:302: /var/lib/dkms/nvidia/378.13/build/nvidia/nv-frontend.o] Error 1
make[2]: *** [scripts/Makefile.build:302: /var/lib/dkms/nvidia/378.13/build/nvidia/nv-acpi.o] Error 1
make[2]: *** [scripts/Makefile.build:302: /var/lib/dkms/nvidia/378.13/build/nvidia/nv.o] Error 1
make[1]: *** [Makefile:1515: _module_/var/lib/dkms/nvidia/378.13/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.12.8-2-ARCH/build'
make: *** [Makefile:81: modules] Error 2

Offline

#9 2017-08-23 10:27:24

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: Cannot downgrade nvidia driver

Searched for that error and it does look like a problem between nvidia and newer kernels.

I suggest you follow progandy advise in #7 and try with linux-lts.

Last edited by Lone_Wolf (2017-08-23 10:27:44)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#10 2017-08-23 12:30:32

zaxdan69
Member
Registered: 2016-06-04
Posts: 273

Re: Cannot downgrade nvidia driver

I'm using linux-ck-piledriver kernel for a long time. Searching to see if there is an lts package for ck I read an answer for a different subject but mentioned there that nvidia have problems with ck-packages. So I tested it with the normal arch kernel(v. 4.12.8-2-ARCH) and suspend works without problems. So, seems that the problem coused by ck kernel.

EDIT:
I downgraded the  ck kernel to 4.11.12 version and now wake from suspend works fine.

Last edited by zaxdan69 (2017-08-23 12:53:05)

Offline

Board footer

Powered by FluxBB