I am trying to write a program that accepts user input from the keyboard and a joystick and then sends out the data using the rs232 port of my system to other hardware. I need to send out about 10 bytes every 20 milliseconds. The thing is I need to also keep on reading data from the same port and display it on an opengl screen. This visualizes the hardware data coming in.
So the way I did it was by spinning everything around opengl..I setup GLUT - as follows :
/* register call back functions */
And in the idle function visualize(). I currently do the joystick reading and rs232 packet sending and recv stuff. I also call redraw after I am done so if I have received new data above, then it gets drawn on the screen. Everything works fine except that calling redraw() from visualize() is logical in a PC simulation where the simulation state needs to be rendered on screen after a simulation step. But in my case it takes up too much time, much greater than 20 ms. So I can no longer guarantee I can send out packets through the rs232 port every 20 ms. What are my options here if I want to send out packets and visualize data at a reasonable frame rate - packets within 20 ms is more imp of course.
I have an OpenGL program in a Linux server. I want to run the program remotely with X forwarding, but it fails, whereas programs such as xclock and xeyes work fine. (I confirmed that the program works in the local desktop environment.) Below is additional information.
I'm using currently ubuntu 10.10. Having a nvidia gt220 with the proprietary drivers. I used compiz for a while. It works quite well, with vsync on and so on. But one thing bothers me all the time: In any opengl program (like a game or the unigen benchmarks) or on video playback (no matter if its the default video player, xbmc or what ever) I see some kind of stutter. About every second or so it jumps one frame forward and then two back. Till the next second it plays fluid.
To be able to observe this easily you need a video (or a opengl scene) where the whole screen scrolls in a medium speed but smooth. Than you can observ how it "jumps" every second. If the scrolling is too slow you wont observe it. Now, if I turn composite off this disapears. All play fluid. Ofcourse I get tearing as long as I do not also disable the composite extension in the xorg.conf, but this is another story. Is there a possibility to fix this stuttering with compiz active? Cause I use this pc to watch movies quite often so this would render compiz unusable.
I just upgraded from FC8 (32-bit) to FC11 (64-bit). In doing so, I backed up my entire World of Warcraft folder so I could try to avoid having to download and install it all over again. However, I've now reinstalled wine (64-bit now), and the nvidia drivers from the rpmfusion repos (also 64-bit), and when I try to start WoW, it says it cannot load OpenGL. I'm wondering if anyone knows what's up, and if there's a solution that doesn't involve reinstalling WoW.
I have a jsp code. After executing that code, a Java program should be executed without refreshing the page. that is, my first page is a login page which is in jsp. After logging in the next page must be displayed which is a Java code. is that possible? Can we use applet for that?
I have an OpenGL app that generates images by rendering into an off-screen surface. I'd like to get it running on our Linux server, but the only way (that I know of) to initialize an OpenGL context is to create an X window and pass it to glX.
This is lame since I don't need any windows - just a render buffer. Is there any way I can get an OpenGL context on this server?
I have a tightvnc server running on my computer and have my IPAD using a vnc client to connect to it. Everything works fine except for apps that require openGL (eg: minetest,steam). I was wondering how I could use said apps over vnc.
New here so please go easy. I am trying to get OpenGL running on Ubuntu 10.04 (64 bit). The hardware is a Dell box with a NVidia Quadro 600 graphics card; I am also running under VMware.
I tried using "apt-get install nvidia-current", followed by "nvidia-xconfig", which told me a new xorg.conf file had been written. I then rebooted. A dialog appeared saying Ubuntu is running in low-graphics mode and that it had failed to load module "nvidia" and no drivers available.
As I didn't seem to get very far this way, I tried downloading the NVidia 64 bit linux driver version 275.09.07 and ran this from the console. Firstly it told me that I do not appear to have a NVidia GPU supported by this version of the driver (yet NVidia's description of the driver says it does support this gpu). I went ahead and let it try to build the kernel module but then it failed with the message "failed to load kernel module 'nvidia.ko" I'm not clear how to proceed on this one. Has anyone else got a Quadro 600 card to work? If so, how?
I am writing a program that needs to display graphs. Right now I am using Cairo which works well except it is really slow. Drawing 1200 lines locks up my computer (i7 CPU and gtx285 graphics card). I only found examples to use Cairo with GTK DrawingArea can I use OpenGL instead or is there a way to cairo to run faster?
I'm trying to put the geant4 program on my computer and I need to install openGL first. I need the glut.h file and gl.h file in order to do this but I can't seem to find them anywhere online. I am using Fedora 14.
code.c: In function ‘init’: code.c:2338: error: stray ‘342’ in program code.c:2338: error: stray ‘200’ in program code.c:2338: error: stray ‘213’ in program code.c:2338: error: stray ‘342’ in program code.c:2338: error: stray ‘200’ in program code.c:2338: error: stray ‘213’ in program
I'm trying to get a program to compile with OpenGL support and it's saying that the headers are missing. But I think (or thought!) that I already had Open GL up and running. My suspicion is that I need to install the appropriate -devel files...but I just can't seem to find them. Furthermore, I don't want to tweak my system and install proprietary Nvidia drivers if things are already working just fine.
I have a Geforce 8300 GS in a i586 32bit Dell Inspiron 530. I'm trying to compile Cinelarra and keep getting:
OpenGL 2.0 libraries missing Hardware acceleration using OpenGL 2.0 is disabled
Does anyone know which driver (ie: 96xx? 173xx?) I should be using for this? Where are these libraries? How can I find them and tell Cinelarra where to look?
And even more basically: How do I tell if OpenGL is working or not? Maybe I don't have them afterall..
I have openGL working fine on my system.The only problem is that when I try to run the executable file, nothing appears unless the full scene has been rendered.In fact, it appears in parts, i.e. updates after a second, then after another second etc...However, earlier, the rendering used to be continuous and I could see each pixel getting rendered in a continuous fashion.
Whenever I try to start an OpenGL app in the terminal, I get a message to the point of "could not create GL context." It was working until around the last update. I know it's not a hardware problem because my windows partition works as well as ever.
I'm using Hardy Heron with the closed Nvidia driver with a Geforce 9800gt 'glxinfo | grep OpenGL' gives
I'm trying to run a program called Alice 3.0. When I load the program, it crashes at the splash screen. I ran it in terminal, and this is the error message I received:
UNABLE TO LOAD OPENGL The most common reason for this is an incorrectly set Java library path. Please update your VM arguments. The text below has been copied to the clipboard for your convenience. Linux-i386
all properties --- ---------- <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> <properties>
I'm trying to install Kicad from source but cmake gives me an error:"- Check for installed OpenGL -- not foundCMake Error at CMakeModules/CheckFindPackageResult.cmake:6 (message): OpenGL was not found - it is required to build Kicad "I have an Nvidia video card with the proprietary drivers installed.I also have glut, (glutg3) installed.I don't understand why cmake can't find OpenGL.
OpenGL is not working on my installation. I'm completely new to Linux and have been trying to get it to work for hours, but whatever I try, it just doesn't work. When I try to load java applets which use OpenGL, the applet crashes with this error:
Quote: # A fatal error has been detected by the Java Runtime Environment: # SIGSEGV (0xb) at pc=0xb7895424, pid=3239, tid=1586695024 # JRE version: 6.0_22-b04 # Java VM: Java HotSpot(TM) Server VM (17.1-b03 mixed mode linux-x86 ) # Problematic frame:
I was trying to get a game to work (scorched 3d) but I kept getting a resolution error. So I did some looking around and found that I had to do something with xorg.conf in /usr/bin/x11 (if I remember). Well I didn't have that file, so I installed a program that had it (and for the life of me, I don't remember what it was). Long story short, I tried to run a different game (foobillard) and it wouldnt run. So I ran from terminal and got an error saying that x11 is not configured with opengl. Now I am mad cuz that was my favorite game. Is there a way to reset x11 and opengl without losing everything?
I play RuneScape most of the time i'm on the computer and i always keep an eye on the performance. Yesterday and the days before, everything was going good, cpu usage it was causing was between 30 and 60%, now it wont go below 70%. It's always 70-99% for some reason :s i have set settings for graphics to OpenGL (they were like that before too with no problem) and it started causing high cpu usage. If i set it to Safe Mode in graphics settings it gets 100%, I never tweaked the drivers, i have a NVIDIA GeForce 9600 GT, i have the opengl thingies installed along with my nvidia driver. Ubuntu 10.10 32bit.
I'm trying to find a 64 bit version of OpenGL for Linux. I tried driver from Nvidia, but it turned out that it required a specific graphics card, (which either I don't have, or VMware has trouble noticing that I do. I have a laptop with some Nvidia, Geforce with Cuda card.
In any case, I just need to find 64bit OpenGL for Ubuntu 10.04. I keep finding 32 bit versions, or other versions that don't apply to me.
I'm still kind of new and it's possible that I haven't been looking the most effective places. I tried google and sourceforge, but I couldn't quite find it.
If anyone knows where I can get it, or knows of a better place to look, I would be very grateful.
P.S. I also tried the package manager and the OpenGL site.
Any one had any success enabling openGl in fedora 14? I tired and failed; as well, kmod seems to have disappeared and the resolution has dropped from 1920X1080 to 1280X1024, and stock there cannot be adjusted higher only can go down, as well the KRandRTray once clicked, ten to vanish.
Is there anyone who can explain how OpenGL acceleration works on Linux and its relationship with X11? I read about modules like GLX, DRI, DRM and Gallium and I understand they are necessary to provide performance as the current structure of X11 makes it difficult to render efficiently. Is this correct?
If I use the OpenGL and EGL drivers provided by the manufacturer of hardware on X11 without any other module, should I expect, even with hardware acceleration a high CPU load? The modules GLX, DRI, DRM etc... can be used with any OpenGL implementations or only with mesa?