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 06-22-2005, 12:01 AM   #1
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
NVIDIA framebuffer question


I upgraded to the 2.6.12 kernel the other day. Everything seems to be working well. Checking out my kernel config, though, I came up with a question. First some code:

Code:
shilo@shilo2:~$ grep _FB /usr/src/linux/.config
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SOFT_CURSOR=y
# CONFIG_FB_MACMODES is not set
CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
# CONFIG_FB_HGA is not set
CONFIG_FB_NVIDIA=m
CONFIG_FB_NVIDIA_I2C=y
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON_OLD is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_VIRTUAL is not set
I am using an NVIDIA GeForce 5700 LE. I was wondering if this is the optimal configuration. Note the intersting parts:

CONFIG_FB=y

So the framebuffer is what allows the higher resolution command line, correct? Reading the kernel configuration help:

Quote:
If you are compiling for the x86 architecture, you can say Y if you
want to play with it, but it is not essential. Please note that
running graphical applications that directly touch the hardware
(e.g. an accelerated X server) and that are not frame buffer
device-aware may cause unexpected results. If unsure, say N.
So is there any performance hit on a desktop that primarily uses X? Is the help suggesting that running with a framebuffer may cause unexpected results, or that running without a framebuffer may cause unexpected results?

CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SOFT_CURSOR=y
CONFIG_FB_MODE_HELPERS=y

The above five, I don't seem to see in the kernel configuration tool. Are they automatically selected because of other choices I made, or am I just looking in the wrong place?

# CONFIG_FB_TILEBLITTING is not set

Is there any advantage to enabling this with an NVIDIA card? All the help gives as a clue is this:

Quote:
This is particularly important to one driver, matroxfb. If
unsure, say N.
CONFIG_FB_VESA=y

So this is still needed along with the specific framebuffer module for my card? I am thinking yes because even though this is compiled directly into the kernel, I still see th following:

Code:
shilo@shilo2:~$ lsmod |grep nvidia
nvidia               3705604  12
nvidiafb               50908  0
agpgart                29448  2 sis_agp,nvidia
So what does this indicate? Is the nvidiafb module not being used? Isn't that what the 0 indicates? Shouldn't it be used?

CONFIG_FB_NVIDIA=m

Help sayd that you should say yes if you have an graphics card with nVidia chips, so I figure it is a good thing to have it, even if only as a module. Any benefits to compiling it directly in?

CONFIG_FB_NVIDIA_I2C=y

Just folowing help's advice on this one.

Nothing seems to be broken right now, just wondering if I am squeezing every last bit of performance (that I never use ) out of my hardware.

Thanks in advance for any thoughts.
 
Old 06-22-2005, 01:04 AM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
the frame buffer is for graphics outside of x. I tried the riva fb option for my card and ended up re compilling without it 'case it conflicted with the nvidia drivers. since on most systems the most intensive thing that the fb will do is a "cool" splash screen at boot up I would just stick with the generic vesa fb option.
 
Old 06-22-2005, 01:27 AM   #3
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I have the same card, I don't enable CONFIG_FB_NVIDIA
as johnson_steve said, it may produces conflict with the
proprietary driver.

Also as you compiled it as module, I think it is not used
because the framebuffer function is loaded before any
modules if I refer to the boot process (see the output
at boot) The kernel set the framebuffer video memory
once and don't come back. (That's why framebuffer
features need to be enabled as built-in not modules)
I think it can be enabled as module if it is loaded from
an initrd though.

For this card you need only enable
CONFIG_FB,
CONFIG_FB_VESA,
CONFIG_FRAMEBUFFER_CONSOLE,
CONFIG_VGA_CONSOLE,
CONFIG_VIDEO_SELECT
CONFIG_FONTS
(and one font)

That should be all for framebuffer
 
  


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
New NVIDIA driver and framebuffer lp449 Linux - Laptop and Netbook 3 09-25-2006 01:17 PM
NVIDIA FX5200 and Console Framebuffer Wintceas Linux - Hardware 2 07-19-2005 09:16 PM
nvidia, tvout and framebuffer ioio85 Linux - Hardware 0 05-12-2004 08:27 PM
framebuffer vs nvidia drivers mrvikki Linux - Software 1 03-30-2004 02:35 PM
nVidia TNT2 framebuffer w/ 2.6 kernel? TedMaul Linux - Hardware 2 03-03-2004 10:09 AM

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

All times are GMT -5. The time now is 09:09 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