LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-10-2018, 02:20 PM   #16
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,808
Blog Entries: 58

Rep: Reputation: Disabled

Quote:
Originally Posted by enorbet View Post
Again, nouveau shouldn't still show up there if it is properly blacklisted.
It's only been blacklisted, not uninstalled. And it's not being loaded, doesn't show up in lsmod.
From my lspci:
Code:
05:00.0 VGA compatible controller: NVIDIA Corporation Device 1c82 (rev a1) (prog-if 00 [VGA controller])
	Subsystem: ZOTAC International (MCO) Ltd. Device 1455
	Flags: bus master, fast devsel, latency 0, IRQ 46
	Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	[virtual] Expansion ROM at fb000000 [disabled] [size=512K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [250] Latency Tolerance Reporting
	Capabilities: [128] Power Budgeting <?>
	Capabilities: [420] Advanced Error Reporting
	Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Kernel driver in use: nvidia
	Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
 
Old 06-10-2018, 09:12 PM   #17
narke
Member
 
Registered: Apr 2010
Posts: 177

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by brianL View Post
No problems here with the GTX 1050Ti and the NVidia .run file. Uninstall NVidia, delete the nouveau entry from /etc/modprobe.d/00.conf, install the blacklist package as dTd suggested (xf86-video-nouveau-blacklist-noarch-1.txz, from /extra on any Slackware mirror), reboot to runlevel 3, then run the NVidia .run file.
I did everything as above except installing the xf86-video-nouveau-blacklist-noarch-1, then I tried this, and I found what the package did is just putting another name file in /etc/modprobe.d/ with the same content I typed in my 00.conf.
 
Old 06-10-2018, 09:29 PM   #18
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 1,973

Rep: Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866
Quote:
Originally Posted by brianL View Post
It's only been blacklisted, not uninstalled. And it's not being loaded, doesn't show up in lsmod.
From my lspci:
Code:
05:00.0 VGA compatible controller: NVIDIA Corporation Device 1c82 (rev a1) (prog-if 00 [VGA controller])
    Subsystem: ZOTAC International (MCO) Ltd. Device 1455
    Flags: bus master, fast devsel, latency 0, IRQ 46
    Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Memory at f0000000 (64-bit, prefetchable) [size=32M]
    I/O ports at e000 [size=128]
    [virtual] Expansion ROM at fb000000 [disabled] [size=512K]
    Capabilities: [60] Power Management version 3
    Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [78] Express Legacy Endpoint, MSI 00
    Capabilities: [100] Virtual Channel
    Capabilities: [250] Latency Tolerance Reporting
    Capabilities: [128] Power Budgeting <?>
    Capabilities: [420] Advanced Error Reporting
    Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
    Kernel driver in use: nvidia
    Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
Curious. I don't see nouveau listed in your lspci example and I don't see it in my "lspci -k" at all anywhere even though I only blacklisted it and never uninstalled it. Now it is possible that I unchecked it when I custom built my kernel. I can't recall. It's just something that if I saw it I would be suspicious assuming I was having OPs difficulties. Since I have yet to see any serious |W|arning in his Xorg.0.log I am beginning to suspect an Optimus system may be most likely although it may also be possible his "Monitor" and "Screen" sections lack some needed option line.
 
Old 06-10-2018, 09:49 PM   #19
narke
Member
 
Registered: Apr 2010
Posts: 177

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by enorbet View Post
Again, nouveau shouldn't still show up there if it is properly blacklisted. Additionally you really need to determine if your system is Optimus.
If the 'blacklisted' means adding a line in /etc/modeprobe.d/xx.conf to block a kernel module, I think this can be fully confirmed by checking lsmod output to see nouveau exists or not. On my system, I double checked the nouveau not loaded after blacklisting. I think the lspci was listing devices connected to the PCI bus, hence it's not strange that nvidia card was listed. Am I understanding right? Otherwise, you guys has other meaning by say 'blacklist'?
 
Old 06-11-2018, 02:47 AM   #20
narke
Member
 
Registered: Apr 2010
Posts: 177

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by enorbet View Post
Again, nouveau shouldn't still show up there if it is properly blacklisted. Additionally you really need to determine if your system is Optimus.

Like you I am very grateful for SlackBuilds but for something as fundamental and proprietary as the nvidia graphics driver I think you should try the stock 14.2 kernel or even one from current complete with headers or, better, a complete "/usr/src/linux" directory and use the nvidia-foo.run installation from runlevel 3 just to see how that fares. It might even be wise to answer "yes" to the "install 32 bit compatible files?" popup question just to be thorough... that is, and this is a big "IF", if your system is NOT Optimus. For that you must have Bumblebee installed or possibly some specific workaround which apparently is only possible on some specific laptops.
I double checked, I do have nouveau apperaed in the lspci outputs:
Quote:
~ $ /sbin/lspci -k | grep nouveau
Kernel modules: nvidiafb, nouveau
And, I think I really blacklisted nouveau,
Quote:
~ $ lsmod | grep nouveau
-- nothing appear --
So maybe this is a suspicious point that may lead to the fix of the issue, hopefully. But I really don't understand why not should the nouveau appear here.

And, I think my system is not a Optimus. It's an ASUS FX63VD.

-woody
 
Old 06-11-2018, 03:20 AM   #21
narke
Member
 
Registered: Apr 2010
Posts: 177

Original Poster
Rep: Reputation: 3
And, I am now thinking, is that possible because I am using a newer kernel which has KMS? Which version of kernel you guys with success are using? My slackware 14.2 come with 4.6.7, but because it does not support my WiFI chip, I switched to the slack-current version of 4.14.47.

-woody
 
Old 06-11-2018, 07:02 AM   #22
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,808
Blog Entries: 58

Rep: Reputation: Disabled
Kernel driver in use: nvidia ==> shows which module is loaded and used.
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia ==> shows which related modules are available, but not necessarily used.
Code:
brian@slackdesk2:~$ lsmod | grep nvidia
nvidia_uvm            741632  0
nvidia_drm             36275  1
nvidia_modeset       1099500  5 nvidia_drm
nvidia              14339401  187 nvidia_modeset,nvidia_uvm
drm_kms_helper        119698  1 nvidia_drm
drm                   323926  4 drm_kms_helper,nvidia_drm
ipmi_msghandler        37262  1 nvidia
i2c_core               48117  6 drm,i2c_i801,i2c_dev,i2c_hid,drm_kms_helper,nvidia
No nouveau.

Last edited by brianL; 06-11-2018 at 07:04 AM.
 
Old 06-11-2018, 07:37 AM   #23
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 1,973

Rep: Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866
It looks like the appearance of nouveau in lspci is not a problem. It also seems that Asus model is not Optimus or at least it isn't labeled so but the specs are unclear as to how it switches from the Intel graphics to nvidia graphics. If the laptop was mine and because I rarely work on battery power (always plugged in) I'd try to disallow Intel graphics altogether perhaps even in the manner that some are able to workaround Optimus. If there is no option in BIOS to disallow Intel graphics maybe try blacklisting it.

FWIW I'm using a custom 4.15.0 kernel but I do NOT use KMS. I installed nvidia 3.90.42 via their own run file on this multilib system with disallowed Intel graphics and a GTX 1070 Ti. I am an avid Linux gamer so my xorg.conf is actually rather extensive since I use "Coolbits" to control fan speed and performance level and I'm using a 32 inch Vizio TV for my monitor. IIRC it all worked OK initially without much in the way of monitor data in xorg.conf but did require a few lines to "lock it all down" the way I want it. Unless you wish to see it I won't post my xorg.conf here for fear of just "muddying the waters" for a specific use case.

I regret leaping at Optimus and nouveau but with no clearly defined Warnings in Xorg.0.log I'm grasping at straws. It seems to me the next step is to insure there is no conflict with Intel Graphics, even if only temporarily to either get it working or to generate a clear Error.

EDIT: There is another thread currently in this Slackware section regarding Optimus in which someone says that recent laptops are hard set to the Intel Graphics and that nVidia is only there for "hard number crunching" (though that sounds odd to me) but that the solution is to blacklist everything but nvidia and nvidia-drm. You might do well to view that thread even though yours isn't labelled Optimus.

Last edited by enorbet; 06-11-2018 at 07:47 AM.
 
Old 06-11-2018, 02:13 PM   #24
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 721

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
The other thread related to Optimus is this:
https://www.linuxquestions.org/quest...et-4175631546/

None of my available consumer grade Optimus enabled laptops: Asus - Ivy Bridge i7 - Nvidia 7XXM, Asus - Broadwell - i7 - Nvidia 9XXM and DELL - Haswell i3 - Nvidia 8XXM have a HW mux to be able to switch the GPU that is driving the display(s). By the time I bought the DELL (2015) I remember asking around and found out that none of my peers had this HW mux available in their recently bought consumer grade laptops, nevertheless, some business grade / gaming grade laptops might be fitted with such HW muxes.
I therefore use only the Intel GPU and blacklist nouveau / didn't even bother to install the Nvidia drivers (no use for them ATM).
Some more interesting links about laptops fitted with Nvidia GPUs and Optimus tech enabled:
https://www.notebookcheck.net/Nvidia...w.25467.0.html
https://people.freedesktop.org/~mslu...p/Optimus.html
https://dchambers.github.io/articles...ptimus-laptop/
https://wiki.archlinux.org/index.php/PRIME
https://en.wikipedia.org/wiki/Nvidia_Optimus

Last edited by abga; 06-11-2018 at 02:34 PM. Reason: Hasswell with only one s
 
Old 06-20-2018, 02:40 AM   #25
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.2 Slackware 14.2, Slackware{32,64}-current
Posts: 857
Blog Entries: 9

Rep: Reputation: 322Reputation: 322Reputation: 322Reputation: 322
There may be some compatibility/support issue in 14.2, even with newer kernels, with the integrated Intel® HD Graphics 630 GPU in your processor given the i7-7700H newness. I suggest, esp. for non-optimus/bumblebee hardware, h/w or software switch, if any, that you check the BIOS (UEFI or whatever) to see which GPU has is the default for your display. Most will have a configuration settings hidden somewhere. From the xorg log, nvidia looks like it is working put if the nvidia GPU is not plugged into a display (physically or virtually) - especially if this is a laptop. many Intel desktop motherboards will automatically disable the on-board intel GPU, but not on laptops since you are to switch to intel GPU to save power. Perhaps also try to blacklist the i915 module.
 
Old 06-20-2018, 06:07 AM   #26
narke
Member
 
Registered: Apr 2010
Posts: 177

Original Poster
Rep: Reputation: 3
Thanks, I will find time to blacklist i915 and give it another try. This issue just took me too much time. On the other hand, I looked every corner of my BIOS, but unfortunately I found no an option related to switching between GPU's.
 
Old 06-21-2018, 01:25 AM   #27
narke
Member
 
Registered: Apr 2010
Posts: 177

Original Poster
Rep: Reputation: 3
I just tried to blacklist i915 driver, but after I booted, the driver still in the lsmod output
 
Old 06-21-2018, 08:48 AM   #28
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 528

Rep: Reputation: 246Reputation: 246Reputation: 246
Quote:
Originally Posted by narke View Post
And, I am now thinking, is that possible because I am using a newer kernel which has KMS? Which version of kernel you guys with success are using? My slackware 14.2 come with 4.6.7, but because it does not support my WiFI chip, I switched to the slack-current version of 4.14.47.

-woody
Don't use KMS. This is most probably causing the issue with blacklisting.

Then, the latest Nvidia driver does not always work. From experience, I can tell you. I have a GTX Titan X, and the latest driver which supposedly works with the Titan X actually didn't work. I tried different previous versions, until I got one working. So, if the latest does not work, try the one before, and so on.

Finally, the business of installing and uninstalling Nvidia drivers is quite sophisticated. There are scripts you should run and/or create and/or modify. You should be careful about these. There is the loading of nvidia module in rc.local for example. And if you do not add a proper entry to /etc/X11/xorg.conf, it will not work. For my part, I backed up xorg.conf and created a new one using the nvidia-xconfig command. Try reading the man pages for the command.

Read https://wiki.archlinux.org/index.php/NVIDIA for more information. This page is for Arch, so not everything in there can be applied directly to Slackware. But it is good knowledge.

Well, it's all a matter of patience.
All the best.
 
Old 06-21-2018, 12:51 PM   #29
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 1,973

Rep: Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866
Hey aragon2101 - Good post, especially IMHO on KMS, but I have one exception. I have never in almost 20 years had an entry in rc.local for nvidia's driver. I just thought of something that might matter. This is a laptop, right? If you do a manual search on the nvidia site most GPUs have 2 entries, one for PC and one for Mobile. It's wise to get the one for Mobile for notebooks.

Other than that I just keep it simple - have complete kernel source, drop to runlevel 3 and run the nvidia installer. Done.

Last edited by enorbet; 06-21-2018 at 01:26 PM.
 
1 members found this post helpful.
Old 06-21-2018, 08:43 PM   #30
narke
Member
 
Registered: Apr 2010
Posts: 177

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by aragorn2101 View Post
Don't use KMS. This is most probably causing the issue with blacklisting.
I find I need to get the term 'not use KMS' or 'turn off KMS' crystal clear. Does it mean 'nouveau.nomodeset' or 'nomodeset' in the kernel command line? The former one I think will disabled the nouveau driver itself, so why would it make sense in this case? If the driver was disabled, how can I use it to start X? The latter one is disabled the kernel KMS feature, I think this might make some sense in my case. Do I understand it correct?

Have a nice day.
-woody
 
  


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
Some games work with Nvidia proprietary driver some with nouveau driver. Why? kairen Slackware 14 10-14-2015 04:19 PM
Does the new nVidia driver actually work for anyone? YodaCows Linux - Hardware 2 04-14-2006 06:43 PM
X doesnt work with NVIDIA driver??? justinchristensen Slackware 4 12-18-2005 09:27 PM
NVIDIA driver via Suse?? Does this work?? little_penguin SUSE / openSUSE 9 08-28-2005 09:15 PM
Still not getting nvidia driver to work.. GardarS Linux - Hardware 14 06-27-2005 05:41 AM

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

All times are GMT -5. The time now is 10:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration