Solaris 8 and openGL


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 8 and openGL
# 1  
Old 11-08-2012
Solaris 8 and openGL

Hi everybody,

Sorry to bother you one more time, but I have a problem with my Solaris 8 installation.

Actually, Solaris works well, I can start X and access my desktop (CDE), but I'm having troubles using Cadds (a CAO software). Cadds works, but the 3D visualization is very slow compare to what it should be.

And, I think the problems come from OpenGL, because when I run the command "ogl_install_check" I have this output.

Code:
./sparcv9/ogl_install_check: glXMakeCurrent Error: Can't make context current

On another computer which also has Solaris 8 and Cadds (with good performances with 3D vizualisation), the "ogl_install_check" command works fine and shows me a 3D wheel.

So, I think there is something wrong with OpenGl but don't know at all how to fix it.

If you have any idea on how I could fix that issue, I'll be very grateful.
Thanks in advance.

ps : let me know if you need more details about my configuration etc...

---------- Post updated 11-08-12 at 03:54 AM ---------- Previous update was 11-07-12 at 06:46 AM ----------

Oups, really sorry about that. Juste realized that I didn't give lots of details about my configuration.

So, here are few more details. My computer is a Sun Blade 1500 sparc architecture.

Code:
uname -a
SunOS sb1500 5.8 Generic_117350-08 sun4u sparc SUNW,Sun-Blade-1500

Also, I'm now sure that the problem comes from OpenGL.

When I launch Cadds normally, it works but is very slow for 3D vizualisation, the advice is to launch Cadds using OpenGL mode (so 3D vizualisation works well), but when I do it, Cadds freeze after few seconds. So I'm pretty sure that the problem with that computer is OpenGL related.

Any idea?
Thanks again in advance for any help provided
# 2  
Old 11-12-2012
You might run truss ogl_install_check on the good and bad systems, and see where they part company. I trust you are within the CDE with your $DISPLAY exported when you run it?
# 3  
Old 11-13-2012
Message edited as it was useless.

Reinstalling the system right now Smilie.

Last edited by firstpost; 11-14-2012 at 03:52 AM..
# 4  
Old 11-15-2012
Hi DGPickett, thank you very much for your reply,

Yes, I ran the ogl_install_check from a terminal in CDE.

I think my $DISPLAY is correctly exported as the "env" command gives me this output
Code:
DISPLAY=:0.0

Also, I ran truss ogl_install_check on both systems, but the output were so huge, that I decided to don't put it here.

BTW, I looked at these outputs, and couldn't find something wrong. Let me know if you want me to put these outputs in this thread.

Also, I've just reinstalled the whole system with Cadds. The computer is now clean. (it's a CD set that has Solaris 8 & Cadds provided)

BTW, let me know if you need more details about my configuration.

Thanks a lot in advance,
Regards,

---------- Post updated at 09:01 AM ---------- Previous update was at 04:10 AM ----------

Hi there, me again Smilie.

So, I've tried many things. First, you'll see below packages I have for OpenGL and my XVR-1200 graphic card.

Code:
pkginfo | egrep -i "XVR-1200"
application SUNWjfbcf            Sun XVR-1200 and XVR-600 Graphics Configuration Software (64-bit)
system      SUNWjfbmn            Sun XVR-1200 and XVR-600 Graphics On-line Manual Pages
system      SUNWjfbr             Sun XVR-1200 and XVR-600 Graphics System Software (Root) (64-bit)
application SUNWjfbw             Sun XVR-1200 and XVR-600 Graphics Window System Support (64-bit)
system      SUNWjfbx             Sun XVR-1200 and XVR-600 Graphics System Software/Device Driver (64-bit)

Code:
pkginfo | egrep -i "OpenGL"
application SUNWafbgl            Sun OpenGL for Solaris Elite3D Support
application SUNWafbgx            Sun OpenGL for Solaris 64-bit Elite3D Support
application SUNWffbgl            Sun OpenGL for Solaris Creator Graphics (FFB) Support
application SUNWffbgx            Sun OpenGL for Solaris 64-bit Creator Graphics (FFB) Support
application SUNWgfbgl            Sun OpenGL for Solaris Gfb Support
application SUNWgfbgx            Sun OpenGL for Solaris 64-bit Gfb Support
application SUNWglh              Sun OpenGL for Solaris Header Files
application SUNWglrt             Sun OpenGL for Solaris Runtime Libraries
application SUNWglrtu            Sun OpenGL for Solaris Platform Specific Runtime Libs
application SUNWglrtx            Sun OpenGL for Solaris 64-bit Runtime Libraries
application SUNWglsr             Sun OpenGL for Solaris Runtime Generic Software
application SUNWglsrx            Sun OpenGL for Solaris 64-bit Optimized SW Rasterizer
application SUNWglsrz            Sun OpenGL for Solaris Optimized SW Rasterizer
application SUNWifbgl            Sun OpenGL for Solaris Expert3D/Expert3D-Lite/XVR-500 Graphics Support
application SUNWifbgx            Sun OpenGL for Solaris 64-bit Expert3D/Expert3D-Lite/XVR-500 Graphics Support

So, according to packages that are installed, it seems everything is OK and should work (IMHO).

Also, I've tried according to that page to do...
Code:
chmod 666 /dev/mouse /dev/kbd /dev/sound/* /dev/fbs/*

... to get DGA access.

Unfortunately, it didn't work.

To be honest, I don't know what is wrong with this configuration, and unfortunately, looking for "glXMakeCurrent Error: Can't make context current" in Google didn't helped a lot.

Also, while DGPickett was talking about DISPLAY export, I have tried to use x forwarding through another computer (Windows, using Putty and Xming).

And, the output, when I try to run a graphical application is:
Code:
Cannot open connection to window server: localhost:10.0 (Server package)

And nothing appears.

But, when I do it on another computer (still from Windows using Putty & Xming), it works perfectly.

Also, just noticed that I have this in my ~/.dt/errorlog file
Code:
Workspace Manager: I/O error on display:: :0.0

So, I think DGPickett may have spotted a problem on my configuration related to DISPLAY export.

But, now the question is : How to fix it?

Any suggestion is welcome, and as usual, if you need more details about some configuration files, just ask, I'll be please to give you more details.

Thanks again a lot in advance Smilie

---------- Post updated 11-15-12 at 03:34 AM ---------- Previous update was 11-14-12 at 09:01 AM ----------

Hi again guys Smilie. Sorry to give you details post by post, day after day, but as Solaris 8 is new to me, it takes me longer to accumulate informations.

So, first, you'll see below what graphic card is installed in my SunBlade 1500-red

Code:
/usr/sbin/prtconf -F
/pci@1f,700000/SUNW,XVR-1200@3:jfb0

Also, I have the Cadds documentation (available here if you want) which helps to set up Solaris for a good use of Cadds.

Here are few things

- First, they talk about XVR-1200. That means, it should be compatible.

- Page 3-33, they talk on how to set up the XVR-xxxx adaptors.

Quote:
If you have a Creator3D or an XVR accelerator board, run the following
commands:
fbconfig -defaults -defoverlay true
This is exactly what I've done (enabled -defoverlay), but the problem persists.

You'll see below my full graphic configuration

Code:
fbconfig -prconf

--- Hardware Configuration for /dev/fb ---

Type: XVR-1200
Sun Serial Number: 3753101006482
Hardware Revision: -04 rev50
Manufacture Date: Fri Apr  9 10:47:25 2004
PROM Information: @(#)jfb.fth 1.10 03/04/03 SMI

Monitor/Resolution Information:
   EDID Data: Available - EDID version 1 revision 3
   Monitor type: INM product code 22037 S/N 257 DOM 18W/2010
   Current resolution setting: 1280x1024x75
   Monitor possible resolutions: 1024x768x60, 1024x768x70, 1024x768x75,
   1280x1024x60, 1280x1024x75, 640x480x60, 1920x1200x60_240T,
   1600x1200x60, 800x600x75, 1920x1080x60, 1600x1200x60rb

Framelock Configuration:
   Slave Mode: Disabled

Memory Information:
   Total Video Memory: 134217728
   Video Memory Used: 134217728
   Total Texture Memory: 268435456
   Texture Memory Used: 0
   Total Display List Memory: 33554432

Code:
fbconfig -propt

--- OpenWindows Configuration for /dev/fb ---

OWconfig: machine
Video Mode: 1280x1024x75
Accum: Enabled (allocate an accumulation buffer if possible)

Multisample Information:
   Multisample Mode: Available (multisample visuals will be available)
   Samples Per Pixel: Adaptive (variable num. of samples per pixel, min. is 2)

Screen Information:
   DoubleWide: Disabled
   DoubleHigh: Disabled
   Output Configuration: Direct
   Offset/Overlap: [0, 0]

Visual Information:
   Default Visual: Non-Linear Overlay Visual
   Visual Ordering: Linear Visuals are last
                 Overlay Visuals are last
   Gamma Correction Value: 2.22
   Gamma Correction Table: Available
   Fake8 rendering: disabled
   Default Visual Depth (defdepth): 8

Still can't see anything wrong.

Also, I finally manage to launch Cadds from terminal, and here is where I have an issue.

Code:
CADDS 5i Release 12.0
Copyright 2001 blablabla

Cannot associate OpenGL context with window
Double Buffering No Supported
Cannot associate OpenGL context with window
Double Buffering No Supported
Cannot associate OpenGL context with window
Double Buffering No Supported

... and then it launches correctly, but without 3D acceleration, based on X11 output where it should use OpenGL

Is it possible that the graphic card is faulty?

Any suggestion on what I should try/test.

Please, let me know if you need more details.

Thanks a lot in advance Smilie

Last edited by firstpost; 11-15-2012 at 03:26 AM..
# 5  
Old 11-15-2012
Yes, that is usually an OK $DISPLAY, as long as it is exported (try sh -c 'echo $DISPLAY') and nobody is leaving the host or demands tcp/ip AF_INET connection. I suppose the working system is the same?

Well, there is still truss to show you where things diverge from a working system. It (or tusc or strace) is one of my go-to friends for all sorts of mysteries.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Difference between opengl es and directfb

i dont know in which forum to ask this question ..... :( . pardon me if it is not this forum i wanted to know difference between openGL ES and directfb as far i know directfb is alternative to x11 in linux for embedded devices. something like ... application | ... (1 Reply)
Discussion started by: alexzander18
1 Replies

2. Programming

How to install openGL packages?

Hi, Any one help me regarding how to install openGL packages to work in linux. And i installed some of the packages(gl,glu), but i don't know whether they are installed are not .. Which command is should use to check whether openGL is installed are not .. I am Thankful for any kind of... (3 Replies)
Discussion started by: Ravikishore
3 Replies

3. Programming

Draw a 3D cylinder using openGL.

Hi, please give me, how to code to draw 3D cylinder in openGL, that should be rotated in x-direction. waiting for your reply .. (2 Replies)
Discussion started by: Ravikishore
2 Replies

4. Programming

How to Decode an image using openGL

Hi, How to decode an image using openGL library libjpeg .. which are the steps needed to do this using C language.. actually my work is to decode the image, store it on the buffer, and place it on cube surface.. please guide me,,any answer will appreciated .. (8 Replies)
Discussion started by: Ravikishore
8 Replies

5. Ubuntu

How to draw cylinder using openGL

Hi Sir, i am new to openGL, i want to know how to draw cylinder using openGL code in C or C++.. And i have to insert bitmap images on cylinder.. How to do this .. please guide me ... Thanking You in advance .. (0 Replies)
Discussion started by: Ravikishore
0 Replies

6. Programming

How to rotate text in 3D using openGL code

Hi, I want to know how to write text in window and that is to be rotated in 3D using openGL in C language... any answer will have value .... (0 Replies)
Discussion started by: Ravikishore
0 Replies

7. Ubuntu

i am new to opengl , how to work opengl in ubuntu

Hi, i am new to opengl, how to work openGL in ubuntu ,, i am not getting which packages as to be install and how to install those packages. and how to work with small programs.. Please guide me ,,, it will appriceated ... (7 Replies)
Discussion started by: Ravikishore
7 Replies

8. AIX

Need to install opengl for GXT4500.

Hi, I try to install opengl bat it give a error that i need the opengl base level fileset 5.3.0.0 I use AIX 5.3 and my oslevel is now 5300-03. Where can i find the opengl files i need (5.3.0.0)? Thanks Peter. (1 Reply)
Discussion started by: xeonbb
1 Replies

9. Linux

Help with OpenGL in Fedora Core 4.

I'm pretty much new to this Linux stuff, I installed FC4 the other night to try it out. I'm having a slight problem when launching Quake 3, it's giving me the error GLimp_Init() - could not load OpenGL subsystem I've updated my video drivers to the latest version and went through fglrxconfig,... (3 Replies)
Discussion started by: Filth Pig
3 Replies
Login or Register to Ask a Question