LinuxQuestions.org
Visit Jeremy's Blog.
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 08-31-2009, 02:29 AM   #1
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,349

Rep: Reputation: 75
Confused about Nvidia in Slackware64 13


In the past I has always installed Nvidia by running the binaries and editing xorg.conf by hand. Now I have done it by installing nvidia-kernel and -driver packages from slackbuilds. I am not getting an nvidia splashscreen. How can I be sure that the driver is working? Do I need org.conf as suggested by http://www.linuxquestions.org/questi...32#post3662132
 
Old 08-31-2009, 02:41 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
I have no idea what slackbuilds does with this package.

You can install the Nivida driver from a terminal as root:
Code:
sh NVIDIA-Linux-x86_64-185.18.14-pkg2.run
and at the end let the Nvidia installer generate a new xorg.conf,
or use the lines you posted from that link. You will need
what is posted in that link at a minimum. Some setups need
more, and some need no more.

There is no need for a Nvidia Slackware package.
 
Old 08-31-2009, 03:07 AM   #3
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Yes if you use the binary driver you need a xorg.conf. Otherwise the xorg server will pick up the open source driver.
 
Old 08-31-2009, 03:12 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105
Quote:
Originally Posted by Bruce Hill View Post
There is no need for a Nvidia Slackware package.
Actually, the advantage of using the NVIDIA SlackBuild script from slackbuilds.org to create a package for the binary driver, is that this package comes with an easy uninstall/re-install script. If you ever tried to upgrade Slackware's xorg-server or mesa packages while a binary NVIDIA driver was installed you will know that the hardware acceleration no longer works because afterwards some of the NVIDIA libraries have been overwritten.
Using the package makes it easier to cope with this.

Eric
 
Old 08-31-2009, 03:23 AM   #5
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,349

Original Poster
Rep: Reputation: 75
Well the actual answer to my question appears to be that something (?the slackbuild) has generated a xorg.conf file which references the Nvidia driver and the Nvidia tools program runs. Still no splashscreen but who needs that?
 
Old 08-31-2009, 05:30 AM   #6
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Rep: Reputation: 33
Please, let me know how to install nVidia driver on Slackware64 13. I did it by running sh NVIDIA...sh but as I can see, nvidia slackbuild is better. What should I do to install it properly on Slackware64? Should I uninstall nvidia driver before with sh NVIDIA...sh --uninstall?

Thanks and sorry for asking this inside your post.
 
Old 08-31-2009, 05:40 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; Slackware64-current (VM); Debian 12 (VM)
Posts: 8,290
Blog Entries: 61

Rep: Reputation: Disabled
I've used both methods on 12.2, and only the NVIDIA-Linux-x86_64-185.18.36-pkg2.run on Slackware64 13.0. Both methods worked OK, it's a matter of personal preference. Yes, uninstall before using the SlackBuilds.
 
Old 08-31-2009, 06:03 AM   #8
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,349

Original Poster
Rep: Reputation: 75
What about after compiling a new kernel. Previously I have always had to re-install the nvidia driver.
 
Old 08-31-2009, 06:33 AM   #9
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by arubin View Post
What about after compiling a new kernel. Previously I have always had to re-install the nvidia driver.
You need to rebuild it. That will never change.
 
Old 09-18-2009, 06:59 AM   #10
jimkalb
Member
 
Registered: Apr 2004
Distribution: Slackware 13.0
Posts: 30

Rep: Reputation: 15
Quote:
Originally Posted by arubin View Post
Well the actual answer to my question appears to be that something (?the slackbuild) has generated a xorg.conf file which references the Nvidia driver and the Nvidia tools program runs.
I had to generate an xorg.conf file by running nvidia-xconfig after doing the Slackbuild and installing the packages. After that it worked fine. I had to change the xorg.conf file though to include the higher resolution I wanted for my display. I did that by hand but very likely I could have run nvidia-settings and saved.

Last edited by jimkalb; 09-18-2009 at 07:00 AM.
 
Old 09-18-2009, 07:08 AM   #11
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Well, the one in the slackbuilds didn't work for me either in slack13 and so I'm using the Nvidia run file istead and works perfect. I installed the 190.32 Beta driver and it works fine.

Last edited by ~sHyLoCk~; 09-18-2009 at 07:47 AM.
 
Old 09-18-2009, 10:39 AM   #12
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
A note about xorg.conf

slackware 13 uses a new version of the x server that does not require an xorg.conf file.

This file should only be used for things that are not auto configured the way you want it.

The only thing that should be in the xorg.conf are things that need to be manually configured.

e.g. this is my entire xorg.conf
Code:
Section "Device"
    Identifier  "Nvidia GeForce"
    Driver      "nvidia"
    # UseEvents allows for better video playback... supposedly
    Option      "UseEvents" "true"
    # Put other options here, including splash screen options
EndSection

# Other sections can exist for controlling dual head if needed.
IF you include a keyboard and mouse section, you need to use some special options to disable auto configure. At the moment I can't remember these options.

Additionally, if you used the slackbuild scripts, it couldn't hurt to ensure the nvidia drivers are installed by running 'nvidia-switch --nvidia'

Last edited by lumak; 09-18-2009 at 10:42 AM.
 
Old 09-18-2009, 11:57 AM   #13
jimkalb
Member
 
Registered: Apr 2004
Distribution: Slackware 13.0
Posts: 30

Rep: Reputation: 15
Quote:
Originally Posted by lumak View Post
slackware 13 uses a new version of the x server that does not require an xorg.conf file.

This file should only be used for things that are not auto configured the way you want it.

The only thing that should be in the xorg.conf are things that need to be manually configured...

Additionally, if you used the slackbuild scripts, it couldn't hurt to ensure the nvidia drivers are installed by running 'nvidia-switch --nvidia'
Interesting. I tried a shortform xorg.conf and it didn't work. I got a complaint that there wasn't a "Screen" section or some such. But now it does. I had run nvidia-switch a couple of times in the interim though.

BTW, if you run nvidia-settings and save to xorg.conf you'll get something much longer. You can delete the sections that just repeat the default settings and it will still work. Dunno if that matters.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
latest NVIDIA 64bit driver Slackware64-current mudherm Slackware 4 08-16-2009 03:57 AM
Ethernet bonding with Nvidia hardware on slackware64 omghai2u Linux - Networking 0 08-08-2009 06:17 AM
[SOLVED] Slackware64-C client wont detect Slackware64-C Samba server slackass Slackware 5 08-07-2009 11:23 PM
slackware64 and nvidia error message charlie_lab Slackware 5 05-22-2009 10:27 PM
Confused about nVidia 5500 and up. ??? polarbear20000 Linux - General 8 01-02-2008 12:00 PM

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

All times are GMT -5. The time now is 07:44 PM.

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