General :: OpenGL Program Not Work With X Forwarding?
Oct 7, 2010
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.
Test Code:
#include <GL/glut.h>
#define WIDTH 300
#define HEIGHT 300
void display()
[Code]...
View 1 Replies
ADVERTISEMENT
Feb 10, 2010
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 */
glutDisplayFunc(redraw);
glutReshapeFunc(resize);
glutIdleFunc(visualize);
glutKeyboardFunc(getkey);
glutSpecialFunc(getspecialkey);
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.
View 10 Replies
View Related
Mar 13, 2011
I've spent pretty much the whole night trying to figure out how I can achieve the following: If a certain Keyword, say [key], is in the subject line, then the email is forwarded to a list of people.
My recipe (now) looks like this:
Code:
:0
* ^Subject: .*[key].*
! my-email@gmail.com
The (verbose) procmail logfile gives me this:
[Code]....
Is my recipe wrong in any way? I pretty much copied it from available ones.
It's a university server, so I'm no admin, just a user. How can I figure out whether some setting that the admin made prevents procmail from calling sendmail or whatever?
View 3 Replies
View Related
Nov 15, 2010
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.
View 3 Replies
View Related
May 23, 2010
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
Code:
Error: glXCreateContext failed
View 2 Replies
View Related
Jan 11, 2011
EDIT: I got it to work. It turns out that mesa-common-dev works with my nVidia drivers.
I'm new here, and to Linux/Ubuntu in general, so I apologize if this is in the wrong section or something. Anyways, I'm trying to get the OpenGL SDK to work on my computer. I've already gotten gcc/++ and whatnot, and I'm fairly sure I've upgraded my graphics drivers to the most current possible. A quick check reveals that my graphics card is nVidia:
Code:
01:00.0 VGA compatible controller: nVidia Corporation NV41.8[GeForce Go 6800] (rev a2)So I assume that I need to get the nVidia OpenGL packages:
Code:
sudo apt-get install nvidia-glx-dev
However, that nets me this error:
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nvidia-glx-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'nvidia-glx-dev' has no installation candidate
My only other thought is to apt-get mesa-common-dev, but I don't know if that will work with nVidia. (And this is a rather old computer, so the problem might just be one of obsoleteness, but it doesn't seem like so, from the error I'm getting).
View 4 Replies
View Related
Oct 19, 2009
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.
View 7 Replies
View Related
Feb 14, 2010
I have installed Suse Linux 11.2 and I had problem with graphics, when I moved windows there were many lines showing, I have installed an original driver for it and now instead of lines moving windows is very slow. When I try to activate compositing with flip with it gives an error and OpenGL does not work. Only XRender works and windows are faster but scrolling is still slow.
My Graphics Card: ATI Radeon HD 4570
Installed Driver: ATI Radeon HD 4500 Series
View 9 Replies
View Related
Jan 17, 2010
I'm trying to work with the robocup simulator (SIMSPARK), but it doesn't work. Really i don't know why.
The terminal show me the following error and i think that the problem is from UBUNTU and OPENGL :
View 2 Replies
View Related
Nov 22, 2010
I need to be able to open an openGL based piece of software remotely (like Maya or 3D Studio Max, for example). The server will be a linux machine (CentOS, currently, fwiw), but the client should be able to run on at least Linux and Windows. This will happen over the internet as opposed to over a LAN.
So far, I've tried
- "NoMachine NX" which is pretty good, but it seems to have some issues with GL. Maybe this can be fixed in xorg on the server (disabling overlays or something like that)? not sure.
- HP Remote Graphics Software (RGS) which works fairly well with Cent & Windows, though is sometimes a little slow. It also doesn't seem to be happy on Ubuntu, which is a pretty big bummer. It's also a bummer that it's somewhat expensive. That said, it's still the front-runner.
- VNC which was very slow.
It's imperative that it can transmit very complex rendered OpenGL properly. It's ok if it's slow to tumble/refresh, but it should be correct.
View 2 Replies
View Related
Jul 6, 2010
I didn't have any luck finding the solution for not getting opengl working on a SLES11 server with a remote X-Win32 client. As a reference I've used the tool "glxgears" for testing.We have two servers. One (server A) with SLES10 and the other (server B) with SLES11. We use X-Win32 (ver. 9.x) as an X-server on a Microsoft Windows client machine. Both servers are connected to with ssh with X11 forwarding enabled (Xclock works fine on both).Starting glxgears from server A works fine; Three nice gears are displayed.
View 1 Replies
View Related
Mar 9, 2011
My understanding is that there is no Optimus support for Linux at this time.Will a default CentOS installation work fine with just the integrated graphics.in other words, will Optimus and the discrete graphics be ignored? Will OpenGL still work correctly with the Intel integrated graphics?I am considering an i5-based laptop with Optimus support, where I might go with a dual-boot configuration.
View 1 Replies
View Related
Apr 1, 2014
I'm using Debian Jessie. All the firmware packages are properly installed, and so are the radeon free driver packages.
However, Gallium falls back to llvmpipe, which from what I understand is a software rasterizer and not actually hardware rendering.
Everything works fine except some specific things like KDE's cube animation, which says it can't be enabled because it requires OpenGL.
How do I get Debian to run Gallium properly?
I attached some relevant info...
glxinfo | grep -i opengl
View 14 Replies
View Related
Feb 15, 2011
I have 2 guest machines on 1 VBox host installed : - one guest with hostname 'debian' is configured as follows and has IP Forwarding enabled to be able to route traffic from eht1 to eth0.
Code:
eth0 Link encap:Ethernet HWaddr 08:00:27:f1:ef:5f
inet addr:10.0.2.1 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fef1:ef5f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[Code]....
View 2 Replies
View Related
Mar 22, 2009
I have a question regarding port forwarding. I have a fedora server, with two eth cards: eth0 ---> external IP, eth1 ----> LAN IP I use SNAT for connection sharing. I also have an internet domain hosted on this server... let's call it [URL] Anyway, one of our computers in the LAN has some kind of web server on it, which must be accessed from the internet on the port 23700.
So, using iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 23700 -j DNAT --to 192.168.1.25 (the IP of the network computer) Everything works perfectly fine from outside the lan. When I type [URL], I connect to that computer. My problem is that inside the lan, typing [URL] does not work! It only works if I enter it by IP 192.168.1.25:23700 Is there any way to make the server forward my request to that specific computer even if I'm inside the LAN?
View 3 Replies
View Related
Jun 7, 2011
I installed Fedora 15 to my server. I preffer to work over SSH and I enable X forwarding. My configurational file:
/etc/ssh/sshd_config:
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
From my laptop I run next commands
ssh -X user@xx.xx.xx.xx
startx
and the session start on server, no redirect occur. Next output I saw in terminal
[Code]....
View 4 Replies
View Related
Jun 3, 2011
I'm trying to understand and set up port forwarding with iptables. So far I've read a lengthy tutorial on iptables, and I've Googled for hours, searched this forum, but I've been unable to come up with a solution that works for me.The situation I would like to achieve is the following: on one machine, there is a TCP server running bound to its external IP, port 9999. I would like to let another machine connect to this TCP server on port 9000 by forwarding port 9000 to 9999.All the policies of the iptables chains are set to ACCEPT; and I have set net.ipv4.ip_forward = 1. I have no problems using SNAT/MASQUERADE on the same server machine.I have tried the following:
Code:
iptables -F
iptables -t nat -F
iptables -t nat -A PREROUTING -p tcp -i eth0 -d ${SERVER_IP} --dport 9000 --sport 1024:65535 -j DNAT --to ${SERVER_IP}:9999
In order to test this rule, I started a TCP echo server on port 9999. I can connect to it on port 9999, but not on port 9000- this gives me 'connection timed out'. When I do 'iptables -t nat -L -v', I can see that the rule does get matched once per connection attempt.
View 1 Replies
View Related
May 25, 2010
I was able to do on Debian and Ubuntu Servers X applications running on remote servers where I was able to login via SSH. Tried the same with CentOS did not worked. in /etc/ssh/sshd_config
[Code]....
View 1 Replies
View Related
Sep 18, 2010
I have a machine with Ubuntu Server and VMware Workstation 7 installed. I have tried NAT port forwarding to gain Remote Desktop access to a Windows virtual machine, but it did not work for whatever reason. I've done this by editing the nat.conf file in the /etc/vmware/vmnet8/nat directory. Unfortunately it still does not work. Also, I would like to ask if it is possible to port forward using the virtual machine itself and not the host.
View 1 Replies
View Related
Mar 8, 2011
I've been beating myself over the head with iptables and CANNOT get port forwarding to work. Here's my situation: Static LAN IP on eth0 Static internet IP on eth1 ip_forward is turned on by uncommenting in sysctl.conf Here's the output of iptables-save:
Code:
# Generated by iptables-save v1.4.4 on Tue Mar 8 10:34:12 2011
*nat
:PREROUTING ACCEPT [2443:347058]
[Code]...
Edit: by the way, the intended purpose of this machine is to server as a gateway and firewall. MASQUERADE is working, for whatever that is worth. And the host behind the firewall that is serving up http is definitely working too. All that is not working is getting hosts on the internet talking to hosts behind the firewall.
View 1 Replies
View Related
Oct 22, 2009
I used the following 2 rules in iptables to forwarding some packagesiptables -t nat -A PREROUTING -p tcp --dport 8000 -j DNAT --to-destination 192.168.0.244:8000iptables -t nat -A POSTROUTING -p tcp --dport 8000 -j MASQUERADEIt works perfectly before, the kernel was 2.6.18-92.1.22.el5.After we did a update, the kernel now is 2.6.18-128.7.1.el5.and the forwarding is stop.I just wondering where can I get some debug information. I checked /var/log/message, dmesg ... seems nothing there.
View 1 Replies
View Related
Mar 26, 2010
we have here a few openSUSE-machines (some 11.1 and 11.2) which mounts their /home from a NFS-Server and imports the users via NIS. I now wanted to use X-Forwarding via SSH, but that doesn't work with NIS-Users.On my machine I use Gnome and my XAUTHORITY-Variable points to /var/run/gdm/auth-for-bup_deg-E3TMSz/database
Why isn't the default ~/.Xauthority-File used for my cookies? What do I have to change to get X-Forwarding in my Setup running?
View 1 Replies
View Related
Nov 16, 2010
How hard can it be to delete a program in debian. search the web to check that i am doing the right thing to from the start to uinstall and still the program hangs thereOkey this is what i have done.
Code:
apt-get remove bacula
Code:
[code]...
View 14 Replies
View Related
Mar 27, 2011
I have 2 different networks: the first one is gateway machine (eth0), and the second is a private machine (eth1). So, I've configured the iptables and forwarding stuff and when I try to ping google.com on the gateway machine, it works, while it doesn't work on the private network. Note: I am using VmWare 7. I need your quick assistance about this issue.
View 2 Replies
View Related
May 28, 2010
I'm currently trying to get a windows compiled program to work through Wine to run on Linux and MacOSX.
When I run the program through wine, it prompts me to install Gecko which I do. Later on in the program, it attempts to use MSHTML to render HTML but I get these error messages on my console instead.
err:mshtml:init_xpcom NS_InitXPCOM2 failed: 80004005
err:mshtml:HTMLDocument_Create Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
fixme:ole:CoCreateInstance no instance created for interface {00000000-0000-0000-c000-000000000046} of class {25336920-03f9-11cf-8fd0-00aa00686f13}, hres is 0x80040111
I'm using Wine 1.1.34 and a similar bug was supposedly fixed in 1.1.33 [URL]
View 3 Replies
View Related
Jan 28, 2010
I know there is lots of documentation out there for installing tar balls but I can't make it work I am trying to work with this file sauerbraten_2009_05_04_trooper_edition_linux.tar.bz2 in file:///home/Nemesis/Downloads/sauerbraten_2009_05_04_trooper_edition_linux.tar.bz2
I am running Fedora 12, the gnome desktop if the desktop matters. I have been running Fedora almost elusively for 2 years and off n on before that but in my many attempts at trying to Install a TARBALL I have always failed hard.
View 17 Replies
View Related
Jun 1, 2011
I'm looking for an OpenGL benchmark tool for Linux. Something sort of similar to 3DMark on Windows. Is there anything at all? I tried Phoronix, was not impressed (nothing seemed to run at all).
View 1 Replies
View Related
Apr 27, 2010
how to access serialport(RS232) data using OpenGL.Heard about SDL(Simple DirectMedia Layer),but didn't get how to use SDL and OpenGL to access RS232 data.
View 8 Replies
View Related
Apr 27, 2011
I'll explain this in one sentence: Is it possible to program a port-binding shellcode in which people across the Internet can connect to, without being thwarted by the router blocking their data because the port its bound to doesn't allow port-forwarding
View 2 Replies
View Related
Nov 6, 2010
How is OpenGL support (specifically OpenGL 3.x) in the different video card drivers available for Linux?Assuming that the hardware supported it well, would the drivers be an issue?
View 1 Replies
View Related