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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
08-05-2003, 07:16 AM
|
#1
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
nvidia is installed, how do i install openGl ?
the openGl games i am rying to install are complaining tat i do not have openGL installed.
i have installed my nVidia graphics card, i though this installed openGL too.
what do i have to do now ???
|
|
|
08-05-2003, 07:18 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
did you install the nvidia GLX rpm / tar.gz?
|
|
|
08-05-2003, 07:24 AM
|
#3
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Original Poster
Rep:
|
i did the whole change to runlevel 3, and run the binary provided by nvidia, then update my XF86Config to load the new driver.
when the X-server starts, the nvidia logo is displayed.
is, so i assumed i had completed the installation.
where can i find this GLX ?
ill just assume nvidia.com.
ill try that thanx for the quick reply.
|
|
|
08-05-2003, 07:37 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
yes there's two parts, NVIDIA_Kernel and NVIDIA_GLX
|
|
|
08-05-2003, 07:46 AM
|
#5
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Original Poster
Rep:
|
yes, i cant find a nvidia kernel for my system (redhat 9 i686)
non of them will install
and i cant find the damn page, im using the nvidia's home page search box, GRRR !
|
|
|
08-05-2003, 07:51 AM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
use the source luke!
|
|
|
08-05-2003, 07:57 AM
|
#7
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Original Poster
Rep:
|
lol,
yeah, thats always the answer.
i wouldnt mind using source if i werent so damn lazy and kept track of what i have and have not installed
rpm -q is a godsend :P
thanX (again)
the strange thing is, is that UT2003 runs fine on my system, and its an OpenGL game. ohh well.
thanx again for the help.
|
|
|
08-05-2003, 08:15 AM
|
#8
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Original Poster
Rep:
|
AGH !!!!!
cant even install from source !!!
any surgestions ?
|
|
|
08-05-2003, 08:19 AM
|
#9
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Original Poster
Rep:
|
it looks like a programming error, but i know this cannot be the case
[root@localhost NVIDIA_kernel-1.0-1541]# make
rm -f nv.o os-interface.o os-registry.o Module-linux NVdriver
cc -c -Wall -Wno-unknown-pragmas -Wno-multichar -O -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -D_X86_=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=1541 -I. -I/lib/modules/2.4.20-8/build/include nv.c
In file included from nv-linux.h:56,
from nv.c:55:
/lib/modules/2.4.20-8/build/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
nv.c: In function `nvos_get_kvirt_address':
nv.c:564: warning: implicit declaration of function `pte_offset'
nv.c:564: warning: assignment makes pointer from integer without a cast
nv.c: In function `nv_kern_mmap':
nv.c:1355: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nv.c:1355: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1355: too few arguments to function `remap_page_range_R2baf18f2'
nv.c:1372: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nv.c:1372: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1372: too few arguments to function `remap_page_range_R2baf18f2'
nv.c:1402: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nv.c:1402: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1402: too few arguments to function `remap_page_range_R2baf18f2'
make: *** [nv.o] Error 1
|
|
|
08-05-2003, 08:30 AM
|
#10
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
in the Success Stories forum there is a thread bout how to install the drivers, try reading through that
|
|
|
08-05-2003, 08:33 AM
|
#11
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Original Poster
Rep:
|
where is this forum ?
|
|
|
08-05-2003, 09:18 AM
|
#12
|
LQ Newbie
Registered: Aug 2003
Distribution: Slackware 9.0
Posts: 7
Rep:
|
#error linux/malloc.h is deprecated, use linux/slab.h instead.
Try changing all occurences of the
#include <linux/malloc.h>
to
#inlcude <linux/slab.h> and then run the make process.
|
|
|
08-08-2003, 08:47 PM
|
#13
|
Member
Registered: May 2003
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203
Rep:
|
question: I have an Nvidia GForce2 and I'm running rh9. I install the nvidia driver everytime I do a kernel update. Is the opengl driver (two parts: NVIDIA_Kernel and NVIDIA_GLX) different from this? I know I have opengl because when I install from source ./configure sees opengl. Just curious.
|
|
|
08-08-2003, 11:53 PM
|
#14
|
Member
Registered: Aug 2003
Location: Halifax, NS
Distribution: Debian, Gentoo, Ubuntu, Fedora
Posts: 128
Rep:
|
hmm, if i'm correct the 2 parts (NVIDIA_Kernel and NVIDIA_GLX) were what was used a while ago. Now they just have the .run file. I believe they are the same thing but the new way only has one file.
|
|
|
08-09-2003, 04:03 AM
|
#15
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Original Poster
Rep:
|
yeah, i used the new .run way.
i tried the old way because the new way didnt seem to work.
but it turned out my problem was a package i was trying to install gave VERY missleading dependancy information!!!!
when it said... Your system does not support openGL...
what it meant was, upgrade glut-devel
|
|
|
All times are GMT -5. The time now is 01:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|