LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2004, 08:53 PM   #1
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

Rep: Reputation: 30
what is a kernel interface


this is a stupid newbie question, but i was wonder what is a kernel interface? because i was installing the geforce drivers, and it told me "no precompiled kernel interface was found...the installer will need to compile a kernel interface for your kernel"
I wanted to know what a kernel interface is, and what i could do, in case then happen again, or think about when compiling a newer kernel.

p.s.i use slackware 9.1 with a stock 2.4.22 kernel.
video card: geforce 5200
thanks.
 
Old 08-08-2004, 09:18 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
The more recent kernels support direct rendering (kind of
like directX), and it needs to be built to match your kernel
(a layer between the hardware and X, loosely speaking,
thus the term interface).
What the nVidia installer does is it checks whether there's
already one available for download that matches your
installed kernel. Since Slack isn't main-stream there is no
such thing, and you need to compile it.


Cheers,
Tink
 
Old 08-08-2004, 09:28 PM   #3
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
If you want to install the nvidia driver it should do it all for you assuming you have the build environment and kernel source installed. The nvidia installer first checks what you have then compiles the kernel interface and installs it and then you just need to edit the xfree or Xorg config to get the 3D going...
 
Old 08-08-2004, 09:40 PM   #4
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

Original Poster
Rep: Reputation: 30
thanks, installed the nvidia drivers, ran xfree86setup, but when i run nvidia-settings to see if everyworks, i get an error:
<CODE>
(nvidia-settings:3151): Gtk-WARNING **: cannot open display:
</CODE>

why would this be the case

Last edited by djgerbavore; 08-08-2004 at 09:46 PM.
 
Old 08-08-2004, 09:52 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Because a) X isn't running or b) you're running nvidia-settings
as a different user than the one that owns the session...

If the latter is the case, type xhost +localhost as the user
who is running the session, and export DISPLAY=:0.0
as the user (in the same console!) that's trying to run nvidia-settings



Cheers,
Tink
 
Old 08-09-2004, 08:01 AM   #6
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

Original Poster
Rep: Reputation: 30
i think i got everything striaght out, but when i start x by typing startx, the resolution is is 640 x 480, and i don't know how to change it. were should i look? i'm not sure what i'm looking for.
 
Old 08-09-2004, 12:43 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I'd have a play with

XFree86 -configure

xf86cfg

xf86config


Cheers,
Tink
 
Old 08-09-2004, 02:07 PM   #8
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

Original Poster
Rep: Reputation: 30
is fame buffer the same as resolution? i know it's a stupid question, but i just want to make sure i understand this clear. thanks alot

i didn't all the options, but still no luck. here is my XF86config file:

Code:
Section "ServerLayout"
Identifier     "XFree86 Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath      "/usr/X11R6/lib/X11/rgb"
ModulePath   "/usr/X11R6/lib/modules"
FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load  "glx"
Load  "record"
Load  "extmod"
Load  "dbe"
Load  "dri"
Load  "xtrap"
Load  "type1"
Load  "freetype"
Load  "speedo"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "keyboard"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option	    "Protocol" "auto"
Option	    "Device" "/dev/mouse"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
EndSection

Section "Device"
Identifier  "Card0"
Driver      "nvidia"
VendorName  "nVidia Corporation"
BoardName   "Unknown Board"
BusID       "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth     1
EndSubSection
SubSection "Display"
Depth     4
EndSubSection
SubSection "Display"
Depth     8
EndSubSection
SubSection "Display"
Depth     15
EndSubSection
SubSection "Display"
Depth     16
EndSubSection
SubSection "Display"
Depth     24
EndSubSection
EndSection

Last edited by djgerbavore; 08-09-2004 at 03:52 PM.
 
  


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
kernel 2.6.3 ping -I <interface> fails gtop Linux - Networking 9 02-21-2005 06:41 PM
Missing ppp0 interface on 2.6.7 kernel kamransoomro84 Linux - Hardware 7 01-03-2005 01:12 PM
Precompiled Kernel Interface? haku Linux - Software 6 05-03-2004 11:48 AM
kernel 2.6.3 mouse interface? rmanocha Linux - Software 4 03-16-2004 11:05 AM
kernel-2.6-test3 lo interface not working rch Linux - General 3 08-26-2003 11:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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