LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-16-2019, 06:27 AM   #1
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 504

Rep: Reputation: Disabled
Slackware current still freezes


I posted this already a cpl of hrs ago but not sure where the post has gone.
Not a newbie, just re-registered as my old account must have been disabled/deleted (as i didnt use it for many years).
I have been using slackware for 15+yrs and had never happened to have to hard-restart the system as it kept on freezing once I installed slackware14.2;
due to lack of time (and health) i rolled back to 14.1.
Recently, i decided to try again and installed slackware current; at the first startx i was welcomed with a total system after just a few seconds.
Many hrs of searching around led me to believe that the issue was with noeveau and its video acceleration function. So I permanently disabled noeveau video accelerator by adding a file in /etc/X11/xorg.vesa.d/disable-gpu.conf and edited:
Code:
Section "Extensions"
Option "GLX" "Disable"
EndSection
and it seems to have resolved the random freeze issue however I have lost my graphic card full capabilities.

Quote:
desktop:
2 dbl Xeon processor x5450 at 3GHz each
graphics:
nVidia Geforce GTX550 ti (no proprietary drivers installed)
memory:
32GB
OS:
dual boot, Slackware/Windows
HAs anyone come across a similar issue, and if so, how it was resolved? how do i get my nVidia video acceleration back?
I gues i could try to install the nVidia proprietary drivers, but i couldnt find an updated how-to tutorial (i tried last night and it went severely wrong).
Any suggestions would be welcome.
Regards,
 
Old 01-16-2019, 08:03 AM   #2
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Have you tried?
https://docs.slackware.com/howtos:ha..._configuration
https://slackbuilds.org/repository/1...nvidia-kernel/
https://slackbuilds.org/repository/1...nvidia-driver/
 
Old 01-16-2019, 08:07 AM   #3
trite
Member
 
Registered: Feb 2016
Location: Sweden
Distribution: Slackware64-15.0
Posts: 119

Rep: Reputation: 60
I put my vote on installing proprietary drivers, just download it from nvidia website. Make it executable and run it from init 3 as root, reboot.

Also you have a very old card so maybe you need the legacy drivers, please check on the website so that it supports your card

Using slackbuild or something alike never worked for me.

____________


Download NVIDIA proprietary drivers
Go to nvidia.com and download the Linux 64-bit drivers for your graphic card.

Install NVIDIA proprietary drivers
chmod +x NVIDIA*.run
./NVIDIA*.run
Choose ”yes” when it asks about blacklistin nouveau. (You could write your own but for me its faster to just reboot)
Reboot (or do some modprobe/rmmod voodoo)

./NVIDIA*.run
When it asks for 32-bit libraries, choose ”yes”.

Reboot.


___________________

*for funsies*

trite@bifrost:~$ nvidia-smi
Wed Jan 16 15:11:28 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.78 Driver Version: 410.78 CUDA Version: 10.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 108... Off | 00000000:01:00.0 On | N/A |
| 29% 60C P0 63W / 250W | 3674MiB / 11175MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 980 Off | 00000000:02:00.0 Off | N/A |
| 28% 27C P8 11W / 180W | 1MiB / 4043MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 2 GeForce GTX 970 Off | 00000000:03:00.0 Off | N/A |
| 0% 38C P8 12W / 170W | 1MiB / 4043MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 3 GeForce GTX 960 Off | 00000000:09:00.0 Off | N/A |
| 0% 32C P8 5W / 160W | 1MiB / 4043MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 4 GeForce GTX 960 Off | 00000000:0A:00.0 Off | N/A |
| 0% 35C P8 8W / 130W | 1MiB / 2002MiB | 0% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1540 G /usr/libexec/Xorg 245MiB |
| 0 8556 C+G ...x86)\Origin Games\Battlefield V\bfv.exe 3258MiB |
| 0 26427 C+G ...c/Program Files (x86)/Origin/Origin.exe 165MiB |
+-----------------------------------------------------------------------------+

Last edited by trite; 01-16-2019 at 08:14 AM.
 
1 members found this post helpful.
Old 01-16-2019, 08:22 AM   #4
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 504

Original Poster
Rep: Reputation: Disabled
Thanks for the fast reply.

Quote:
Originally Posted by abga View Post
already tried it and everything went seriously wrong (first X started only on 800x640 and after fiddling around X wouldnt start and had to reinstall)

Quote:
trite,
I put my vote on installing proprietary drivers, just download it from nvidia website. Make it executable and run it from init 3 as root, reboot.
I wish there was a detailed how-to tutorial that actually worked for every sistem.

Quote:
Also you have a very old card so maybe you need the legacy drivers, please check on the website so that it supports your card
Check on what website? What should support my card?

Anyway, i will try again and feedback shortly.

Thanks for your kind help.

Last edited by however; 01-16-2019 at 08:40 AM.
 
Old 01-16-2019, 09:02 AM   #5
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by however View Post
Check on what website?
For a list of available nvidia linux driver go here.

Quote:
Originally Posted by however View Post
What should support my card?
You have an nvidia Geforce GTX550 ti, so you need the legacy driver (390.87).

as stated in the documentation:
Quote:
Once you have downloaded the driver, change to the directory containing the driver package and install the driver by running, as root:

Code:
$ sh ./NVIDIA-Linux-x86_64-390.87.run
You can also search for drivers on this page.

--
SeB
 
1 members found this post helpful.
Old 01-16-2019, 09:03 AM   #6
trite
Member
 
Registered: Feb 2016
Location: Sweden
Distribution: Slackware64-15.0
Posts: 119

Rep: Reputation: 60
Quote:
Originally Posted by however View Post
I wish there was a detailed how-to tutorial that actually worked for every sistem.
https://gist.github.com/wangruohui/d...er-via-runfile

If you choose your card model on nvidia site you will get the right one so no worries, I was thinking of pre-package solutions where they usually have two, one for legacy cards and one for newer ones but since you choose model on nvidia site it should give you the right one.

Also installing through runfile should be the same on all systems, download the binary. Make it executable and run it from init 3. There are some prerequisits like maybe you need kernel-headers or something like that but those are already there in Slackware system. You also need to have nouveau blacklisted but the runfile does that for you.

You go into init 3 by either just writing it in prompt or edit /etc/inittab and change default mode to 3 from 4.
 
Old 01-16-2019, 09:14 AM   #7
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
@however
Sorry, I missed your card model being pretty old, phenixia2003 is right about the driver version.
In case you prefer the SlackBuilds:
https://slackbuilds.org/repository/1...acy390-kernel/
https://slackbuilds.org/repository/1...acy390-driver/
 
Old 01-16-2019, 10:48 AM   #8
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 504

Original Poster
Rep: Reputation: Disabled
Thanks very much, everyone!
it seems that I have a long evening/night ahead of me (making love with slackware).
I'll let you know the details later (or tomorrow).
Ciao
p.s.: do i also need to install the nVidia kernel?

Last edited by however; 01-16-2019 at 10:50 AM.
 
Old 01-16-2019, 11:46 AM   #9
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Quote:
Originally Posted by however View Post
p.s.: do i also need to install the nVidia kernel?
If you choose the SlackBuilds I posted, the answer is yes.
Some more info from the maintainer of the SlackBuilds, you might find these useful (don't mind the driver version there, it's an old post):
https://www.linuxquestions.org/quest...7/#post5599110
 
Old 01-16-2019, 03:22 PM   #10
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 504

Original Poster
Rep: Reputation: Disabled
and here we go again, booting from windows!

what happened:
Quote:
fresh reboot,
root login (not su),
init 3
./nVidia......./.run,
Building Kernel Module step: Failed
nVidia-drm kernel module failed to build.
I deleted the /etc/modprobe.d/nvidia-installer-disable-nouveau.conf and managed to launch X at reboot; however, as a result, I lost the keyboard and mouse function (in X only: so again, another unusable system

Any hints?
Thanks,

p.s.: I forgot to take a picture of the /var/log/nvidia-installer.log file and try to post it here (although being a newbie member i wouldnt be allowed), or at least re-type the msgs in it. Should this be vital to avoid another full reinstall, I would be glad to try my best and get it & type the whole log here.

This time, if i manage to get the system running again, I will try with the binary files installation.

Should this be so complex, in the 21st century computer world? ((
 
Old 01-16-2019, 03:45 PM   #11
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
.... can ... you .... be ... a little .... more ... specific.... please?
Quote:
./nVidia......./.run,
Building Kernel Module step: Failed
nVidia-drm kernel module failed to build.
... what ... have .... you .... actually ... installed ... if .... the .... Building Kernel Module step: Failed ? You ... should've stopped there!
It's difficult to understand your system status now.

Quote:
Should this be so complex, in the 21st century computer world? ((
Yes! Everybody loves Nvidia!
https://www.youtube.com/watch?v=IVpOyKCNZYw
(Minute 1:40)
I personally don't even bother to install their crap driver on my few systems where I have the Nvidia Optimus (Intel + discrete Nvidia), just using Intel. But that's not possible in your case.

Go for "binary files installation", whatever that means for you.
 
Old 01-16-2019, 04:11 PM   #12
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 504

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by abga View Post
.... can ... you .... be ... a little .... more ... specific.... please?

... what ... have .... you .... actually ... installed ... if .... the .... Building Kernel Module step: Failed ? You ... should've stopped there!
It's difficult to understand your system status now.
I was trying to install the nVidia driver: NVIDIA-Linux-x86_64-390.87.run;
and yes, the install stopped
and my system status is, as mentioned: i can start X but with no keyboard and no mouse (they don't work, not recognized, caput, modules corrupted, broken, files damaged, finito, etc; i hope this is clear)

Quote:
Yes! Everybody loves Nvidia!
https://www.youtube.com/watch?v=IVpOyKCNZYw
(Minute 1:40)
LOL, i had seen that interview a while back; I found Linux hilarious

Quote:
Go for "binary files installation", whatever that means for you.
it means that when/if I manage to take control of X (using the keyboard and mouse) again, i will download the binary files through 'slackbuilds' or 'sbopkg' and install them using 'installpkg file.t*z'
as suggested by
Quote:
abga @however
Sorry, I missed your card model being pretty old, phenixia2003 is right about the driver version.
In case you prefer the SlackBuilds:
https://slackbuilds.org/repository/1...acy390-kernel/
https://slackbuilds.org/repository/1...acy390-driver/
Clear enough? )

would the /var/log/nvidia-installer.log file help?

Last edited by however; 01-16-2019 at 04:13 PM.
 
Old 01-16-2019, 04:44 PM   #13
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Somewhat clearer now. I thought you went for the SlackBuilds and failed to build nvidia-legacy390-kernel.
Yes, the /var/log/nvidia-installer.log might help to see what happened and what system files were modified, you can use https://pastebin.com/ to upload it.
On your actual status - no mouse - no keyboard - check what you have in /etc/X11/ - is there any xorg.conf file ? If some leftovers from Nvidia, remove (move-backup) them and try to startx

The SlackBuilds approach is a safer because while building them you can see if there are errors / failing and you can stop.
-current has a new kernel and they might fail, but it's worth trying. Take the time and read the README from:
https://slackbuilds.org/repository/1...acy390-driver/
together with:
https://www.linuxquestions.org/quest...7/#post5599110

Last edited by abga; 01-16-2019 at 04:52 PM. Reason: your
 
Old 01-17-2019, 02:13 AM   #14
trite
Member
 
Registered: Feb 2016
Location: Sweden
Distribution: Slackware64-15.0
Posts: 119

Rep: Reputation: 60
Try updating your kernel and then try the runfile again, or try with older version of nvidia driver.

What kernel version do you have?

I've had that some versions of nvidia drivers only compile kernel modules with certain kernel versions but if you switch to an older one it works. Easiest is to just use latest kernel with latest drivers since they have the most chance of success.

But I've always ran current as rolling release and update regularly so when it sometimes doesnt work I just either update kernel or install the last working older version of driver.

Last edited by trite; 01-17-2019 at 02:22 AM.
 
Old 01-17-2019, 12:33 PM   #15
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,800

Rep: Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437
First off despite that some people don't prefer it, the nvidia proprietary driver is most definitely NOT "crap". I won't belabor that subject and derail this thread but having used and compared it for well over 20 years, as have millions of people, it has been a major benefit for alternative operating systems including Linux and we are lucky to have it. One of the values of installing from the .run script from runlevel 3 is we get useful error messages that offer possible solutions even for those that don't bother to read the requirements, NOT a good idea unless you don't really fit in a manually powerful distro like Slackware and would do better on a "hold your hand" Ubuntu derivative. You want the freedom and power? You gotta earn it.

One of those requirements for legacy drivers is having complete kernel AND SOURCE built with the same GCC as is being used. The Full Recommended Install should provide you with that if you didn't uncheck that option or update GCC. The install will sometimes fail if one hasn't disabled the nouveau driver and nvidia's own attempt wasn't able to manage it, usually due to some user created conflict. The disabling of nouveau should properly be done in "/etc/modprobe.d/blacklist.conf", nowhere else. Before one reboots after having created that blacklist, or letting nvidia do it for you, is to edit two things - "/etc/X11/xorg.conf" and "/etc/lilo.conf", or the appropriate grub file if you use that.

The default xorg.conf.example can be renamed or copied to xorg.conf after you know it has the lines
Code:
 
# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "vesa"
EndSection
Editing etc/lilo.conf isn't always essential but this is helpful to some and can be easily changed if it is of no help for you

Code:
  
#####
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-foo
  root = /dev/sdfoo
  label = SlackFoo
  append = "nomodeset"
  read-only###
###
Personally I prefer having this permanently and the "nomodeset" line only for nvidia driver install.
Code:
 
append = "video=640x480"
in the global section, since any card can easily produce that and it's easy to read even by old eyes

Having the kernel with source built by the gcc in use, disabling nouveau with a vesa fallback works 99% of the time. or at least it has for me in 20 years of lots of distro hopping and Slackware as my Main. Distros other than Slackware don't like it much that we don't use their repository rebuilt packages but most can be forced and I force them, and it always works, though on some distros updating can be more involved if one doesn't use DKMS and I don't... ever. It's just vastly easier on Slackware provided you follow nvidia's instructions. There is no need to worry about the VESA line in xorg.conf since nvidia's run script will offer to create a generic and proper one for you. Let it since your existing one will graciously not be deleted but simply renamed as a backup.

Like everything else nothing is hard, everything is easy once you learn how. Sorry to have to say this in the 21st Century but RTFM and pay attention to error messages..

Last edited by enorbet; 01-17-2019 at 12:36 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware current, still freezes at random however Linux - Desktop 1 01-16-2019 03:27 PM
[SOLVED] Script to build always a current ISO image of Slackware (slackware-current) robertjinx Slackware 2 12-09-2010 02:00 AM
Slackware64 -current vs Slackware -current or Slackware onebuck Slackware 16 06-23-2009 01:19 PM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration