Games are crashing

I’m posting this here because this is an X problem(so I think). Most of my games that require 3D acceleration just crash. The thing that they have in common is:

X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  179 ()
  Serial number of failed request:  726
  Current serial number in output stream:  807
libxcb: WARNING! Program tries to lock an already locked connection,
        which indicates a programming error.
        There will be no further warnings about this issue.

Here is my xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Thu Apr 16 19:36:29 PDT 2009                                                                              

# /.../
# SaX generated X11 config file
# Created on: 2009-05-06T04:30:48+0300.
#                                      
# Version: 8.1                         
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#                                                                             
# Automatically generated by [ISaX] (8.1)                                     
# PLEASE DO NOT EDIT THIS FILE!                                               
#                                                                             

Section "ServerLayout"
    Identifier     "Layout[all]"
    Screen         "Screen[0]" 0 0
    InputDevice    "Keyboard[0]" "CoreKeyboard"
    InputDevice    "Mouse[1]" "CorePointer"    
    InputDevice    "Mouse[3]" "SendCoreEvents" 
    Option         "Clone" "off"               
    Option         "Xinerama" "off"            
    Option         "aiglx" "true"              
EndSection                                     

Section "Files"
    InputDevices      "/dev/gpmdata"
    InputDevices      "/dev/input/mice"
    FontPath        "/usr/share/fonts/misc:unscaled"
    FontPath        "/usr/share/fonts/local"        
    FontPath        "/usr/share/fonts/75dpi:unscaled"
    FontPath        "/usr/share/fonts/100dpi:unscaled"
    FontPath        "/usr/share/fonts/Type1"          
    FontPath        "/usr/share/fonts/URW"            
    FontPath        "/usr/share/fonts/Speedo"         
    FontPath        "/usr/share/fonts/PEX"            
    FontPath        "/usr/share/fonts/cyrillic"       
    FontPath        "/usr/share/fonts/latin2/misc:unscaled"
    FontPath        "/usr/share/fonts/latin2/75dpi:unscaled"
    FontPath        "/usr/share/fonts/latin2/100dpi:unscaled"
    FontPath        "/usr/share/fonts/latin2/Type1"          
    FontPath        "/usr/share/fonts/latin7/75dpi:unscaled" 
    FontPath        "/usr/share/fonts/baekmuk:unscaled"      
    FontPath        "/usr/share/fonts/japanese:unscaled"     
    FontPath        "/usr/share/fonts/kwintv"                
    FontPath        "/usr/share/fonts/truetype"              
    FontPath        "/usr/share/fonts/uni:unscaled"          
    FontPath        "/usr/share/fonts/CID"                   
    FontPath        "/usr/share/fonts/ucs/misc:unscaled"     
    FontPath        "/usr/share/fonts/ucs/75dpi:unscaled"    
    FontPath        "/usr/share/fonts/ucs/100dpi:unscaled"   
    FontPath        "/usr/share/fonts/hellas/misc:unscaled"  
    FontPath        "/usr/share/fonts/hellas/75dpi:unscaled" 
    FontPath        "/usr/share/fonts/hellas/100dpi:unscaled"
    FontPath        "/usr/share/fonts/hellas/Type1"          
    FontPath        "/usr/share/fonts/misc/sgi:unscaled"     
    FontPath        "/usr/share/fonts/xtest"                 
    FontPath        "/opt/kde3/share/fonts"                  
EndSection                                                   

Section "Module"
    Load           "dbe"
    Load           "freetype"
    Load           "extmod"  
    Load           "glx"     
EndSection                   

Section "ServerFlags"
    Option         "AllowMouseOpenFail" "on"
    Option         "ZapWarning" "on"        
EndSection                                  

Section "InputDevice"
    Identifier     "Keyboard[0]"
    Driver         "kbd"        
    Option         "Protocol" "Standard"
    Option         "XkbLayout" "us"     
    Option         "XkbModel" "microsoftpro"
    Option         "XkbRules" "xfree86"     
EndSection                                  

Section "InputDevice"
    Identifier     "Mouse[1]"
    Driver         "mouse"   
    Option         "Buttons" "7"
    Option         "Device" "/dev/input/mice"
    Option         "Name" "KYE Wireless Mouse"
    Option         "Protocol" "explorerps/2"  
    Option         "Vendor" "Sysp"            
    Option         "ZAxisMapping" "4 5"       
EndSection                                    

Section "InputDevice"
    Identifier     "Mouse[3]"
    Driver         "synaptics"
    Option         "Buttons" "5"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "on"    
    Option         "HorizScrollDelta" "0"    
    Option         "InputFashion" "Mouse"    
    Option         "Name" "Synaptics;Touchpad"
    Option         "Protocol" "explorerps/2"  
    Option         "SHMConfig" "on"           
    Option         "Vendor" "Sysp"            
    Option         "ZAxisMapping" "4 5"       
EndSection                                    

Section "Modes"
    Identifier         "Modes[0]"
EndSection                       

Section "Monitor"
    Identifier     "Monitor[0]"
    VendorName     "--> LCD"   
    ModelName      "1024X768@60HZ"
    UseModes       "Modes[0]"     
    HorizSync       31.0 - 60.0   
    VertRefresh     30.0 - 60.0   
    Option         "CalcAlgorithm" "XServerPool"
    Option         "DPMS"                       
    Option         "PreferredMode" "1280x800"   
EndSection                                      

Section "Device"
    Identifier     "Device[0]"
    Driver         "nvidia"   
    VendorName     "NVidia"   
    BoardName      "GeForce 8400M G"
EndSection                          

Section "Screen"
    Identifier     "Screen[0]"
    Device         "Device[0]"
    Monitor        "Monitor[0]"
    DefaultDepth    24         
    Option         "RenderAccel" "True"
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"                 
        Depth       15                       
        Modes      "1280x800" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"                                                  
    EndSubSection                                                                 
    SubSection     "Display"                                                      
        Depth       16                                                            
        Modes      "1280x800" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"                                                  
    EndSubSection                                                                 
    SubSection     "Display"                                                      
        Depth       24                                                            
        Modes      "1280x800" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       32
        Modes      "1280x800" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x800" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

I’ve been having video problems recently and I ran these commands:


nvidia-xconfig --composite
nvidia-xconfig --render-accel
nvidia-xconfig --add-argb-glx-visuals -d 24

What’s wrong?(P.S. Everything worked fine before kernel update)

bumping the thread

Need the Xorg.0.log.

This is an old xorg problem(Well this bit libxcb: WARNING! Program tries to lock an already locked connection,)

But I suspect it is glx related also for testing purposes try to turn of the desktop effects(Has this changed are they on?).

The other thing can you run glxgears?

Turning off desktop effects doesn’t help.

I can run glxgears however it gives me this message:

Error: API mismatch: the NVIDIA kernel module has version 180.51,
but this NVIDIA driver component has version 185.18.14.  Please make
sure that the kernel module and all NVIDIA driver components
have the same version.
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 4837 requests (38 known processed) with 0 events remaining.

And heres the log file:

Download log.txt, upload your files and earn money.

I don’t really need to read the xorg log for what ever reason you haven’t quite got the driver in.

Not sure how you installed this, but I’m suspecting you’ve had a bit of a headache and tried several different ways i.e the hard way and the easy way. Now you seem to have a mix of both from the looks of things you installed the beta driver but didn’t uninstall it properly.

Please use a paste bin (Your lucky I got it)
pastebin - Google Search

Now the how to fix well if this was me you’re going to have to uninstall the present one. You have to then reinstall the beta to then uninstall then reinstall the 180.51. I suspect you just complied over or 1 clicked over the top of one.

Well your right about the headache :slight_smile:

How can I do a complete uninstall of both and then installing again from scratch?

As suggested above if this was me I would uninstall then reinstall to uninstall. Uninstall the non-beta, install the beta the hard way then uninstall the proper way(Sorry can’t remember exactly how not done the hard way for a very long time, think you have this doing it the hard way Man page of nvidia-installer)

At that point you should be clean but check by looking in yast to see what files it is installing and where it is highly likely to be the same place just different versions.

Then install the driver.

Oh rotfl!Didn’t even notice :slight_smile: Recent update fixed everything :smiley: Good thing I checked before making a big mistake :wink: