Skip to contentSkip to conversation

xf86-video-intel-2.99.912 with dri3 enabled breaks gnome-shell

DISCUSSION Hans de Goede 5 participants 6 messages Jun 12, 2014 – Jun 26, 2014

lore
Share & tools
lore
#0 lore raw

Hi All,

While preparing 1.15.99.903 server + 2.99.912 intel drv packages for Fedora 21, I noticed that both gdm and gnome-shell (tested with startx) hang, they show the initial background screen and then just sit there.

Building the server with --disable-dri3, or building the intel drv with a hacked configure.ac to make it not build with dri3 support fixes this.

Note this is with mesa 10.2.1, which has been build with xgl-dri3 support, I've double checked this.

Regards,

Hans

#1 lore raw
Quoted 6 lines · Hans de Goede

Hi All,

While preparing 1.15.99.903 server + 2.99.912 intel drv packages for Fedora 21, I noticed that both gdm and gnome-shell (tested with startx) hang, they show the initial background screen and then just sit there.

Can you attach the compressed output of --enable-debug=full? I guess it is a get-msc that ends up queuing a vblank with the wrong wakeup. -Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
#2 lore raw
In reply to Hans de Goede
Quoted 7 lines · Hans de Goede

Hi All,

While preparing 1.15.99.903 server + 2.99.912 intel drv packages for Fedora 21, I noticed that both gdm and gnome-shell (tested with startx) hang, they show the initial background screen and then just sit there.

Quoted 6 lines

Building the server with --disable-dri3, or building the intel drv with a hacked configure.ac to make it not build with dri3 support fixes this.

Note this is with mesa 10.2.1, which has been build with xgl-dri3 support, I've double checked this.

Can try starting gnome-shell with:

export CLUTTER_PAINT=disable-clipped-redraws:disable-culling

and see if that tells clutter to only do whole scene redraws and so only update using PresentPixmap? Could you send me the debug logs with that set in any event?
-Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
#3 lore raw
In reply to Hans de Goede
Quoted 7 lines · Hans de Goede

Hi All,

While preparing 1.15.99.903 server + 2.99.912 intel drv packages for Fedora 21, I noticed that both gdm and gnome-shell (tested with startx) hang, they show the initial background screen and then just sit there.

Quoted 7 lines

Building the server with --disable-dri3, or building the intel drv with a hacked configure.ac to make it not build with dri3 support fixes this.

Note this is with mesa 10.2.1, which has been build with xgl-dri3 support, I've double checked this.

Hi Hans!
Have you got to the bottom of this? I see the same thing, and also possibly with GLX contexts under XWayland also with gnome-shell. If it's the same thing, it points to the mesa i965 DRI(3) driver side rather than the DDX driver since it's not involved any more with XWayland.

(using git master or latest unstable releases of relevant components)

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#4 lore raw
Quoted 6 lines · Steven Newbury

Hi Hans!
Have you got to the bottom of this? I see the same thing, and also possibly with GLX contexts under XWayland also with gnome-shell. If it's the same thing, it points to the mesa i965 DRI(3) driver side rather than the DDX driver since it's not involved any more with XWayland.

FTR, I disabled DRI3 in our DDX ebuild because of this bug. IIRC, Julien did too in Debian.

Cheers,

Rémi

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#5 lore raw
Quoted 11 lines · Rémi Cardona
Quoted 6 lines · Steven Newbury

Hi Hans!
Have you got to the bottom of this? I see the same thing, and also possibly with GLX contexts under XWayland also with gnome-shell. If it's the same thing, it points to the mesa i965 DRI(3) driver side rather than the DDX driver since it's not involved any more with XWayland.

FTR, I disabled DRI3 in our DDX ebuild because of this bug. IIRC, Julien did too in Debian.

this is a bug that is to be fixed in mesa, the GLX_INTEL_swap_event extension was implemented wrongly in DRI2, and DRI3 needs to be fixed to be bug compatible.

I'll push fix in a while once I test it.

Dave.
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx