Page 13 of 15 FirstFirst ... 31112131415 LastLast
Results 121 to 130 of 146

Thread: How to play openGL based games with full 3D acceleration on XGL/compiz

  1. #121
    Join Date
    Apr 2007
    Location
    Sao Paulo
    Beans
    237
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Thumbs down Sweet!

    I will try that.
    CAn you be more detailed? How exactly do I use the script to launch a program like google earth? What about the blackbox window manager, the bbkey thingy and whatever? Do I have to install it via synaptic or google for it?
    Last edited by macabro22; June 18th, 2007 at 01:31 PM. Reason: needed more info
    Life sux, then you die.

  2. #122
    Join Date
    Jun 2007
    Beans
    3

    Re: [SOLVED] How to play openGL based games with full 3D acceleration on XGL/compiz

    I followed this tutorial, and this is what I get when running nonXgl neverball:

    Code:
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    
    xhost:  unable to open display ":0"
    If I change the display to :1 or :93 on my nonXgl I get:

    Code:
    xhost:  unable to open display ":1"
    
           ---------------------- DirectFB v0.9.25 ---------------------
                 (c) 2000-2002  convergence integrated media GmbH
                 (c) 2002-2004  convergence GmbH
            -----------------------------------------------------------
    
    (*) DirectFB/Core: Single Application Core. (2006-12-20 21:25)
    (*) Direct/Memcpy: Using MMXEXT optimized memcpy()
    (!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
        --> No such file or directory
    (!) DirectFB/FBDev: Error opening framebuffer device!
    (!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
    (!) DirectFB/Core: Could not initialize 'system' core!
        --> Initialization error!
    neverball: DirectFBCreate: Initialization error!
    Any ideas?

    I'm using Feisty, with nvidia drivers working fine.

    Thanks!

  3. #123
    Join Date
    Aug 2006
    Location
    Melbourne
    Beans
    194
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to play openGL based games with full 3D acceleration on XGL/compiz

    To the OP. This tip worked a treat, thanks VERY much.

  4. #124
    Join Date
    Dec 2006
    Beans
    174

    Re: How to play openGL based games with full 3D acceleration on XGL/compiz

    It was kind of laggy but then I added a line into my xorg.conf:

    Option "UseFastTLS" "2"

    under "Devices".

    So now it looks like this:

    Code:
    Section "Device"
    	Identifier  "aticonfig-Device[0]"
    	Driver      "fglrx"
    	Option	    "VideoOverlay" "on"
    	Option	    "OpenGLOverlay" "off"
    	Option      "UseFastTLS" "2"
    I dunno if that really was the thing that did the trick but I figured that was the only change I've made with my drivers. So ATI users that experience laggy gaming under the ATI drivers, try this trick!

    I got the tips from browsing this site:
    http://wiki.cchtml.com/index.php/Performance_Issues

    Thanks for the tip threadmaker, now I don't need to relog to change session when playing.

  5. #125
    Join Date
    Jul 2006
    Location
    USA
    Beans
    35
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: [SOLVED] How to play openGL based games with full 3D acceleration on XGL/compiz

    I'm impressed. This is the first time I've seen goole earth run in an Xgl session. I am using fglrx driver version 8.38.6 on feisty with i386 kernel - ATI 9600 256 MB. Runs with out window, sort of fullscreen style, but everything works as it should; just like in a GNOME session. I haven't tested this thoroughly, but I will try next with WET. I actually have seen numerous improvements in the fglrx driver, feisty, xorg, and xgl over the past year. Much credit to the ubuntu team and users like arnieboy and jesper that make this possible; even easy for users to get it working. Thanks!

    Oh. btw:

    Instead of using display '93' i just used '0'
    Last edited by scottDkoDer; July 22nd, 2007 at 01:27 AM.

  6. #126
    Join Date
    Feb 2007
    Beans
    Hidden!

    Re: How to play openGL based games with full 3D acceleration on XGL/compiz

    Quote Originally Posted by sudomania4 View Post
    i get no input from the following command
    Code:
    clay@atlantis:~$ ps uax | grep Xorg | grep Xgl
    clay@atlantis:~$
    and the following command
    Code:
    clay@atlantis:~$ nonXgl ppracer
    xhost:  unable to open display ":93"
    PPRacer 0.3.1 --  http://racer.planetpenguin.de
    (c) 2004-2005 The PPRacer team
    (c) 1999-2001 Jasmin F. Patry<jfpatry@sunspirestudios.com>
    PPRacer comes with ABSOLUTELY NO WARRANTY. This is free software,
    and you are welcome to redistribute it under certain conditions.
    See http://www.gnu.org/copyleft/gpl.html for details.
    
    *** ppracer error: Couldn't initialize SDL: No I/O port permissions
    clay@atlantis:~$
    any ideas?

    EDIT: problem solved
    i simply changed the display in /usr/bin/nonXgl to 0, rather than 93
    Code:
    #!/bin/sh
    
    DISPLAY=":0"
    
    if [ -z "$1" ]; then
    echo "Usage: nonXgl <command>"
    exit 1
    fi
    
    isdisplay=0; isauth=0; for test in $(ps ax | grep "$DISPLAY" | grep Xorg ); do if [ $isauth -eq 1 ]; then export XAUTHORITY="$test"; isauth=0; fi; if [ "$test" = "-auth" ]; then isauth=1; fi; done;
    
    
    sudo /usr/bin/Xorgallowlocal "$XAUTHORITY" "$DISPLAY"
    
    exec $@
    now i can run gl apps/games with the script. thanks!

    Bless you brother.

    Mobility 9600 Xgl/Compiz-Fusion- Latest
    Gateway 7422GX

    UrbanTerror4 is perfect now.

  7. #127
    Join Date
    Apr 2007
    Location
    N/A
    Beans
    85
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: [SOLVED] How to play openGL based games with full 3D acceleration on XGL/compiz

    hmm i dont know where to find my display nr:

    Code:
    ps uax | grep Xorg | grep Xgl
    i tried the code in the terminal but it didn't work for me, i couldn't find it(it didn't give a single feedback). Even i tried them separately but no avail. When i try to run a game with the code, I get this:

    Code:
    nonXgl quake4
    xhost:  unable to open display ":93"
    exec: 15: quake4: not found
    Cant find my display..where can i find it?

    -edit
    The above solution worked for me. I just changed the 93 to 0 and it worked
    Last edited by XTREEM|RAGE; August 26th, 2007 at 05:51 PM.

  8. #128
    Join Date
    Apr 2007
    Beans
    67

    Re: [SOLVED] How to play openGL based games with full 3D acceleration on XGL/compiz

    Hey!!

    Thank you soo much! This is absolutely amazing!

    =)

  9. #129
    Join Date
    Sep 2007
    Location
    Los Angeles, California
    Beans
    136
    Distro
    Lubuntu 12.04 Precise Pangolin

    Question Re: How to play openGL based games with full 3D acceleration on XGL/compiz

    Quote Originally Posted by arnieboy View Post
    Now you are all set.
    To run any openGL based game, play it as follows:
    Code:
    nonXgl <game>
    for example:
    Code:
    nonXgl ppracer
    and enjoy full 3D acceleration!
    How do I do this for games that I run in Steam, such as CS:S?

    Thanks.
    Cheers,
    -Abhejit Rajagopal, EE student at UCLA

  10. #130
    Join Date
    Nov 2007
    Beans
    73
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: [SOLVED] How to play openGL based games with full 3D acceleration on XGL/compiz

    I had to set my display to 0 instead of 93, but otherwise, this works like a charm on my ATi 9600 Pro for Alien Arena, OpenArena, Sauerbraten and Chromium...Tremulous and Nexuiz are giving me a hard time with severely messed up textures though.
    Last edited by NineseveN; January 1st, 2008 at 11:16 PM.
    NEVER use a command given to you before asking and knowing exactly what it does. Make sure you know what it is that you're telling your system to do before doing it; some commands can be very harmful to your system or leave you vulnerable to attack.

Page 13 of 15 FirstFirst ... 31112131415 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •