LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-05-2003, 07:16 AM   #1
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
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 ???
 
Old 08-05-2003, 07:18 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
did you install the nvidia GLX rpm / tar.gz?
 
Old 08-05-2003, 07:24 AM   #3
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
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.
 
Old 08-05-2003, 07:37 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
yes there's two parts, NVIDIA_Kernel and NVIDIA_GLX
 
Old 08-05-2003, 07:46 AM   #5
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
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 !
 
Old 08-05-2003, 07:51 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
use the source luke!
 
Old 08-05-2003, 07:57 AM   #7
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
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.
 
Old 08-05-2003, 08:15 AM   #8
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
AGH !!!!!

cant even install from source !!!



any surgestions ?
 
Old 08-05-2003, 08:19 AM   #9
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
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
 
Old 08-05-2003, 08:30 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
in the Success Stories forum there is a thread bout how to install the drivers, try reading through that
 
Old 08-05-2003, 08:33 AM   #11
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
where is this forum ?
 
Old 08-05-2003, 09:18 AM   #12
RaWx
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware 9.0
Posts: 7

Rep: Reputation: 0
#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.
 
Old 08-08-2003, 08:47 PM   #13
linux_pioneer
Member
 
Registered: May 2003
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203

Rep: Reputation: 30
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.
 
Old 08-08-2003, 11:53 PM   #14
Awatto
Member
 
Registered: Aug 2003
Location: Halifax, NS
Distribution: Debian, Gentoo, Ubuntu, Fedora
Posts: 128

Rep: Reputation: 30
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.
 
Old 08-09-2003, 04:03 AM   #15
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
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
 
  


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
opengl installed but doesnt work Youri Ubuntu 2 06-09-2006 04:57 PM
(Debian) Installed NVIDIA Drivers: could not load OpenGL subsystem Rayen16 Linux - Hardware 2 07-30-2005 10:10 PM
OpenGL installed hylke Linux - Software 8 08-23-2004 03:53 AM
nvidia opengl sodamnmad Programming 1 09-30-2003 03:27 PM
How can one tell if openGL is installed? islandkid Linux - General 3 08-22-2002 12:41 PM

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

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