iXit / Mesa-3D

Please use official https://gitlab.freedesktop.org/mesa/mesa/ !
https://github.com/iXit/Mesa-3D/wiki
66 stars 13 forks source link

xcb-Errors in Heroes of the Storm #186

Open anduchs opened 8 years ago

anduchs commented 8 years ago

Trying to play HotS via wine-nine, I run into the following error that also crashes my XServer...

If you need anything wrt debugging, please let me know...

[......]
err:d3dadapter:PRESENTwait_events FATAL error: xcb had an error
err:d3dadapter:PRESENTwait_events FATAL error: xcb had an error
XIO:  fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server ":1"
      after 713 requests (713 known processed) with 0 events remaining.
XIO:  fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server ":1"
      after 105 requests (105 known processed) with 0 events remaining.
XIO:  fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server ":1"
      after 117 requests (117 known processed) with 0 events remaining.
XIO:  fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server ":1"
      after 726 requests (726 known processed) with 0 events remaining.
XIO:  fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server ":1"
      after 340 requests (340 known processed) with 0 events remaining.
axeldavy commented 8 years ago

What is your config ?

siro20 commented 8 years ago

Xserver :1 ? The default is :0 Do you have multiple monitors with different Xscreens?

anduchs commented 8 years ago

Setup is:

Ubuntu-Gnome 15.04 (vivid)
Linux Kernel 4.4.0-040400-generic (ubuntu kernel-ppa)
ppa:xorg-edgers
ppa:oibaf/graphics-drivers
ppa:commendsarnex/winedri3

Xserver is :1 by default... Don't ask me why, I guess gdm is on :0 or something like this... I only have a single monitor and only a single Xscreen... My gnome-shell is also running on :1 by the way...

One more note: Elder Scrolls Online and Diablo 3 both run like a charme... :-)

Anything else that would be required ?

axeldavy commented 8 years ago

We need the log with NINE_DEBUG=all. You need mesa compiled with --enable-debug.

FabioPedretti commented 8 years ago

FYI you can get mesa compiled with --enable-debug + ixit branch here: https://launchpad.net/~oibaf/+archive/ubuntu/gallium-nine/ .

anduchs commented 8 years ago

I did three more runs (they also crash X so bad that I need reboot), with different results:

The most recent calls and patterns seemed:

Mesa: User error: GL_INVALID_ENUM in glRenderbufferStorage(internalFormat=GL_SLUMINANCE8)
Mesa: User error: GL_INVALID_ENUM in glRenderbufferStorage(internalFormat=GL_SLUMINANCE8_ALPHA8)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
WARNING: value %<some number> not uniquely defined
WARNING: out of code space, evicting all shaders.
err:d3dadapter:PRESENTPixmap Error using PRESENT. Here some debug info

I hope this helps, tell me if you need anything else...

Here are the complete traces:

fixme:d3dadapter:d3dadapter9_new 
Native Direct3D 9 is active.
For more information visit https://wiki.ixit.cz/d3d9
fixme:d3dadapter:DRI3PresentGroup_GetMultiheadCount (0x176168), stub!
fixme:d3dadapter:DRI3PresentGroup_GetMultiheadCount (0x176168), stub!
Mesa: User error: GL_INVALID_ENUM in glRenderbufferStorage(internalFormat=GL_SLUMINANCE8)
Mesa: User error: GL_INVALID_ENUM in glRenderbufferStorage(internalFormat=GL_SLUMINANCE8_ALPHA8)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
[...] Multiple of these...
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
WARNING: value %36 not uniquely defined
WARNING: value %33 not uniquely defined
WARNING: value %34 not uniquely defined
WARNING: value %18 not uniquely defined
WARNING: value %15 not uniquely defined
WARNING: value %16 not uniquely defined
err:d3dadapter:PRESENTPixmap Error using PRESENT. Here some debug info
err:d3dadapter:PRESENTPixmap Pixmap: width=1440, height=900, depth=24
err:d3dadapter:PRESENTPixmap Window: width=1440, height=900, depth=24, x=0, y=0
err:d3dadapter:PRESENTPixmap Present parameter: PresentationInterval=-2147483648, BackBufferCount=1, Pending presentations=1
fixme:d3dadapter:DRI3PresentGroup_GetMultiheadCount (0x176168), stub!
fixme:d3dadapter:DRI3PresentGroup_GetMultiheadCount (0x176168), stub!
err:d3dadapter:PRESENTwait_events FATAL error: xcb had an error
XIO:  fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server ":1"
      after 105 requests (105 known processed) with 0 events remaining.
XIO:  fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server ":1"
      after 117 requests (117 known processed) with 0 events remaining.
XIO:  fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server ":1"
      after 380 requests (375 known processed) with 0 events remaining.
XIO:  fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server ":1"
      after 706 requests (706 known processed) with 0 events remaining.
err:pulse:pulse_contextcallback Context failed: Verbindung beendet
XIO:  fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server ":1"
      after 404 requests (386 known processed) with 0 events remaining.
Native Direct3D 9 is active.
For more information visit https://wiki.ixit.cz/d3d9
fixme:d3dadapter:DRI3PresentGroup_GetMultiheadCount (0x176170), stub!
fixme:d3dadapter:DRI3PresentGroup_GetMultiheadCount (0x176170), stub!
Mesa: User error: GL_INVALID_ENUM in glRenderbufferStorage(internalFormat=GL_SLUMINANCE8)
Mesa: User error: GL_INVALID_ENUM in glRenderbufferStorage(internalFormat=GL_SLUMINANCE8_ALPHA8)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_ENUM in glRenderbufferStorage(internalFormat=GL_SLUMINANCE8)
Mesa: User error: GL_INVALID_ENUM in glRenderbufferStorage(internalFormat=GL_SLUMINANCE8_ALPHA8)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
WARNING: value %36 not uniquely defined
WARNING: value %33 not uniquely defined
WARNING: value %34 not uniquely defined
WARNING: value %18 not uniquely defined
WARNING: value %15 not uniquely defined
WARNING: value %16 not uniquely defined
WARNING: out of code space, evicting all shaders.
Mesa: User error: GL_INVALID_ENUM in glRenderbufferStorage(internalFormat=GL_SLUMINANCE8)
Mesa: User error: GL_INVALID_ENUM in glRenderbufferStorage(internalFormat=GL_SLUMINANCE8_ALPHA8)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
Mesa: User error: GL_INVALID_OPERATION in glTexImage3D(bad target for depth texture)
WARNING: value %49 not uniquely defined
WARNING: value %47 not uniquely defined
WARNING: value %4 not uniquely defined
WARNING: value %1 not uniquely defined
WARNING: value %2 not uniquely defined
WARNING: value %4 not uniquely defined
WARNING: value %1 not uniquely defined
WARNING: value %2 not uniquely defined
WARNING: value %49 not uniquely defined
WARNING: value %47 not uniquely defined
WARNING: value %4 not uniquely defined
WARNING: value %1 not uniquely defined
WARNING: value %2 not uniquely defined
WARNING: value %4 not uniquely defined
WARNING: value %1 not uniquely defined
WARNING: value %2 not uniquely defined
WARNING: value %49 not uniquely defined
WARNING: value %47 not uniquely defined
WARNING: value %4 not uniquely defined
WARNING: value %1 not uniquely defined
WARNING: value %2 not uniquely defined
WARNING: value %4 not uniquely defined
WARNING: value %1 not uniquely defined
WARNING: value %2 not uniquely defined
WARNING: value %49 not uniquely defined
WARNING: value %47 not uniquely defined
WARNING: value %4 not uniquely defined
WARNING: value %1 not uniquely defined
WARNING: value %2 not uniquely defined
WARNING: value %4 not uniquely defined
WARNING: value %1 not uniquely defined
WARNING: value %2 not uniquely defined
WARNING: value %49 not uniquely defined
WARNING: value %47 not uniquely defined
WARNING: value %4 not uniquely defined
WARNING: value %1 not uniquely defined
WARNING: value %2 not uniquely defined
WARNING: value %4 not uniquely defined
WARNING: value %1 not uniquely defined
WARNING: value %2 not uniquely defined
WARNING: value %49 not uniquely defined
WARNING: value %47 not uniquely defined
WARNING: value %4 not uniquely defined
WARNING: value %1 not uniquely defined
WARNING: value %2 not uniquely defined
WARNING: value %4 not uniquely defined
WARNING: value %1 not uniquely defined
WARNING: value %2 not uniquely defined
siro20 commented 8 years ago

Please provide a full log generated by NINE_DEBUG=all WINEDEBUG=d3dadapter wine "your apllication here"