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 02-08-2017, 06:20 AM   #1
Olaus
Member
 
Registered: Apr 2006
Location: Sweden
Distribution: Slackware64 14.2
Posts: 125

Rep: Reputation: 17
nVidia Framebuffer Support needed (NVIDIA GeForce GTX 760)?


Hi, I have a NVIDIA GeForce GTX 760. Right now I am using the Nouveau driver. My question is: Do I need "nVidia Framebuffer Support" and/or "nVidia Riva support" (CONFIG_FB_NVIDIA/CONFIG_FB_RIVA) turned on in the kernel configuration, when compiling a new kernel? Those modules does not seem to be loaded according to lsmod (and not added to the kernel configuration when using localmodconfig).
Or, do I only need frame buffer suppor when using "fbset"?
 
Old 02-08-2017, 06:50 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,281

Rep: Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052
You do not need to do anything.

nvidiafb conflicts with nouveau, so it's expected that it be not loaded when using Nouveau, see this page. You will see also in this page that nouveau intrinsically provides a framebuffer.

nvidiafb is used only with the proprietary Nidia driver, and in that case conversely the nouveau module should of course be blacklisted.

Also, be careful if you use localmodconfig: only loaded kernel modules will be built, so if some removable device needing a specific module is not inserted or plugged in when you issue the make localmodconfig command, it will not be supported by your new kernel.

Last edited by Didier Spaier; 02-08-2017 at 08:26 AM. Reason: Typo fix
 
1 members found this post helpful.
Old 02-08-2017, 06:59 AM   #3
Olaus
Member
 
Registered: Apr 2006
Location: Sweden
Distribution: Slackware64 14.2
Posts: 125

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by Didier Spaier View Post
You do not need to do anything.

nvidiafb conflicts with nouveau, so it's expected that it be not loaded when using Nouveau, see this page. Yoou will see also in this page that nouveau intrinsically provides a framebuffer.

nvidiafb is used only with the proprietary Nidia driver, and in that case conversely the nouveau module should of course be blacklisted.

Also, be careful if you use localmodconfig: only loaded kernel modules will be built, so if some removable device needing a specific module is not inserted or plugged in when you issue the make localmodconfig command, they will not be supported by your new kernel.
Thank you for a quick and thorough answer! I might use the proprietary driver sooner or later, good to know that the framebuffer driver is needed then.
Thanks also for pointing out the pitfalls with using localmodconfig. As for now, I have been looking on i.e. a screen with "make menuconfig" ran on a localmodconfig-generated .config and in another window doing the real configuration, removing options/modules by hand at my liking. Time consuming, but /lib/modules/4.9.8 is about half the size of /lib/modules/4.9.6 (which just was a silentoldconfig from one of the earlier kernel versions).
 
Old 02-08-2017, 08:28 AM   #4
elcore
Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 469

Rep: Reputation: Disabled
The binary isn't using CONFIG_FB_NVIDIA or CONFIG_FB_RIVA, it's using another driver that ships with nvidia installer.
IIRC their module even fails to build correctly if one of these two drivers are enabled in the kernel.
 
Old 02-08-2017, 08:42 AM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,281

Rep: Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052
Quote:
Originally Posted by elcore View Post
The binary isn't using CONFIG_FB_NVIDIA or CONFIG_FB_RIVA, it's using another driver that ships with nvidia installer.
IIRC their module even fails to build correctly if one of these two drivers are enabled in the kernel.
Code:
didier[~]$ grep NVIDIA /boot/config-*38
/boot/config-generic-4.4.38:CONFIG_NET_VENDOR_NVIDIA=y
/boot/config-generic-4.4.38:CONFIG_FB_NVIDIA=m
/boot/config-generic-4.4.38:CONFIG_FB_NVIDIA_I2C=y
/boot/config-generic-4.4.38:# CONFIG_FB_NVIDIA_DEBUG is not set
/boot/config-generic-4.4.38:CONFIG_FB_NVIDIA_BACKLIGHT=y
/boot/config-huge-4.4.38:CONFIG_NET_VENDOR_NVIDIA=y
/boot/config-huge-4.4.38:CONFIG_FB_NVIDIA=m
/boot/config-huge-4.4.38:CONFIG_FB_NVIDIA_I2C=y
/boot/config-huge-4.4.38:# CONFIG_FB_NVIDIA_DEBUG is not set
/boot/config-huge-4.4.38:CONFIG_FB_NVIDIA_BACKLIGHT=y
didier[~]$
I only can say that I never had to tweak the config provided in Slackware to build a Nvidia proprietary module. Anyway, the OP can just try and see if that works, then check the output of lsmod to see which modules are loaded. Possibly the in-tree kernel module is not being loaded then.

Last edited by Didier Spaier; 02-08-2017 at 08:45 AM.
 
Old 02-08-2017, 11:10 AM   #6
elcore
Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 469

Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
I only can say that I never had to tweak the config provided in Slackware to build a Nvidia proprietary module. Anyway, the OP can just try and see if that works, then check the output of lsmod to see which modules are loaded. Possibly the in-tree kernel module is not being loaded then.
You quote my post to address these points that I have not made?

Quote:
Originally Posted by Olaus View Post
I might use the proprietary driver sooner or later, good to know that the framebuffer driver is needed then.
I was responding to this part, these two drivers you mentioned are not relevant anymore when using the binary, because binary's now shipping nvidia-drm.ko and nvidia-modeset.ko
Can't modprobe these when nvidia.ko is used, and can't make them '=y' in kernel config because nvidia.ko will not build on that config. Excuse my french.

That said, I'm not using the binary release, just the firmware from legacy driver plus nouveau module.
 
Old 02-09-2017, 12:59 AM   #7
Olaus
Member
 
Registered: Apr 2006
Location: Sweden
Distribution: Slackware64 14.2
Posts: 125

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by elcore View Post
You quote my post to address these points that I have not made?


I was responding to this part, these two drivers you mentioned are not relevant anymore when using the binary, because binary's now shipping nvidia-drm.ko and nvidia-modeset.ko
Can't modprobe these when nvidia.ko is used, and can't make them '=y' in kernel config because nvidia.ko will not build on that config. Excuse my french.

That said, I'm not using the binary release, just the firmware from legacy driver plus nouveau module.
Sounds fair, as far as I can see in for example http://us.download.nvidia.com/XFree8...uirements.html, nvidiafb is not a prerequisite for installing the proprietary driver.
 
  


Reply

Tags
kernel compile, nvidia


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
Can't boot with new Nvidia Geforce GTX 1060 Pblant0n Linux - Hardware 9 12-24-2016 07:37 PM
LXer: Nvidia 367.27 Video Driver Finally Brings GeForce GTX 1080/1070 Support to Linux LXer Syndicated Linux News 0 06-13-2016 10:11 PM
LXer: NVIDIA GeForce GTX 550 Ti LXer Syndicated Linux News 0 10-21-2011 07:50 AM
LXer: NVIDIA GeForce GTX 280M LXer Syndicated Linux News 0 06-19-2009 12:10 PM
Nvidia AGP problem with Geforce FX 5200 on and SIS 760 mobo GPLed Linux - Hardware 9 12-21-2005 10:06 AM

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

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