Bug 1812982 Comment 66 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

> TEST-UNEXPECTED-FAIL | toolkit/components/pictureinpicture/tests/browser_backgroundTab.js 

bug 1782134 is about the same file.

Felixoid, keystroke33 and the CI have hardware rendering blocked because they are using the not-recommended legacy intel DDX X11 driver instead of the modesetting driver.
In bug 1710400 comment 42 I had found out that the problem HW WR was suffering from on Intel DDX could also be fixed by disabling GLX_SGI_video_sync by setting layout.frame_rate:60.

Does the CI still crash if you set these prefs?
* gfx.webrender.multithreading:false layout.frame_rate:60 gfx.x11-egl.force-enabled:true webgl.threadsafe-gl.force-disabled:true webgl.use-canvas-render-thread:false gfx.webrender.allow-partial-present-buffer-age:false gfx.webrender.max-partial-present-rects:0
gfx.webrender.pbo-uploads:false
(bug 1710400, bug 1725009, bug 1777849, bug 1723323, bug 1738816, bug 1741956)

* Maybe additionally set browser.tabs.inTitlebar:0?
  * bug 1730991, bug 1750017. Can the [remainings of](https://searchfox.org/mozilla-central/search?q=XShape) the XShape cancer be removed from the code?
  Users of "X11 without compositor" (i3 etc - IIRC/IIUC a legacy in-driver compositor is used instead) should just get autoscroll icon and panels without shadows and without round corners.
  * Is gtk double buffering really disabled everywhere? bug 1502519 comment 27, bug 1743255, maybe bug 1743254
  * bug 1719003
* Maybe additionally run `sudo apt-get remove xserver-xorg-video-intel -y` in CI?  bug 1742708


Running build from comment 58 that crashed in CI and clicking to open PiP from context menu doesn't crash for me on KDE Wayland, Debian Testing:
$ MOZ_ENABLE_WAYLAND=0 mozregression --repo autoland --launch c53591077218 --pref gfx.webrender.software:true -a 'https://htmlpreview.github.io/?https://raw.githubusercontent.com/mozilla/gecko-dev/master/toolkit/components/pictureinpicture/tests/test-page.html'
$ LIBGL_ALWAYS_SOFTWARE=1 MOZ_ENABLE_WAYLAND=0 mozregression --repo autoland --launch c53591077218 --pref gfx.webrender.all:true -a 'https://htmlpreview.github.io/?https://raw.githubusercontent.com/mozilla/gecko-dev/master/toolkit/components/pictureinpicture/tests/test-page.html'
> TEST-UNEXPECTED-FAIL | toolkit/components/pictureinpicture/tests/browser_backgroundTab.js 

bug 1782134 is about the same file.

Felixoid, keystroke33 and the CI have hardware rendering blocked because they are using the not-recommended legacy intel DDX X11 driver instead of the modesetting driver.
In bug 1710400 comment 42 I had found out that the problem HW WR was suffering from on Intel DDX could also be fixed by disabling GLX_SGI_video_sync by setting layout.frame_rate:60.

Does the CI still crash if you set these prefs?
* gfx.webrender.multithreading:false layout.frame_rate:60 gfx.x11-egl.force-enabled:true webgl.threadsafe-gl.force-disabled:true webgl.use-canvas-render-thread:false gfx.webrender.allow-partial-present-buffer-age:false gfx.webrender.max-partial-present-rects:0
gfx.webrender.pbo-uploads:false
(bug 1710400, bug 1725009, bug 1777849, bug 1723323, bug 1738816, bug 1741956)

* Maybe additionally set browser.tabs.inTitlebar:0?
  * bug 1730991, bug 1750017. Can the [remainings of](https://searchfox.org/mozilla-central/search?q=XShape) the XShape cancer be removed from the code?
  Users of "X11 without compositor" (i3 etc - IIRC/IIUC a legacy in-driver compositor is used instead) should just get autoscroll icon and panels without shadows and without round corners.
  * Is gtk double buffering really disabled everywhere? bug 1502519 comment 27, bug 1743255, maybe bug 1743254
  * bug 1719003
* Maybe additionally run `sudo apt-get remove xserver-xorg-video-intel -y` in CI?  bug 1742708


Running build from comment 59 that crashed in CI and clicking to open PiP from context menu doesn't crash for me on KDE Wayland, Debian Testing:
$ MOZ_ENABLE_WAYLAND=0 mozregression --repo autoland --launch c53591077218 --pref gfx.webrender.software:true -a 'https://htmlpreview.github.io/?https://raw.githubusercontent.com/mozilla/gecko-dev/master/toolkit/components/pictureinpicture/tests/test-page.html'
$ LIBGL_ALWAYS_SOFTWARE=1 MOZ_ENABLE_WAYLAND=0 mozregression --repo autoland --launch c53591077218 --pref gfx.webrender.all:true -a 'https://htmlpreview.github.io/?https://raw.githubusercontent.com/mozilla/gecko-dev/master/toolkit/components/pictureinpicture/tests/test-page.html'

Back to Bug 1812982 Comment 66