[PLUG] Installing nvidia-legacy340 on Slackware 14.2

Dick Steffens dick at dicksteffens.com
Tue Jan 15 23:20:00 UTC 2019


I'm trying to downgrade from the nVidia legacy 390 driver to the legacy 
340 driver. To do so I first downloaded the 
nvidia-legacy340-kernel.tar.gz, and unpacked it. Then I downloaded 
NVIDIA-Linux-x86_64-340.104.run and moved it to the 
nvidia-legacy340-kernel directory. Then I downloaded 
NVIDIA-Linux-x86_64-390.87.run from the nVidia site. I ran 
nvidia-legacy340-kernel.SlackBuild

Next I downloaded and unpacked nvidia-legacy340-driver.tar.gz. I 
downloaded nvidia-modprobe-340.104.tar.bz2, 
nvidia-persistenced-340.104.tar.bz2, nvidia-settings-340.104.tar.bz2, 
nvidia-xconfig-340.104.tar.bz2, NVIDIA-Linux-x86_64-340.104.run and 
moved them all into nvidia-legacy340-driver. Then I ran 
nvidia-legacy340-driver.SlackBuild.

Before installing the packages I ran nvidia-switch --remove

Next I ran installpkg 
/tmp/nvidia-legacy340-kernel-340.104_4.4.157-x86_64-1_SBo.tgz . It 
reported Package 
nvidia-legacy340-kernel-340.104_4.4.157-x86_64-1_SBo.tgz installed. Then 
I ran installpkg /tmp/nvidia-legacy340-driver-340.104-x86_64-1_SBo.tgz. 
It reported Package nvidia-legacy340-driver-340.104-x86_64-1_SBo.tgz 
installed.

When I run startx I get the error:

(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)

It tells me to look at /var/log/Xorg.0.log. Here are the final lines of 
that file:

[260030.211] (II) Module "ramdac" already built-in
[260030.212] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. 
Please see the
[260030.212] (EE) NVIDIA:     system's kernel log for additional error 
messages and
[260030.212] (EE) NVIDIA:     consult the NVIDIA README for details.
[260030.212] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. 
Please see the
[260030.212] (EE) NVIDIA:     system's kernel log for additional error 
messages and
[260030.212] (EE) NVIDIA:     consult the NVIDIA README for details.
[260030.212] (EE) No devices detected.
[260030.212] (EE)
Fatal server error:
[260030.212] (EE) no screens found(EE)
[260030.212] (EE)

In dmesg I find:

[257997.749754] NVRM: API mismatch: the client has the version 340.104, but
                 NVRM: this kernel module has the version 390.87. Please
                 NVRM: make sure that this kernel module and all NVIDIA 
driver
                 NVRM: components have the same version.

I thought nvidia-switch --remove should have removed the old kernel. 
What did I miss this time?

-- 
Regards,

Dick Steffens





More information about the PLUG mailing list