Page 2 of 9 FirstFirst 1234 ... LastLast
Results 11 to 20 of 86

Thread: HOWTO: The Best Way To Play Games On Ubuntu

  1. #11
    Join Date
    Jul 2006
    Location
    on the bleeding edge
    Beans
    1,011

    Re: HOWTO: The Best Way To Play Games On Ubuntu

    Quote Originally Posted by mikeym View Post
    The X server wont process keypresses without a window manager running. I believe this is a bug but it's one that's on Ubuntu. It also makes windows work correctly if you're running something that's not always fullscreen such as steam.

    Feh is just for showing a background image on the desktop. No necessary but welcome after spending lost of time testing with the hatch background.

    Can I ask what was preventing the script from installing openbox and feh? What did you do to install them?
    Hehe I see. the script seems to have failed installing them, what made it fail I don't know... the output I posted is all I got from after running the script.

    I really like it by the way,.. Very ambitious! You should add a option to uninstall it too for those who like to keep a tidy system (like me).

    Wish you luck on this project

  2. #12
    Join Date
    Jun 2006
    Beans
    471

    Re: HOWTO: The Best Way To Play Games On Ubuntu

    The PROGRAM bit in 'x.game start PROGRAM' needs to be a program.

    Try:

    Code:
    WINEDEBUG=-all x.game start wine /home/justin/.wine/drive_c/"Program Files"/"World of Warcraft"/WoW.exe
    Did you select a real image file for your background when you were installing? You should have seen this instead hatch (after a brief flash of the hatch). To exit x.game try right clicking on the desktop and selecting exit.

    Woops the key combination to switch windows is [ctrl]+[alt]+F7. I'll change my post. One back at your desktop if you're having problems exiting by right clicking you can stop x.game with 'x.game stop'.

  3. #13
    Join Date
    Jun 2006
    Beans
    471

    Re: HOWTO: The Best Way To Play Games On Ubuntu

    KhaaL you don't have the output from the install there so it wouldn't include any errors from installing openbox or feh. I'll see about putting more error checking in the install script.

    The only thing I can see that would cause a problem is that these packages are part of the Universe repository - it's possible you didn't have this enabled. I've put a note about this in the install instructions.

    Thanks. I'll see about putting a uninstall when I have time.

  4. #14
    Join Date
    Apr 2006
    Beans
    16

    Re: HOWTO: The Best Way To Play Games On Ubuntu

    Quote Originally Posted by mikeym View Post
    The PROGRAM bit in 'x.game start PROGRAM' needs to be a program.

    Try:

    Code:
    WINEDEBUG=-all x.game start wine /home/justin/.wine/drive_c/"Program Files"/"World of Warcraft"/WoW.exe
    Did you select a real image file for your background when you were installing? You should have seen this instead hatch (after a brief flash of the hatch). To exit x.game try right clicking on the desktop and selecting exit.

    Woops the key combination to switch windows is [ctrl]+[alt]+F7. I'll change my post. One back at your desktop if you're having problems exiting by right clicking you can stop x.game with 'x.game stop'.
    Ok so I reinstalled the script and chose a different image but it didn't change the background, I'm still getting the hatches. But I tried running the game in a different way, heres what I got...

    Code:
    x.game start wine /home/justin/.wine/drive_c/"Program Files"/"World of Warcraft"/WoW.exe
    Selecting: start
    Starting:
    X Display :1 already open
    Program: wine
    Switching to display :1
    wine  "/home/justin/.wine/drive_c/Program Files/World of Warcraft/WoW.exe"
    
    fixme:spoolsv:serv_main (0 (nil))
    fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 8000000a
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    AUDIT: Thu Feb 21 11:02:45 2008: 10626 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    
    fixme:wave:ALSA_ComputeCaps Device has a minimum of 2 channels
    fixme:wave:ALSA_ComputeCaps Device has a minimum of 2 channels
    
    AUDIT: Thu Feb 21 11:02:45 2008: 10626 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    
    
    
    
    AUDIT: Thu Feb 21 11:02:45 2008: 10626 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    
    AUDIT: Thu Feb 21 11:02:45 2008: 10626 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    
    Application tried to create a window, but no driver could be loaded.
    Make sure that your X server is running and that $DISPLAY is set correctly.
    err:wgl:process_attach X11DRV or GDI32 not loaded. Cannot create default context.
    err:module:LdrInitializeThunk "opengl32.dll" failed to initialize, aborting
    err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\World of Warcraft\\WoW.exe" failed, status c0000142

  5. #15
    Join Date
    Jun 2006
    Beans
    471

    Re: HOWTO: The Best Way To Play Games On Ubuntu

    OK,

    Could you try running:

    Code:
    xauth add ubuntu/unix:1 . `mcookie`
    for me and then retrying x.game?

    I may need to add this line to the install to give the authority to launch X on a new display.

  6. #16
    Join Date
    Jun 2006
    Beans
    471

    Re: HOWTO: The Best Way To Play Games On Ubuntu

    OK,

    I've made quite a few fixes on the install script now. I'd appreciate it if someone could try it and tell me how it goes.

  7. #17
    Join Date
    Apr 2006
    Beans
    16

    Re: HOWTO: The Best Way To Play Games On Ubuntu

    OK, tried it again with the new updated script and it still wouldn't work right...

    Code:
    justin@justin:~/Desktop$ x.game start wine /home/justin/.wine/drive_c/"Program Files"/"World of Warcraft"/WoW.exe
    Selecting: start
    Starting:
    Starting Daemon:
    
    
    X Window System Version 1.3.0
    Release Date: 19 April 2007
    X Protocol Version 11, Revision 0, Release 1.3
    Build Operating System: Linux Ubuntu (xorg-server 2:1.3.0.0.dfsg-12ubuntu8.3)
    Current Operating System: Linux justin 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686
    Build Date: 18 January 2008
            Before reporting problems, check http://wiki.x.org
            to make sure that you have the latest version.
    Module Loader present
    Markers: (--) probed, (**) from config file, (==) default setting,
            (++) from command line, (!!) notice, (II) informational,
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.1.log", Time: Fri Feb 22 12:06:49 2008
    (==) Using config file: "/etc/X11/xorg.conf"
    (II) Module already built-in
    Program: wine
    Switching to display :1
    wine  "/home/justin/.wine/drive_c/Program Files/World of Warcraft/WoW.exe"
    fixme:spoolsv:serv_main (0 (nil))
    AUDIT: Fri Feb 22 12:06:52 2008: 16585 X: client 1 rejected from local host (uid 1000)
    AUDIT: Fri Feb 22 12:06:52 2008: 16585 X: client 2 rejected from local host (uid 1000)
    Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    
    
    waiting for X server to begin accepting connections Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    
    feh ERROR: Can't open X display. It *is* running, yeah?
    .
    AUDIT: Fri Feb 22 12:06:54 2008: 16585 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    
    .AUDIT: Fri Feb 22 12:06:55 2008: 16585 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    
    fixme:wave:ALSA_ComputeCaps Device has a minimum of 2 channels
    fixme:wave:ALSA_ComputeCaps Device has a minimum of 2 channels
    AUDIT: Fri Feb 22 12:06:55 2008: 16585 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    
    AUDIT: Fri Feb 22 12:06:55 2008: 16585 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    
    AUDIT: Fri Feb 22 12:06:55 2008: 16585 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    
    Application tried to create a window, but no driver could be loaded.
    Make sure that your X server is running and that $DISPLAY is set correctly.
    err:wgl:process_attach X11DRV or GDI32 not loaded. Cannot create default context.
    err:module:LdrInitializeThunk "opengl32.dll" failed to initialize, aborting
    err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\World of Warcraft\\WoW.exe" failed, status c0000142
    justin@justin:~/Desktop$ .
    AUDIT: Fri Feb 22 12:06:56 2008: 16585 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    
    ..
    AUDIT: Fri Feb 22 12:06:58 2008: 16585 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    
    ..
    AUDIT: Fri Feb 22 12:07:00 2008: 16585 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    
    ..
    AUDIT: Fri Feb 22 12:07:02 2008: 16585 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    
    ..
    AUDIT: Fri Feb 22 12:07:04 2008: 16585 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    
    ..
    AUDIT: Fri Feb 22 12:07:06 2008: 16585 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":1.0" refused by server
    Xlib: No protocol specified
    EDIT: I tried using that command you posted, and I think that made it worse, is there any way I can reverse that?
    Last edited by DShroud; February 22nd, 2008 at 06:14 PM.

  8. #18
    Join Date
    Apr 2007
    Location
    Zürich, Switzerland
    Beans
    163
    Distro
    Kubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: The Best Way To Play Games On Ubuntu

    Something's going horribly wrong...

    http://pastebin.ca/915149

  9. #19
    Join Date
    Feb 2008
    Beans
    10

    Re: HOWTO: The Best Way To Play Games On Ubuntu

    I would love to test this out, but, I can't change to another terminal in gutsy. It just gives me a flashing curser but no command line.
    Any ideas??

  10. #20
    Join Date
    Feb 2007
    Location
    perdita
    Beans
    1,625
    Distro
    Ubuntu

    Re: HOWTO: The Best Way To Play Games On Ubuntu

    It doesn't work for me. I tried it simply with kobodeluxe, but apparently it has some problems with sdl.
    Is it supposed to work with wine apps and window (i.e. non-fullscreen) apps too?

    After running "x.game start kobodl" (I made sure it launches fullscreen when run normally), a new x screen appears, completely empty (grey, no background image) with the default X cursor. (right-click to exit also not working)
    Then nothing. I switched back to ubuntu and here's the output I got:
    Code:
    x.game start kobodl
    Selecting: start
    Starting:
    Starting Daemon:
    
    
    This is a pre-release version of the X server from The X.Org Foundation.
    It is not supported in any way.
    Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
    Select the "xorg" product for bugs you find in this release.
    Before reporting bugs in pre-release versions please check the
    latest version in the X.Org Foundation git repository.
    See http://wiki.x.org/wiki/GitPage for git access instructions.
    
    X.Org X Server 1.4.0.90
    Release Date: 5 September 2007
    X Protocol Version 11, Revision 0
    Build Operating System: Linux Ubuntu (xorg-server 2:1.4.1~git20080131-1ubuntu4)
    Current Operating System: Linux KIAaze-laptop 2.6.24-7-generic #1 SMP Thu Feb 7 01:29:58 UTC 2008 i686
    Build Date: 20 February 2008  11:54:41AM
    
            Before reporting problems, check http://wiki.x.org
            to make sure that you have the latest version.
    Module Loader present
    Markers: (--) probed, (**) from config file, (==) default setting,
            (++) from command line, (!!) notice, (II) informational,
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.1.log", Time: Sun Feb 24 20:39:42 2008
    (==) Using config file: "/etc/X11/xorg.conf"
    (II) Module "ddc" already built-in
    (II) Module "i2c" already built-in
    NTSC PAL NTSC-J
    finished output detect: 0
    proc lid open
    finished output detect: 1
    finished output detect: 2
    finished all detect
    before xf86InitialConfiguration
    /usr/local/bin/x.game: line 19: feh: command not found
    Program: kobodl
    Switching to display :1
    kobodl
    Application path: '.'
    proc lid open
    in RADEONProbeOutputModes
    after xf86InitialConfiguration
    (II) Module "ramdac" already built-in
    Entering TV Save
    Save TV timing tables
    saveTimingTables: reading timing tables
    TV Save done
    (EE) [drm] Could not set DRM device bus ID.
    (EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
    init memmap
    init common
    init crtc1
    init pll1
    restore memmap
    restore common
    restore crtc1
    restore pll1
    restore LVDS
    enable montype: 2
    disable montype: 2
    expected keysym, got XF86KbdLightOnOff: line 70 of pc
    expected keysym, got XF86KbdBrightnessDown: line 71 of pc
    expected keysym, got XF86KbdBrightnessUp: line 72 of pc
    Atom 4, CARD32 4, unsigned long 4
    expected keysym, got XF86KbdLightOnOff: line 70 of pc
    expected keysym, got XF86KbdBrightnessDown: line 71 of pc
    expected keysym, got XF86KbdBrightnessUp: line 72 of pc
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
    >                   Ignoring extra symbols
    Errors from xkbcomp are not fatal to the X server
    expected keysym, got XF86KbdLightOnOff: line 70 of pc
    expected keysym, got XF86KbdBrightnessDown: line 71 of pc
    expected keysym, got XF86KbdBrightnessUp: line 72 of pc
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
    >                   Ignoring extra symbols
    Errors from xkbcomp are not fatal to the X server
    enable montype: 2
    AUDIT: Sun Feb 24 20:39:50 2008: 25428 X: client 1 rejected from local host (uid 1000)
    AUDIT: Sun Feb 24 20:39:50 2008: 25428 X: client 2 rejected from local host (uid 1000)
    No protocol specified
    
    waiting for X server to begin accepting connections No protocol specified
    AUDIT: Sun Feb 24 20:39:50 2008: 25428 X: client 1 rejected from local host (uid 1000)
    No protocol specified
    
         =======================|  DirectFB 1.0.1  |=======================
              (c) 2001-2007  The DirectFB Organization (directfb.org)
              (c) 2000-2004  Convergence (integrated media) GmbH
            ------------------------------------------------------------
    
    (*) DirectFB/Core: Single Application Core. (2007-12-12 00:46)
    (!) 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!
    [6761] Failed to initialize SDL!
    Then lots of:
    Code:
    AUDIT: Sun Feb 24 20:39:52 2008: 25428 X: client 1 rejected from local host (uid 1000)
    No protocol specified
    ..
    AUDIT: Sun Feb 24 20:39:54 2008: 25428 X: client 1 rejected from local host (uid 1000)
    No protocol specified
    And finally, after using x.game stop:
    Code:
    giving up.
    /usr/bin/xinit:  Resource temporarily unavailable (errno 11):  unable to connect to X server
    
    waiting for X server to shut down FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.
    
    
    /usr/bin/xinit:  unexpected signal 15.
    P.S:
    I really like the way you install your script:
    Code:
    tail -n 80 $0 >> /tmp/x.game
    gksudo mv /tmp/x.game /usr/local/bin/x.game
    This is simply too cool. 8)
    Last edited by KIAaze; February 24th, 2008 at 09:00 PM.

Page 2 of 9 FirstFirst 1234 ... 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
  •