Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Linux Games with Open GL do not start

  1. #1

    Default Linux Games with Open GL do not start

    Dear all,
    I am a complete newbie to Linux.
    I have downloaded some of the programs from the games section.

    - gl-117
    - Brutalchess
    - Search and Rescue.

    When I execute them (not via console) the cursor changes, a corresponding tab on the bottom is created but both effects vanish after a few seconds and nothing happens.

    Ok, so I downloaded the drivers from the ATI website:
    ati-driver-installer-9-12-x86_64.run.

    I executed it with
    sudo sh ./ati-driver-installer-9-12-x86_64.run
    and it seemed to install ok.

    Now, the games still don't run and scrolling in Firefox has become painfully slow.

    Can I get some error protocols somewhere that may help to find what is missing?

    I have Suse 11.2 64Bit, and AMD 64 Bit processor and a Radeon 4870.

    (It is hard to replicate for me, but I used some one-click install from the SUSE websites which keeps failing with dozens error messages, if it helps I can try to use this install method again and copy big list, but I do not really expect this will be of help and only confuse matters...)

  2. #2
    Join Date
    Dec 2009
    Location
    USA
    Posts
    39

    Default Re: Linux Games with Open GL do not start

    Quote Originally Posted by RogerWilco77 View Post
    Dear all,
    I am a complete newbie to Linux.
    I have downloaded some of the programs from the games section.

    - gl-117
    - Brutalchess
    - Search and Rescue.

    When I execute them (not via console) the cursor changes, a corresponding tab on the bottom is created but both effects vanish after a few seconds and nothing happens.
    Open a terminal window, type in the commands for those games, and tell us what (if anything) you get back.

  3. #3

    Default Re: Linux Games with Open GL do not start

    Thanks a lot.
    Here is what Search and Rescue says:

    Code:
    axel@linux-q52q:/usr/games> SearchAndRescue                                                                                                                                  
    X Server error #17:  type: BadRequest  major_op_code: 135  minor_op_code: 19                                                                                                 
    X Server error #18:  type: BadRequest  major_op_code: 135  minor_op_code: 19                                                                                                 
    X Server error #19:  type: BadRequest  major_op_code: 135  minor_op_code: 14                                                                                                 
    Warning: Unable to find glX, this is used for X and OpenGL communications.                                                                                                   
    X Server error #24:  type: BadRequest  major_op_code: 135  minor_op_code: 19                                                                                                 
    X Server error #25:  type: BadRequest  major_op_code: 135  minor_op_code: 19                                                                                                 
    X Server error #26:  type: BadRequest  major_op_code: 135  minor_op_code: 14                                                                                                 
    X Server error #31:  type: BadRequest  major_op_code: 135  minor_op_code: 19                                                                                                 
    X Server error #32:  type: BadRequest  major_op_code: 135  minor_op_code: 19                                                                                                 
    X Server error #33:  type: BadRequest  major_op_code: 135  minor_op_code: 14                                                                                                 
    X Server error #38:  type: BadRequest  major_op_code: 135  minor_op_code: 19                                                                                                 
    X Server error #39:  type: BadRequest  major_op_code: 135  minor_op_code: 19                                                                                                 
    X Server error #40:  type: BadRequest  major_op_code: 135  minor_op_code: 14                                                                                                 
    X Server error #45:  type: BadRequest  major_op_code: 135  minor_op_code: 19                                                                                                 
    X Server error #46:  type: BadRequest  major_op_code: 135  minor_op_code: 19                                                                                                 
    X Server error #47:  type: BadRequest  major_op_code: 135  minor_op_code: 14                                                                                                 
    Unable to find a suitable X Visual.                                                                                                                                          
    
    Please verify that you have an X Visual suitable for OpenGL rendering
    by running "xdpyinfo". Also note that defining multiple Visuals      
    may confuse the selection of a proper Visual (in which case try defining
    only one Visual).                                                       
    
    Your hardware may have a Visual that is not compatible with this program.
    Search and Rescue triggered a segmentation fault.
    Ok, so I followed the instructions and executed xdpyinfo:

    Code:
    axel@linux-q52q:/usr/games> xdpyinfo                                     
    name of display:    :0.0                                                 
    version number:    11.0                                                  
    vendor string:    The X.Org Foundation                                   
    vendor release number:    10605000                                       
    X.Org version: 1.6.5                                                     
    maximum request size:  16777212 bytes                                    
    motion buffer size:  256                                                 
    bitmap unit, bit order, padding:    32, LSBFirst, 32                     
    image byte order:    LSBFirst                                            
    number of supported pixmap formats:    7                                 
    supported pixmap formats:                                                
        depth 1, bits_per_pixel 1, scanline_pad 32                           
        depth 4, bits_per_pixel 8, scanline_pad 32                           
        depth 8, bits_per_pixel 8, scanline_pad 32                           
        depth 15, bits_per_pixel 16, scanline_pad 32                         
        depth 16, bits_per_pixel 16, scanline_pad 32                         
        depth 24, bits_per_pixel 32, scanline_pad 32                         
        depth 32, bits_per_pixel 32, scanline_pad 32                         
    keycode range:    minimum 8, maximum 255                                 
    focus:  window 0x120001c, revert to PointerRoot                          
    number of extensions:    32                                              
        ATI-GLX                                                              
        ATIFGLEXTENSION                                                      
        ATIFGLRXDRI                                                          
        ATITVOUT                                                             
        BIG-REQUESTS                                                         
        Composite                                                            
        DAMAGE                                                               
        DOUBLE-BUFFER                                                        
        DPMS                                                                 
        DRI2                                                                 
        GLX                                                                  
        Generic Event Extension                                              
        MIT-SCREEN-SAVER                                                     
        MIT-SHM                                                              
        RANDR                                                                
        RECORD                                                               
        RENDER                                                               
        SECURITY                                                             
        SHAPE                                                                
        SYNC                                                                 
        X-Resource                                                           
        XC-MISC                                                              
        XFIXES                                                               
        XFree86-DGA                                                          
        XFree86-DRI                                                          
        XFree86-VidModeExtension                                             
        XINERAMA                                                             
        XInputExtension                                                      
        XKEYBOARD                                                            
        XTEST                                                                
        XVideo                                                               
        glesx                                                                
    default screen number:    0                                              
    number of screens:    1                                                  
    
    screen #0:
      print screen:    no
      dimensions:    1600x1200 pixels (432x324 millimeters)
      resolution:    94x94 dots per inch                   
      depths (7):    24, 1, 4, 8, 15, 16, 32               
      root window id:    0x60                              
      depth of root window:    24 planes                   
      number of colormaps:    minimum 1, maximum 1         
      default colormap:    0x20                            
      default number of colormap cells:    256             
      preallocated pixels:    black 0, white 16777215      
      options:    backing-store NO, save-unders NO         
      largest cursor:    64x64                             
      current input event mask:    0xfac031                
        KeyPressMask             EnterWindowMask          LeaveWindowMask          
        KeymapStateMask          ExposureMask             StructureNotifyMask      
        SubstructureNotifyMask   SubstructureRedirectMask FocusChangeMask          
        PropertyChangeMask       ColormapChangeMask                                
      number of visuals:    9                                                      
      default visual id:  0x23                                                     
      visual:                                                                      
        visual id:    0x23                                                         
        class:    TrueColor                                                        
        depth:    24 planes                                                        
        available colormap entries:    256 per subfield                            
        red, green, blue masks:    0xff0000, 0xff00, 0xff                          
        significant bits in color specification:    8 bits                         
      visual:                                                                      
        visual id:    0x24                                                         
        class:    TrueColor                                                        
        depth:    24 planes                                                        
        available colormap entries:    256 per subfield
        red, green, blue masks:    0xff0000, 0xff00, 0xff
        significant bits in color specification:    8 bits
      visual:
        visual id:    0x25
        class:    TrueColor
        depth:    24 planes
        available colormap entries:    256 per subfield
        red, green, blue masks:    0xff0000, 0xff00, 0xff
        significant bits in color specification:    8 bits
      visual:
        visual id:    0x26
        class:    TrueColor
        depth:    24 planes
        available colormap entries:    256 per subfield
        red, green, blue masks:    0xff0000, 0xff00, 0xff
        significant bits in color specification:    8 bits
      visual:
        visual id:    0x27
        class:    DirectColor
        depth:    24 planes
        available colormap entries:    256 per subfield
        red, green, blue masks:    0xff0000, 0xff00, 0xff
        significant bits in color specification:    8 bits
      visual:
        visual id:    0x28
        class:    DirectColor
        depth:    24 planes
        available colormap entries:    256 per subfield
        red, green, blue masks:    0xff0000, 0xff00, 0xff
        significant bits in color specification:    8 bits
      visual:
        visual id:    0x29
        class:    DirectColor
        depth:    24 planes
        available colormap entries:    256 per subfield
        red, green, blue masks:    0xff0000, 0xff00, 0xff
        significant bits in color specification:    8 bits
      visual:
        visual id:    0x2a
        class:    DirectColor
        depth:    24 planes
        available colormap entries:    256 per subfield
        red, green, blue masks:    0xff0000, 0xff00, 0xff
        significant bits in color specification:    8 bits
      visual:
        visual id:    0x5e
        class:    TrueColor
        depth:    32 planes
        available colormap entries:    256 per subfield
        red, green, blue masks:    0xff0000, 0xff00, 0xff
        significant bits in color specification:    8 bits
    Finally I also found the folder with Brutalchess:

    Code:
    axel@linux-q52q:/usr/share> brutalchess
    X Error of failed request:  BadRequest (invalid request code or no such operation)
      Major opcode of failed request:  135 (GLX)
      Minor opcode of failed request:  19 (X_GLXQueryServerString)
      Serial number of failed request:  18
      Current serial number in output stream:  18
    and finally gl-117:
    Code:
    axel@linux-q52q:/usr/games> gl-117
    Info: Found gl-117 data directory /usr/share/games/gl-117
    Info: Startup gl-117, V1.3 ...
    Info: Loading /home/axel/.gl-117/conf
    Info: Saving /home/axel/.gl-117/conf
    Info: Loading /home/axel/.gl-117/conf.interface
    Info: Saving /home/axel/.gl-117/conf.interface
    Warning: Could not load saves/pilots
    Warning: Could not load pilot
    Info: Using SDL and GLUT
    X Error of failed request:  BadRequest (invalid request code or no such operation)
      Major opcode of failed request:  135 (GLX)
      Minor opcode of failed request:  19 (X_GLXQueryServerString)
      Serial number of failed request:  18
      Current serial number in output stream:  18
    Speicherzugriffsfehler
    I hope this helps...
    Like I said... I have no clue (yet)....
    Thanks a lot.

  4. #4

    Default Re: Linux Games with Open GL do not start

    I have investigated a bit more.
    I found some instruction under [URL="http://wiki.ubuntuusers.de/Grafikkarten/ATI/fglrx"].

    My xorg.conf looks like this:
    Code:
    Section "Device"
    	Identifier  "aticonfig-Device[0]-0"
    	Driver      "fglrx"
    	BusID       "PCI:1:0:0"
    EndSection
    And fglrxinfo leads to:
    Code:
    axel@linux-q52q:/etc/X11> fglrxinfo
    X Error of failed request:  BadRequest (invalid request code or no such operation)
      Major opcode of failed request:  135 (GLX)
      Minor opcode of failed request:  19 (X_GLXQueryServerString)
      Serial number of failed request:  17
      Current serial number in output stream:  17
    This however looks strangely similar to what the games said...

  5. #5
    Join Date
    Dec 2009
    Location
    USA
    Posts
    39

    Default Re: Linux Games with Open GL do not start

    Well... it seems like Open GL might be really messed up, could be a problem with the driver installation. Since I'm not using fglrx and don't have a 64 bit system, I'm not entirely sure how you would go about fixing it.

    Just to be sure it's not working though, type "glxgears" in a terminal window. If OpenGL is working, a new window should pop up with spinning gears in it. If you get something else, let us know what it says.

  6. #6

    Default Re: Linux Games with Open GL do not start

    looks quite the same as above:
    Code:
    axel@linux-q52q:~> glxgears
    X Error of failed request:  BadRequest (invalid request code or no such operation)
      Major opcode of failed request:  135 (GLX)
      Minor opcode of failed request:  19 (X_GLXQueryServerString)
      Serial number of failed request:  17
      Current serial number in output stream:  17

  7. #7
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,760

    Default Re: Linux Games with Open GL do not start

    Which ATI card?

    Try uninstalling the ATI driver then reinstalling being sure you have the correct one for your card.

  8. #8

    Default Re: Linux Games with Open GL do not start

    I got a Radeon 4870.
    Well... uninstalling the driver...


    How to do this?

    I have tried it before with
    Launch the Terminal Application/Window and navigate to the /usr/share/ati folder.
    With superuser permissions, enter the command "sh ./fglrx-uninstall.sh".
    Reboot your system.
    as described in the manual downloaded from Ati.


    Do I need to do sthg in Yast as well?
    Well, KDE didnt start anymore, so it can't have been that bad.
    However, I am no longer sure if the install routine really is ok... because it seems like I get kicked to a console without any linefeeds...
    I will try to capture it next time...

  9. #9

    Default Re: Linux Games with Open GL do not start

    it is cryptic, but there is a message like:
    /ati-installer.sh line 41: 11821 aborted (Abgebrochen in my German edition)
    But it also says "installation complete"

    then I started aticonfig:

    axel@linux-q52q:/usr/X11R6/bin> aticonfig --initial
    Found fglrx primary device section
    Using /etc/X11/xorg.conf
    Saved back-up to /etc/X11/xorg.conf.fglrx-3
    aticonfig: Writing to '/etc/X11/xorg.conf' failed. Bad file descriptor.
    axel@linux-q52q:/usr/X11R6/bin>

  10. #10
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,760

    Default Re: Linux Games with Open GL do not start

    Hmmm something is messed.

    try the one step install

    ATI - openSUSE

    I doubt that the driver is listed in Yast because you did a manual install. But you could check do a search for fglrx. The one step method will put it in the Yast list.

Page 1 of 2 12 LastLast

Posting Permissions

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