All of lore.kernel.org
 help / color / mirror / Atom feed
* a trouble with OpenGL
@ 2002-09-16  2:11 Adwin
  2002-09-16  2:41 ` a trouble with OpenGL (additional information) Adwin
  0 siblings, 1 reply; 9+ messages in thread
From: Adwin @ 2002-09-16  2:11 UTC (permalink / raw)
  To: linux-newbie; +Cc: Learn-linux

hello.

	I am using Mandrake 8.2 with KDE 3.02. Every time I run a qt program (even it 
is a helloworld) from my console, it always display "Loading Required 
libGL.so.1.3.401" on console. The program run as usually.
I have been checked my /usr/X11R6/lib/ and I can found a libGL.so.1.3.401. 
I have been try to make a link (ln -s libGL.so.1.3.401 libGL.so), and it still 
doesn't work.

I have another problem, I tried to install NVIDIA graphic driver for Linux 
(driver for : RivaTNT2). The drivers (rpm)  that I installed are :
1. NVIDIA_GLX-1.0-3123.i386.rpm (GLX)
2. NVIDIA_kernel-1.0-3123.mdk82up.i586.rpm ( kernel driver)
After I restart my X Server, now I completly cannot run any openGL application 
on Linux. It always said : "  OpenGL not supported " 

I checked on /usr/X11R6/lib again, and I found that 
all libGL* was renamed become 
xxx.libGL.so.1.2.RPMSAVE*
xxx.libGL.so.1.3.401.RPMSAVE*
xxx.libGL.so.x.RPMSAVE*
xxx.libGL.so.1.0.RPMSAVE*

What should I do to make my system work well again (especially OpenGL)? 


thxs 
adwin

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 9+ messages in thread

* a trouble with OpenGL (additional information)
  2002-09-16  2:11 a trouble with OpenGL Adwin
@ 2002-09-16  2:41 ` Adwin
  2002-09-16  2:58   ` Ray Olszewski
  0 siblings, 1 reply; 9+ messages in thread
From: Adwin @ 2002-09-16  2:41 UTC (permalink / raw)
  To: linux-newbie; +Cc: Learn-linux

addtional information : 

I have just found in /usr/lib (not in /usr/X11R6/lib)

lrwxrwxrwx    1 root     root           21 Sep 16 08:42 libGLcore.so.1 -> 
libGLcore.so.1.0.3123*
-r-xr-xr-x    1 root     root      3623820 Aug 28 06:36 libGLcore.so.1.0.3123*
lrwxrwxrwx    1 root     root           10 Sep 16 08:42 libGL.so -> 
libGL.so.1*
lrwxrwxrwx    1 root     root           17 Sep 16 08:42 libGL.so.1 -> 
libGL.so.1.0.3123*
-r-xr-xr-x    1 root     root       283444 Aug 28 06:36 libGL.so.1.0.3123*

can I remove those file into /usr/X11R6/lib  ? 

thanxs
adwin



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: a trouble with OpenGL (additional information)
  2002-09-16  2:41 ` a trouble with OpenGL (additional information) Adwin
@ 2002-09-16  2:58   ` Ray Olszewski
  2002-09-16  4:10     ` Adwin
  0 siblings, 1 reply; 9+ messages in thread
From: Ray Olszewski @ 2002-09-16  2:58 UTC (permalink / raw)
  To: Adwin, linux-newbie; +Cc: Learn-linux

At 09:41 AM 9/16/02 +0700, Adwin wrote:
>addtional information :
>
>I have just found in /usr/lib (not in /usr/X11R6/lib)
>
>lrwxrwxrwx    1 root     root           21 Sep 16 08:42 libGLcore.so.1 ->
>libGLcore.so.1.0.3123*
>-r-xr-xr-x    1 root     root      3623820 Aug 28 06:36 libGLcore.so.1.0.3123*
>lrwxrwxrwx    1 root     root           10 Sep 16 08:42 libGL.so ->
>libGL.so.1*
>lrwxrwxrwx    1 root     root           17 Sep 16 08:42 libGL.so.1 ->
>libGL.so.1.0.3123*
>-r-xr-xr-x    1 root     root       283444 Aug 28 06:36 libGL.so.1.0.3123*
>
>can I remove those file into /usr/X11R6/lib  ?

It is difficult to say for certain, but probably not. On my system (Debian 
Sid), the equivalent libraries are located in /usr/X11R6/lib/, but /usr/lib 
contains symlinks to them. This arrangement implies that some applications 
expect to find them in one place, others in the other. So your safer course 
is to put symlinks in /usr/X11R6/lib that point to the actual libraries 
("man ln" if you need to learn how to do this).


--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski					-- Han Solo
Palo Alto, California, USA			  ray@comarre.com
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: a trouble with OpenGL (additional information)
  2002-09-16  2:58   ` Ray Olszewski
@ 2002-09-16  4:10     ` Adwin
  2002-09-16  6:29       ` pa3gcu
                         ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Adwin @ 2002-09-16  4:10 UTC (permalink / raw)
  To: linux-newbie

On Monday 16 September 2002 09:58, Ray Olszewski wrote:
>
> It is difficult to say for certain, but probably not. On my system (Debian
> Sid), the equivalent libraries are located in /usr/X11R6/lib/, but /usr/lib
> contains symlinks to them. This arrangement implies that some applications
> expect to find them in one place, others in the other. So your safer course
> is to put symlinks in /usr/X11R6/lib that point to the actual libraries
> ("man ln" if you need to learn how to do this).

I have already make a ln (ln -s /usr/X11R6/lib/liGLU.so libGLU.so) in 
/usr/lib.

when I try to compile / make a program, it compiled successfully. But, when I 
try to run the program it always error :

Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Failed to Create Window : Couldn't find matching GLX visual

Must I re-install Mesa3D & uninstall NVIDIA driver that I have just installed 
? 

-- 
./me
adwin

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: a trouble with OpenGL (additional information)
  2002-09-16  4:10     ` Adwin
@ 2002-09-16  6:29       ` pa3gcu
  2002-09-16 16:44       ` Bryan Whitehead
  2002-09-16 17:27       ` Tim Kay
  2 siblings, 0 replies; 9+ messages in thread
From: pa3gcu @ 2002-09-16  6:29 UTC (permalink / raw)
  To: Adwin, linux-newbie

On Monday 16 September 2002 04:10, Adwin wrote:
> On Monday 16 September 2002 09:58, Ray Olszewski wrote:
> > It is difficult to say for certain, but probably not. On my system
> > (Debian Sid), the equivalent libraries are located in /usr/X11R6/lib/,
> > but /usr/lib contains symlinks to them. This arrangement implies that
> > some applications expect to find them in one place, others in the other.
> > So your safer course is to put symlinks in /usr/X11R6/lib that point to
> > the actual libraries ("man ln" if you need to learn how to do this).
>
> I have already make a ln (ln -s /usr/X11R6/lib/liGLU.so libGLU.so) in
> /usr/lib.
>
> when I try to compile / make a program, it compiled successfully. But, when
> I try to run the program it always error :
>
> Xlib:  extension "GLX" missing on display ":0.0".
> Xlib:  extension "GLX" missing on display ":0.0".
> Failed to Create Window : Couldn't find matching GLX visual
>
> Must I re-install Mesa3D & uninstall NVIDIA driver that I have just
> installed ?

I belive you need to read the documentation witch came with the NVIDIA 
driver, further more if you read and interpret the error message above it 
says, Xlibaray can't find the "GLX" extention module in your display 
enviroment.

In other words edit your XF86Config file as per the NVIDIA doc's.
Under the "modules" section" you need;
# This loads the GLX module
    Load       "glx"


-- 
Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: a trouble with OpenGL (additional information)
  2002-09-16  4:10     ` Adwin
  2002-09-16  6:29       ` pa3gcu
@ 2002-09-16 16:44       ` Bryan Whitehead
  2002-09-16 17:27       ` Tim Kay
  2 siblings, 0 replies; 9+ messages in thread
From: Bryan Whitehead @ 2002-09-16 16:44 UTC (permalink / raw)
  To: Adwin; +Cc: linux-newbie

Adwin wrote:
> On Monday 16 September 2002 09:58, Ray Olszewski wrote:
> 
>>It is difficult to say for certain, but probably not. On my system (Debian
>>Sid), the equivalent libraries are located in /usr/X11R6/lib/, but /usr/lib
>>contains symlinks to them. This arrangement implies that some applications
>>expect to find them in one place, others in the other. So your safer course
>>is to put symlinks in /usr/X11R6/lib that point to the actual libraries
>>("man ln" if you need to learn how to do this).
> 
> 
> I have already make a ln (ln -s /usr/X11R6/lib/liGLU.so libGLU.so) in 
> /usr/lib.
> 
> when I try to compile / make a program, it compiled successfully. But, when I 
> try to run the program it always error :
> 
> Xlib:  extension "GLX" missing on display ":0.0".
> Xlib:  extension "GLX" missing on display ":0.0".
> Failed to Create Window : Couldn't find matching GLX visual
> 
> Must I re-install Mesa3D & uninstall NVIDIA driver that I have just installed 
> ? 
> 
your probably running X using the old "nv" opensource driver, so the 
NVidia driver - although installed - is not being used. while in X open 
an xterm and type "lsmod" and see if "Used By" is greater than 0 for the 
NVidia module.

In your /etc/X11/XF86Config-4 file make sure in the device section that 
Driver is "nvidia".

-- 
Bryan Whitehead
SysAdmin - JPL - Interferometry Systems and Technology
Phone: 818 354 2903
driver@jpl.nasa.gov

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: a trouble with OpenGL (additional information)
  2002-09-16  4:10     ` Adwin
  2002-09-16  6:29       ` pa3gcu
  2002-09-16 16:44       ` Bryan Whitehead
@ 2002-09-16 17:27       ` Tim Kay
  2 siblings, 0 replies; 9+ messages in thread
From: Tim Kay @ 2002-09-16 17:27 UTC (permalink / raw)
  To: Adwin; +Cc: linux-newbie

Oh what fun,
	in addition to the information above please note that kernels compiled
with a GCC3.*.* and modules compiled with GCC2 (ie the nvidia driver)
don't always co-exist happily (at least according to hedrat). On my
machine just adding the /etc/modules.conf line is not enough to get the
nvidia module to load, I have to insmod -f the thing - it does work
happily once it's forced in though, the refusal to insert the module in
the kernel may be a modutils issue so YMMV as always.

Tim


On Mon, 2002-09-16 at 05:10, Adwin wrote:
> On Monday 16 September 2002 09:58, Ray Olszewski wrote:
> >
> > It is difficult to say for certain, but probably not. On my system (Debian
> > Sid), the equivalent libraries are located in /usr/X11R6/lib/, but /usr/lib
> > contains symlinks to them. This arrangement implies that some applications
> > expect to find them in one place, others in the other. So your safer course
> > is to put symlinks in /usr/X11R6/lib that point to the actual libraries
> > ("man ln" if you need to learn how to do this).
> 
> I have already make a ln (ln -s /usr/X11R6/lib/liGLU.so libGLU.so) in 
> /usr/lib.
> 
> when I try to compile / make a program, it compiled successfully. But, when I 
> try to run the program it always error :
> 
> Xlib:  extension "GLX" missing on display ":0.0".
> Xlib:  extension "GLX" missing on display ":0.0".
> Failed to Create Window : Couldn't find matching GLX visual
> 
> Must I re-install Mesa3D & uninstall NVIDIA driver that I have just installed 
> ? 
> 
> -- 
> ./me
> adwin
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
-- 
-----------------------------
Tim Kay
Systems programmer
Queen Mary University of London

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: a trouble with OpenGL (additional information)
@ 2002-09-17  0:00 Heimo Claasen
  2002-09-17  9:49 ` Adwin
  0 siblings, 1 reply; 9+ messages in thread
From: Heimo Claasen @ 2002-09-17  0:00 UTC (permalink / raw)
  To: linux-newbie

Had similar trouble with the Nvidia driver: despite a good - and,
according to the Nvidia cocumentation, complete and compatible -
installation of Mdk 8.2 the Nvidia driver refuses to install.

It complains about the kernel versin - the Nvidia driver wants
"kernel = 2.4.8-16mdk" while for its "Mdk 8.1"-compliant installation:
while Mdk 8.1 and 8.2 have higher kernel versions (2.4.18-6mdk for the
latter).

Clearly a (Nividia) bug.

// Heimo Claasen // <hammer at revobild dot net> // Brussels 2002-09-16
The WebPlace of ReRead - and much to read  ==>  http://www.revobild.net

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: a trouble with OpenGL (additional information)
  2002-09-17  0:00 Heimo Claasen
@ 2002-09-17  9:49 ` Adwin
  0 siblings, 0 replies; 9+ messages in thread
From: Adwin @ 2002-09-17  9:49 UTC (permalink / raw)
  To: Heimo Claasen; +Cc: linux-newbie

On Thursday 01 January 1970 07:00, Heimo Claasen wrote:
> Had similar trouble with the Nvidia driver: despite a good - and,
> according to the Nvidia cocumentation, complete and compatible -
> installation of Mdk 8.2 the Nvidia driver refuses to install.
>
> It complains about the kernel versin - the Nvidia driver wants
> "kernel = 2.4.8-16mdk" while for its "Mdk 8.1"-compliant installation:
> while Mdk 8.1 and 8.2 have higher kernel versions (2.4.18-6mdk for the
> latter).
>
> Clearly a (Nividia) bug.
> // Heimo Claasen // <hammer at revobild dot net> // Brussels 2002-09-16
> The WebPlace of ReRead - and much to read  ==>  http://www.revobild.net

I don't think so.... I use Mandrake 8.2 and I can install it on my system. 
But, may be rather buggy, sometimes I got hang when playing tuxracer or just 
run a opengl application.  I don't know why this happen, may be the drivers 
is not stable yet.


-- 
./me
adwin


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-09-17  9:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-16  2:11 a trouble with OpenGL Adwin
2002-09-16  2:41 ` a trouble with OpenGL (additional information) Adwin
2002-09-16  2:58   ` Ray Olszewski
2002-09-16  4:10     ` Adwin
2002-09-16  6:29       ` pa3gcu
2002-09-16 16:44       ` Bryan Whitehead
2002-09-16 17:27       ` Tim Kay
  -- strict thread matches above, loose matches on Subject: below --
2002-09-17  0:00 Heimo Claasen
2002-09-17  9:49 ` Adwin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.