Steam causes X to crash

Whenever I run steam, it causes X to crash and ends my session (aka logs me out of the computer due to the crash). >:(

Here is a log I got of steam right before I get logged out (via redirection)


Repairing installation, linking /home/gum/.steam/steam to /home/gum/.local/share/Steam
Running Steam on   64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1389129507_client)
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 71 requests (71 known processed) with 0 events remaining.
[2014-01-24 19:35:28] Startup - updater built Jan  7 2014 12:06:43
SteamUpdateUI: An X Error occurred
X Error of failed request:  BadWindow (invalid Window parameter)
Major opcode of failed request:  154 (NV-GLX)
Minor opcode of failed request:  4
Resource id in failed request:  0x3a00002
Serial number of failed request:  41
xerror_handler: X failed, continuing

Here are my repos


#  | Alias                                       | Name                                                                           | Enabled | Refresh
---+---------------------------------------------+--------------------------------------------------------------------------------+---------+--------
 1 | Emulators:Wine                              | Emulators:Wine                                                                 | No      | No     
 2 | KDE:Extra                                   | KDE:Extra                                                                      | Yes     | Yes    
 3 | Virtualization_openSUSE13.1                 | Virtualization packages for openSUSE 13.1 (openSUSE_13.1)                      | Yes     | No     
 4 | devel:languages:haskell                     | devel:languages:haskell                                                        | Yes     | Yes    
 5 | devel:languages:pascal                      | devel:languages:pascal                                                         | Yes     | Yes    
 6 | devel_languages_python                      | Python and Python Modules (openSUSE_13.1)                                      | Yes     | No     
 7 | games                                       | games                                                                          | Yes     | Yes    
 8 | games:tools                                 | games:tools                                                                    | Yes     | Yes    
 9 | home:MargueriteSu                           | home:MargueriteSu                                                              | No      | No     
10 | home_alanbortu                              | alanbortu HOME                                                                 | Yes     | Yes    
11 | home_alanbortu_branches_home_rbos_pipelight | pipelight                                                                      | No      | No     
12 | home_namtrac_subpixel                       | subpixel (openSUSE_13.1)                                                       | Yes     | Yes    
13 | multimedia:apps                             | multimedia:apps                                                                | Yes     | Yes    
14 | multimedia:libs                             | multimedia:libs                                                                | No      | No     
15 | nVidia Graphics Drivers                     | nVidia Graphics Drivers                                                        | No      | No     
16 | packman                                     | packman                                                                        | Yes     | Yes    
17 | repo-debug                                  | openSUSE-13.1-Debug                                                            | No      | Yes    
18 | repo-debug-update                           | openSUSE-13.1-Update-Debug                                                     | No      | Yes    
19 | repo-debug-update-non-oss                   | openSUSE-13.1-Update-Debug-Non-Oss                                             | No      | Yes    
20 | repo-non-oss                                | openSUSE-13.1-Non-Oss                                                          | Yes     | Yes    
21 | repo-oss                                    | openSUSE-13.1-Oss                                                              | Yes     | Yes    
22 | repo-source                                 | openSUSE-13.1-Source                                                           | No      | Yes    
23 | repo-update                                 | openSUSE-13.1-Update                                                           | Yes     | Yes    
24 | repo-update-non-oss                         | openSUSE-13.1-Update-Non-Oss                                                   | Yes     | Yes    
25 | windows_mingw_win32                         | Cross-toolchain for 32-bit windows and 32-bit windows packages (openSUSE_13.1) | Yes     | No     



If an application manages to crash X it is most likely a graphics driver problem.

Which version of the nvidia driver do you have installed?

rpm -qa | grep nvidia

Could you please install the package “Mesa-demo-x” (if it’s not installed already) and post the output of:

glxinfo | grep render

On 01/24/2014 08:16 PM, wolfi323 wrote:
>
> If an application manages to crash X it is most likely a graphics driver
> problem.
>
> Which version of the nvidia driver do you have installed?
>
> Code:
> --------------------
> rpm -qa | grep nvidia
> --------------------
>

This does not print anything but I am pretty sure I am running nvidia
drivers. At least the nvidia-settings doesn’t give errors.

http://paste.opensuse.org/view/raw/26073524

>
> Could you please install the package “Mesa-demo-x” (if it’s not
> installed already) and post the output of:
>
> Code:
> --------------------
> glxinfo | grep render
> --------------------
>


X Error of failed request:  BadWindow (invalid Window parameter)
Major opcode of failed request:  154 (NV-GLX)
Minor opcode of failed request:  4 ()
Resource id in failed request:  0x6600003
Serial number of failed request:  34
Current serial number in output stream:  34


Was I helpful? Click that little star so that I can brag about it to my
invisible friends >:)
Bring the Penguins Back! https://features.opensuse.org/316767

Maybe you installed it “the hard way”, i.e. by downloading and running the installer directly from nvidia then?

>
> Could you please install the package “Mesa-demo-x” (if it’s not
> installed already) and post the output of:
>
> Code:
> --------------------
> glxinfo | grep render
> --------------------
>

X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 154 (NV-GLX)
Minor opcode of failed request: 4 ()
Resource id in failed request: 0x6600003
Serial number of failed request: 34
Current serial number in output stream: 34

So you have the same error here.
The driver is definitely not working, at least the 3D part.

Please post your /var/log/Xorg.0.log.
But I guess you have to reinstall the driver. Maybe there was some Mesa update you installed?
You have to reinstall the driver after every kernel and Mesa/Xorg update because it replaces (overwrites) some system libraries, that get reinstalled when there’s an update.

That’s one of the advantages of the RPM packages from the nvidia repo. They keep working after any updates… :wink:

On 01/24/2014 09:36 PM, wolfi323 wrote:
>
> alanbortu;2619137 Wrote:
>> On 01/24/2014 08:16 PM, wolfi323 wrote:
>>>
>>> If an application manages to crash X it is most likely a graphics
>> driver
>>> problem.
>>>
>>> Which version of the nvidia driver do you have installed?
>>>
>>> Code:
>>> --------------------
>>> rpm -qa | grep nvidia
>>> --------------------
>>>
>>
>> This does not print anything but I am pretty sure I am running nvidia
>> drivers. At least the nvidia-settings doesn’t give errors.
>>
>> http://paste.opensuse.org/view/raw/26073524
> Maybe you installed it “the hard way”, i.e. by downloading and running
> the installer directly from nvidia then?
>
>>

Yes I did.

> Code:
> --------------------
> > >
> > X Error of failed request: BadWindow (invalid Window parameter)
> > Major opcode of failed request: 154 (NV-GLX)
> > Minor opcode of failed request: 4 ()
> > Resource id in failed request: 0x6600003
> > Serial number of failed request: 34
> > Current serial number in output stream: 34
> >
> --------------------
>>>
>>
> So you have the same error here.
> The driver is definitely not working, at least the 3D part.
>
> Please post your /var/log/Xorg.0.log.
> But I guess you have to reinstall the driver. Maybe there was some Mesa
> update you installed?
> You have to reinstall the driver after every kernel and Mesa/Xorg update
> because it replaces (overwrites) some system libraries, that get
> reinstalled when there’s an update.
>
> That’s one of the advantages of the RPM packages from the nvidia repo.
> They keep working after any updates… :wink:
>
>
Here you go: http://paste.opensuse.org/view/raw/28019827

Makes sense. I will do that and report back. I did it manually way back
when there was no official package and I “needed” it for some games.


Was I helpful? Click that little star so that I can brag about it to my
invisible friends >:)
Bring the Penguins Back! https://features.opensuse.org/316767

And just writing to confirm that reinstalling the driver has fixed it.
Thanks a lot :slight_smile:


Was I helpful? Click that little star so that I can brag about it to my
invisible friends >:)
Bring the Penguins Back! https://features.opensuse.org/316767

There was a new driver release recently by Nvidia.

If you had installed fie Yast/zypper it would come as an update. But if you manually install you are responsible to reinstall after a kernel update

Just for completeness:
The Xorg.0.log contains this:

 56327.563] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
 56327.564] (II) Module glx: vendor="X.Org Foundation"
 56327.564]     compiled for 1.14.3.901, module version = 1.0.0
 56327.564]     ABI class: X.Org Server Extension, version 7.0

Which means you have the libglx from Xorg (package “xorg-x11-server”, so this seems to have been updated). With the nvidia driver installed, this should be from NVIDIA.

And then a bit later the actual error message:

 56327.566] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
 56327.566] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
 56327.566] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
 56327.566] (EE) NVIDIA(0):     you continue to encounter problems, Please try
 56327.566] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.

Since you do have the nvidia repo added to your system (that’s why I initially thought you were using the RPMs), you might want to just install the driver from there to prevent future problems:
First, uninstall the driver with “nvidia-installer --uninstall”.
Then enable the nvidia repo in YaST->Software Repositories (but verify that it points to the repo for openSUSE 13.1 :wink: ).
Afterwards enter YaST->Software Management, and install the following packages:
nvidia-gfxG03-kmp-desktop, x11-video-nvidiaG03, nvidia-computeG03, nvidia-glG03 (the latter ones may be chosen to be installed automatically because of dependencies)

And yes, it would be adviseable to update to the latest nvidia driver version (331.38). The 331.20 has some grave problems, see https://bugzilla.novell.com/show_bug.cgi?id=858421 .

On 01/25/2014 04:26 AM, wolfi323 wrote:
>
> Since you do have the nvidia repo added to your system (that’s why I
> initially thought you were using the RPMs), you might want to just
> install the driver from there to prevent future problems:
> First, uninstall the driver with “nvidia-installer --uninstall”.
> Then enable the nvidia repo in YaST->Software Repositories (but verify
> that it points to the repo for openSUSE 13.1 :wink: ).
> Afterwards enter YaST->Software Management, and install the following
> packages:
> nvidia-gfxG03-kmp-desktop, x11-video-nvidiaG03, nvidia-computeG03,
> nvidia-glG03 (the latter ones may be chosen to be installed
> automatically because of dependencies)
>
> And yes, it would be adviseable to update to the latest nvidia driver
> version (331.38). The 331.20 has some grave problems, see
> https://bugzilla.novell.com/show_bug.cgi?id=858421 .
>
>

Thanks, I added the packages after removing the old drivers and
initially it did not work. I tried it via zypper and it seems that the
driver was trying to access /usr/src/linux and /usr/src/linux-obj. The
first existed but pointed to a kernel I had removed (so I fixed that)
and the second did not exist at all so I had to create the symbolic link
to linux-3.11.6-4-obj. After that I tried installing again and it worked
fine.


Was I helpful? Click that little star so that I can brag about it to my
invisible friends >:)
Bring the Penguins Back! https://features.opensuse.org/316767