OpenGL 2.0 and X11!

I'm trying to compile a small program I wrote in Linux in OSX using gcc and X11.
It compiles fine, but when I try to run, my program cant find the opengl 2.0 extensions... (my little program is a test to write GLSL shaders)
Does that mean that OSX X11 opengl implementation doesnt support opengl 2.0?
or am I missign something?
I know I could compile using the standard opengl framework, but I would like to maintain the compatibility of the source code beetwen OSX and Linux... standard gcc/opengl code...
thanks...
Hradec

It seems that OpenGL 2.0 is not supported, but if what you are looking for is a specific OpenGL extension you might want to check the output of glxinfo:
colin@tigger:~> glxinfo
name of display: .0
display: screen: 0
direct rendering: Yes
OpenGL version string: 1.5
colin@tigger:~> uname -a
Darwin tigger 8.6.0 Darwin Kernel Version 8.6.0: Tue Mar 7 16:58:48 PST 2006; root:xnu-792.6.70.obj~1/RELEASE_PPC Power Macintosh powerpc

Similar Messages

  • Using GIMP and X11

    I originally posted this elsewhere in discussions; however this may be a better placement for it.
    I use GIMP which requires X11 and recently it has stopped working. I rolled back to an older version of GIMP, installed the Xll upgrade on the Leopard DVD but all to no avail. Right now, GIMP crashes and X11 won't even start when I double click from the applications/utilities folder.
    Thanks in advance for any help that any may provide.

    Tim Gaub wrote:
    I use GIMP which requires X11 and recently it has stopped working.
    Did this coincide with any other changes? (e.g. OS update, software changes...)
    I rolled back to an older version of GIMP,
    So which versions have you tried? Which package are you using? (There are various pre-packaged versions of GIMP for OS X from different groups.)
    installed the Xll upgrade on the Leopard DVD but all to no avail.
    So which version of X11 were you using before if not the one from the DVD? There may be updates to this version available from Apple. Is it possible you actually installed the DVD version over the top of a later version? /Library/Receipts may show packages installed for X11 if they were separate packages and not part of more general updates.
    Right now, GIMP crashes and X11 won't even start when I double click from the applications/utilities folder.
    The former is expected given the latter. What exactly happens when you try to open X11? Do you see any useful messages in the log files? (Look at system.log and console.log using /Applications/Utilities/Console and/or open X11 from Terminal and see what error messages you get.)
    Are you on ppc or intel?
    - cfr

  • 10.5.6 and Terminal and X11

    Installed 10.5.6 today and found a few quirks, especially with Terminal and X11. Anyone else run into this yet?
    1. Terminal default login shell is now tcsh instead of bash. Need to go to preferences and select /bin/bash.
    2. I am having problems launching anything that uses X11. Seems that something is now in a protected directory. If I launch X-based apps as the superuser via sudo, then everything runs. What's the fix to this?
    3. I had my bibtex library (for LaTeX publications) in $home/Library/BibDesk. However, $home/Library is now a protected directory and I can't seem to changed the permissions. What is the solution?

    eric.paterson wrote:
    Thanks for the suggestion on reposting in the Unix forum.
    Also, no offense, but sudo stands for "super user do," also the manpage says,
    Actually su stands for switch user, which defaults to the root user if no other user is given. Otherwise su would be something like
    su nero
    to allow any user to take over the account nero.
    %man sudo
    sudo allows a permitted user to execute a command as the superuser or another user.....
    Yes but there are things that cannot be done via sudo, but only by actually logging in as su.
    For example, I recently discovered that I can read a DVD-RAM that has the main folder tagged as nobody for permissions. I could not open it with sudo, but had no problem as su.
    Another time I could not delete a file using sudo but su allowed me to do so.
    The differences are probably very small and not well documented, but if you do enough playing around in the terminal, you will eventually hit something that requires su, and sudo will not work.

  • Gimp and x11 driving me crazy

    Hi,
    I have an iBook G4 running Tiger 10.4.6
    I have installed the whole xcodes package per instructions from Apple support from the Tiger Installation disk and have tried to run Gimp 2.2.1 and gotten an error code that says I need X11 which I thought installed with the xcode.
    The installed components are in my devloper folder and when I double click Xcode it opens up but no go with Gimp. I have searched the forums and evenn tried some of the suggestions but nothing. All I wanted was a graphics app that was affordable and somewhat easy to use.
    Please help the super newbie who does not know the first thing about dev tools.
    Thanx.
    Maya613

    Wade,
    You're brilliant--it worked!
    I started it up and X11 starts up with a terminal window (is that normal?)
    Gimp went through installation process and looks like it is functioning--yahoo!
    Now, one more question--do i need that whole xcodetools.mpkg file too since I now have the X11 app or all they are all working in conjunction with eacother?
    I have a small HD so any programs or utilities I don't need I would like to get rid of.
    Thanks again!
    Maya613

  • Using aquamace and X11

    I have just managed to set up aquamacs to my liking, I like the total customisability.
    Anyway, I was playing around remotly logging onto my work computer. I would like to remotly log on and use aquamacs on my local computer to edit files on the remote machine. How can I set it up to so this?
    I also noticed that root uses emacs that comes Mac OSX, is there a way to change this too?
    Thanks

    Tim Gaub wrote:
    I use GIMP which requires X11 and recently it has stopped working.
    Did this coincide with any other changes? (e.g. OS update, software changes...)
    I rolled back to an older version of GIMP,
    So which versions have you tried? Which package are you using? (There are various pre-packaged versions of GIMP for OS X from different groups.)
    installed the Xll upgrade on the Leopard DVD but all to no avail.
    So which version of X11 were you using before if not the one from the DVD? There may be updates to this version available from Apple. Is it possible you actually installed the DVD version over the top of a later version? /Library/Receipts may show packages installed for X11 if they were separate packages and not part of more general updates.
    Right now, GIMP crashes and X11 won't even start when I double click from the applications/utilities folder.
    The former is expected given the latter. What exactly happens when you try to open X11? Do you see any useful messages in the log files? (Look at system.log and console.log using /Applications/Utilities/Console and/or open X11 from Terminal and see what error messages you get.)
    Are you on ppc or intel?
    - cfr

  • Install openmotif and X11 on imac 11,2?

    I have a 3D software package (NX) that I cannot use because it requires the installation of openmotif and x11.
    I have a standard imac 11,2 which has X11.
    But I can't find or figure out where to get openmotif. Does anybody know anything about this program?

    Try:
    http://www.winteracter.com/macmotif.htm
    I've not tried it myself.

  • Support for opengl 2.0 and above

    Hi there,
    I currently have a HP Pavilion dv6-6105tx Entertainment Notebook PC
    Model: LV837PA
    It has a radeon 6770M graphics card. I installed a game which gives me a message saying it required opengl 2.0 and above but my notebook only has opengl 1.1
    I tried to update the AMD driver but it didn't really work out! (maybe I didnt do it correctly)
    Can someone please help me out? what do I need to update to get this running? BIOS? Graphics card driver?
    Thanks in advance!

    Hi @furadi 
    Welcome to the HP Support Forums!
    I understand your issue with opengl. Normally that is a part of the video driver, or if the card actually supports that level of the standard, which yours does. As an FYI, I include this general information on that class of video adapters - Radeon HD 6000 Series -wikipedia.org  
    From that page you will see it supports opengl 4.3.
    So probably it is the driver that needs to be updated and you said yourself you were not sure if you installed it correctly. You can find your graphics drivers from this page, just be sure to select your correct operating system from the drop down and then click the "Next" button. After the page refreshes the available drivers should be listed below.
    HP Pavilion dv6-6105tx Entertainment Notebook PC Drivers
    On the AMD driver page you will also find a page on how to install it.
    Let me know if that helps.
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • X11 and X11 applications won't start

    I seem to be having a problem getting the X11 application, which I installed from the 'optional installs' package on the OS X installation DVD, working. I originally posted this elsewhere, but was advised to post it here, where people familiar with X11 might be able to help.
    I'll just quote what I posted elsewhere below, and hopefully someone can help.
    I seem to be having a problem with the X11 utility, which I installed off of the OS X DVD (from the 'optional installs' package), and a problem with The Gimp, both of which i think are probably related.
    Well I installed The Gimp a while ago, aswell as the X11 program, and both worked fine (you probably already know that The Gimp needs X11 to run). But at some point, it suddenly stopped working. I think it may have been after an update, but I really can't remember.
    The problem I was having with The Gimp is that it would go to start up, but just after the X11 icon appeared in the dock, the cursor would change to an X for a few seconds. The splash screen would come up, but it didn't even appear to have a background or progress bar or anything, and didn't do anything.
    At that point, just running X11 on it's own, or OpenOffice.org worked fine.
    Well recently, i've tried to run The Gimp again, and something different happens. The X11 icon comes up and starts bouncing in the dock, but after a few seconds, it closes again, and The Gimp tells me that it needs X11 to run (which I already have of course).
    When I try to run X11 on it's own, the same thing happens. The icon comes up in the dock, starts bouncing, then goes again.
    I've used the Console program in the Utilities folder, and both times, for both problems (when The Gimp had the funny splash screen and wouldn't start, when it wouldn't start up at all, and when X11 wouldn't start), I get the same few lines which might help, these are below:
    XFree86 Version 4.4.0 / X Window System
    (protocol Version 11, revision 0, vendor release 6600)
    _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
    [DRI] screen 0 installation complete
    Screen 0 added: 1280x1024 @ (0,0)
    Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
    Quitting XDarwin...
    So now, I have The Gimp that doesn't work, X11 that doesn't work, and OpenOffice.org doesn't work either (same problem where X11 quits), which is rather annoying, since I could do with using The Gimp.
    I hope that explains my problem a bit, and I hope someone can help me sort it out. Thanks in advance for any help
    Mac Mini   Mac OS X (10.4.3)   1.33 GHz Power PC G4, 512 MB RAM, 40 GB HD

    I have a similar problem that I described in a different forum, but was referred to this one and hope that someone can give me clue.
    My original message was:
    Hello,
    Brandnew here and new to the Mac environment (former Windows user), so excuse for anything dumb as it may follow.
    Wanting to install GIS software (Grass GIS) it appears to require X11 application. Found the refence in Machelp to the topic on the Apple site. However, it doesn't provide a link to the actual software, just states it is on the Install disc. Indeed, there is a package on the install disk (under Xcode Tools/Packages) called X11SDK.pkg. I thought that this might be the required app, but after installation of the Xcode tools the Grass software still doesn't function (start-up screen only and error message indicating that there is no X11 found).
    Thus the question is: how do I properly install the X11 app and where do I find the software?
    I hope that someone can help me out (as the AppleCare helpdesk doesn't seem to function today). Many thanks in advance.
    Bram

  • Spaces, mouse pointer, and X11

    Hi Everyone,
    I have already filled to bug reports, but also wanted to post here as well. I use X11 and rdesktop to access remote Windows servers at work. I use rdesktop as the terminal server client from Leopard. I am noticing that if Spaces is enabled and either of the following 2 actions are performed, mouse click location is out of sync to where the mouse is displayed on the screen:
    1) Move an X11 window from one Space to another Space
    2) Activate Spaces and select a new Space or reselect the same Space
    Performing either of these will make it so the mouse clicking behavior is unusable. I have kill X11 and restart it. This pretty much prevents me from using Spaces.
    Has anyone else noticed this type of behavior. I can reproduce it every time. This never ever was an issue with Tiger.
    Thanks.

    Yes, I have filed a bug report on this too. X11 on Leopard is basically a broken beta release, I've had much better luck dumping it and re-installing the Tiger version of X11. Spaces can still be a little jumpy sometimes, but its not unusable like the Leopard X11 version.
    Here is a link detailing how to back out Leopard X11 and install Tiger X11.
    http://aaroniba.net/articles/x11-leopard.html

  • X11 and x11 apps not starting up

    I've seen this question asked once before but didn't understand how to actually fix the problem from what I saw, so here it goes:
    I installed X11 as an optional install from the DVD as you are supposed to do for system 10.4.3 but when I try starting up Gimp or Inkscape, X11 only starts up for a second before shutting down again. Here is the message that I see when I look at the console log:
    XFree86 Version 4.4.0 / X Window System
    (protocol Version 11, revision 0, vendor release 6600)
    _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
    [DRI] screen 0 installation complete
    Screen 0 added: 1280x960 @ (0,0)
    Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
    /Users/"MYUSERID"/.xinitrc: /Users/"MYUSERID"/.xinitrc: is a directory
    Quitting XDarwin...
    What exactly am I supposed to do to get x11 working? Any help would be greatly appreciated.
    Thanks!

    I have 3 computers that I have recently updated to 10.4.4 all of them get the same error as described in the original post, but I do not have the ~/.xinitrc file at all...
    I have even did a clean install of the OS on one of my computers and with a fresh install I get:
    XFree86 Version 4.4.0 / X Window System
    (protocol Version 11, revision 0, vendor release 6600)
    _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
    [DRI] screen 0 installation complete
    Screen 0 added: 1024x768 @ (0,0)
    Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
    X11 itself runs, small apps such as xeyes, xman, xlogo run, but I cannot run Eiffel 5.6 IDE. as I then get the error:
    bash: no job control in this shell
    when running the launch script for the X11 app.
    I have seen these errors mentioned in various post regarding GIMP I have not seen a definitive answer, some are fixed by the answer in this post, others (including mine) are not.
    On my freshly installed 10.4.4 I also removed the X11 Receipt and installed the X11User.pkg from the 10.4.3 installer DVD and still had error. I did not, however, remove the X11 software of components. (might try that next)
    Also, this might be useful, I sometimes get this error when quitting the X11:
    xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ".0"^M
    Note: I had been using the X11 with Eiffel 5.6 Studio developer package with 10.4.3. Not sure when things stopped working as I have not used it since late November. Not sure if things stopped working after a Security Update, or the OS Update... any futher insights into this would be appreciated.
    Regards,
    JB
    PBook 15 Al 1.25   Mac OS X (10.4.4)  

  • Java 5, AWT in headless mode and X11 Libraries

    Hi All,
    In Java 5, does AWT still require X11 libs to be present (not running or started) when using AWT in headless mode ?
    What level of grahpics (non GUI) activities can you perform with Java 5 and AWT in headless mode.
    Cheers

    i found something here...
    http://forum.java.sun.com/thread.jspa?threadID=444149&start=10&tstart=0

  • Bug between JRockit and X11 forwarding via ssh

    I have encountered what appears to be a bug in the interaction of JRockit with X11 ssh forwarding.
    When running any Java GUI application on a remote machine using X11 forwarding via ssh, a variety of problems occur. For example:
    --- cut here ---
    % mitrion-ide
    The program '' received an X Window System error.
    This probably reflects a bug in the program.
    The error was 'BadAtom (invalid Atom parameter)'.
      (Details: serial 189 error_code 5 request_code 20 minor_code 0)
      (Note to programmers: normally, X errors are reported asynchronously;
       that is, you will receive the error a while after causing it.
       To debug your program, run it with the --sync command line
       option to change this behavior. You can then get a meaningful
       backtrace from your debugger if you break on the gdk_x_error() function.)
    --- cut here ---That's the good case. When running the rmmlite application (available at https://rmml.dev.java.net/servlets/ProjectDocumentList?folderID=437&expandFolder=437&folderID=438 ), I experience what appears to be a near-lockup of my local workstation.
    Neither of these problems occur if I set my DISPLAY to not use ssh X11 forwarding. Likewise, non-Java applications work just fine with ssh X11 forwarding. Therefore the problem seems to be limited to the Java + ssh X11 forwarding combination.
    I have a suitable workaround (i.e. setting the DISPLAY variable to avoid ssh X11 forwarding), but I thought this was worth bringing to BEA's attention. I'd also be curious to know if others have run into similar difficulties.
    Here are the configuration details:
    Remote X11 client (where applications are hosted)
    =================================================
    % java -version
    java version "1.4.2_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
    BEA JRockit(R) (build R27.1.0-109-73164-1.4.2_12-20061129-1418-linux-ia32, compiled mode)
    % uname -a
    Linux earthling 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 athlon i386 GNU/Linux
    % rpm -qa | grep openssh-server
    openssh-server-3.9p1-8.RHEL4.12
    This is a vanilla RedHat Linux RHEL 4 Update 3 system, with all other versions of Java removed.
    Local workstation (i.e. X11 server)
    ===================================
    % uname -a
    FreeBSD somewhere.sgi.com 6.2-RELEASE FreeBSD 6.2-RELEASE #5: Mon Jan 15 08:41:01 CST 2007 [email protected]:/usr/obj/usr/src/sys/somewhere i386
    % ssh -v
    OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004
    % pkg_info -Ix xorg-server
    xorg-server-6.9.0_3 X.Org X server and related programs
    Thank you,
    Brent Casavant

    Brent,
    it would be nice to know if this problem is specific to the JRockit JDK or
    if you also can reproduce it using the corresponding Sun JDK 1.4.2. Please
    do also try with a later version such as latest JRockit JDK 5.0.
    Thanks
    /Robert
    <Brent Casavant> wrote in message news:[email protected]...
    I have encountered what appears to be a bug in the interaction of JRockit
    with X11 ssh forwarding.
    When running any Java GUI application on a remote machine using X11
    forwarding via ssh, a variety of problems occur. For example:
    --- cut here ---
    % mitrion-ide
    The program '' received an X Window System error.
    This probably reflects a bug in the program.
    The error was 'BadAtom (invalid Atom parameter)'.
      (Details: serial 189 error_code 5 request_code 20 minor_code 0)
      (Note to programmers: normally, X errors are reported asynchronously;
       that is, you will receive the error a while after causing it.
       To debug your program, run it with the --sync command line
       option to change this behavior. You can then get a meaningful
       backtrace from your debugger if you break on the gdk_x_error() function.)
    --- cut here ---That's the good case. When running the rmmlite application (available at
    https://rmml.dev.java.net/servlets/ProjectDocumentList?folderID=437&expandFolder=437&folderID=438 )
    , I experience what appears to be a near-lockup of my local workstation.
    Neither of these problems occur if I set my DISPLAY to not use ssh X11
    forwarding. Likewise, non-Java applications work just fine with ssh X11
    forwarding. Therefore the problem seems to be limited to the Java + ssh X11
    forwarding combination.
    I have a suitable workaround (i.e. setting the DISPLAY variable to avoid ssh
    X11 forwarding), but I thought this was worth bringing to BEA's attention.
    I'd also be curious to know if others have run into similar difficulties.
    Here are the configuration details:
    Remote X11 client (where applications are hosted)
    =================================================
    % java -version
    java version "1.4.2_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
    BEA JRockit(R) (build R27.1.0-109-73164-1.4.2_12-20061129-1418-linux-ia32,
    compiled mode)
    % uname -a
    Linux earthling 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686
    athlon i386 GNU/Linux
    % rpm -qa | grep openssh-server
    openssh-server-3.9p1-8.RHEL4.12
    This is a vanilla RedHat Linux RHEL 4 Update 3 system, with all other
    versions of Java removed.
    Local workstation (i.e. X11 server)
    ===================================
    % uname -a
    FreeBSD somewhere.sgi.com 6.2-RELEASE FreeBSD 6.2-RELEASE #5: Mon Jan 15
    08:41:01 CST 2007
    [email protected]:/usr/obj/usr/src/sys/somewhere i386
    % ssh -v
    OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004
    % pkg_info -Ix xorg-server
    xorg-server-6.9.0_3 X.Org X server and related programs
    Thank you,
    Brent Casavant

  • Oracle Reports Server and X11

    Does oracle reports server need X11 running? We dont run X on our
    prod servers. We can't really figure out why it needs it which the developers
    claims they need X running
    Are there any alternatives? We really don't want to start an X server here

    hello,
    the role is the same on all plattforms. the reports server takes requests for running reports, spawns an engine that executes the request. in addition to that, the server also provides scheduling services and security features for the reports environment.
    regards,
    the oracle reports team

  • OpenGL Photoshop CS5 and memory management by OSX 10.6

    I was able to find out quite a bit about the secrets around this issue - see my post on "NVIDIA Geforce 9400M and Adobe Photoshop/CS5 question".
    What I still do not understand is the following Apple-remark (in this case on the 17" PowerBook)
    NVIDIA GeForce GT 330M graphics processor with 512MB of GDDR3 memory
    Intel HD Graphics with 256MB of DDR3 SDRAM shared with main memory
    Memory available to Mac OS X may vary depending on graphics needs. Minimum graphics memory usage is 256MB.
    For me as a layman it reads "You buy 512 MB and 256MB of graphic memory but if your programs will get it will be decided by OSX 10.6"
    What I am also wondering if there is a utility or a Terminal-input that allows to influence how much OpenGL gets from the regular memory DRAMs.

    Since the posting I have had no single problem with my 144MB VRAM - though it is somewhat noticeble that more VRAM would accelarate like when I use complex plugin from NIK or parallel video recording with EyeTV. What I avoid is to work with Photoshop, export downloaded TV-clips with EyeTV AND watch life Television.

  • X11 and X11 applications (Eagle, OpenOffice, Gimp) won't open

    I am on a macbook, running 10.4.6, and I installed X11 from my Tiger install DVD, just like I did on my G5. X11 won't start, it pops up in the dock, and bounces for a few seconds, and that's it. It goes back down. Help would be greatly appriciated.
    -Kabren

    Just as a reminder, Apple recommends you never attempt to install a version of MacOS X any older than that your system originally shipped with.
    There are usually various device drivers and such that are needed to support your machine that won't be present on a general case OS install disc, unless the OS disc is newer than the version your machine shipped with.
    So, for example, using a generic Tiger disc likely won't work on a MacBook Pro, but a generic Leopard disc, when MacOS X 10.5 is released, will.

Maybe you are looking for