| Summary: | www-client/firefox-42.0 hardware acceleration not working | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Olcay <nuke_mania> |
| Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | major | CC: | aoaaxy+gentoobugzilla, gentoo, itumaykin+gentoo, zazdxscf+bugs.gentoo.org |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | emerge --info firefox | ||
|
Description
Olcay
2015-11-06 16:58:25 UTC
OMTC is known broken on linux even with upstream builds. You are gonna be in same boat most other users are in including myself. (In reply to Jory A. Pratt from comment #1) > OMTC is known broken on linux even with upstream builds. You are gonna be in > same boat most other users are in including myself. yes you're right i just run the bench from https://developer.mozilla.org/media/uploads/demos/p/a/paulrouget/8bfba7f0b6c62d877a2b82dd5e10931e/hacksmozillaorg-achi_1334270447_demo_package/HWACCEL/ fps was 29/27 both builds broken i got that thanks anyway Created attachment 416810 [details]
emerge --info firefox
I was able to turn on hardware acceleration (at least judging by about:support output) by setting USE='-egl' for firefox. With USE='egl' I was unable to convince firefox to enable hardware acceleration even through various 'force-*' preferences.
about:support info:
Graphics
--------
Adapter Description: Intel Open Source Technology Center -- Mesa DRI Intel(R) Ironlake Mobile
Asynchronous Pan/Zoom: none
Device ID: Mesa DRI Intel(R) Ironlake Mobile
Driver Version: 2.1 Mesa 11.0.4
GPU Accelerated Windows: 1/1 OpenGL (OMTC)
Supports Hardware H264 Decoding: false
Vendor ID: Intel Open Source Technology Center
WebGL Renderer: Intel Open Source Technology Center -- Mesa DRI Intel(R) Ironlake Mobile
windowLayerManagerRemote: true
AzureCanvasBackend: cairo
AzureContentBackend: cairo
AzureFallbackCanvasBackend: none
AzureSkiaAccelerated: 0
CairoUseXRender: 1
about:config changes:
layers.acceleration.force-enabled: true
webgl.force-enabled: true
I wonder if rebuilding with USE='-egl' solves this issue in general. Olcay, Jory could you test it and provide feedback, please? (In reply to Coacher from comment #4) > I wonder if rebuilding with USE='-egl' solves this issue in general. > Olcay, Jory could you test it and provide feedback, please? It will not fix it for the majority of users. The option in the mozilla overlay should be about ready to move to the tree in next few days. (In reply to Jory A. Pratt from comment #5) > It will not fix it for the majority of users. Can you please elaborate on this one? > The option in the mozilla overlay should be about ready to move to the tree in next few days. Are you referring to this: https://github.com/gentoo-mirror/mozilla/commit/d6bfb5bd999fef763c3dadfaf155a588ac5c2c5a ? Because I have hardware acceleration + stable, working OMTC with cairo[X,xcb,xlib-xcb]. (In reply to Coacher from comment #6) > (In reply to Jory A. Pratt from comment #5) > > It will not fix it for the majority of users. > > Can you please elaborate on this one? > > > The option in the mozilla overlay should be about ready to move to the tree in next few days. > > Are you referring to this: > https://github.com/gentoo-mirror/mozilla/commit/ > d6bfb5bd999fef763c3dadfaf155a588ac5c2c5a ? > > Because I have hardware acceleration + stable, working OMTC with > cairo[X,xcb,xlib-xcb]. The only way you do not have a crash with this when opening a new tab is using newtab instead of the default newtabpage. (In reply to Jory A. Pratt from comment #7) > The only way you do not have a crash with this when opening a new tab is > using newtab instead of the default newtabpage. What do you mean by "using newtab instead of the default newtabpage"? My newtabpage is the default about:newtab. there is no hardware accel at about:support output but i got 60+ fps with radeonsi from https://developer.mozilla.org/media/uploads/demos/p/a/paulrouget/8bfba7f0b6c62d877a2b82dd5e10931e/hacksmozillaorg-achi_1334270447_demo_package/HWACCEL/ it was 27 fps with fglrx (In reply to Coacher from comment #3) > Created attachment 416810 [details] > emerge --info firefox > > I was able to turn on hardware acceleration (at least judging by > about:support output) by setting USE='-egl' for firefox. With USE='egl' I > was unable to convince firefox to enable hardware acceleration even through > various 'force-*' preferences. > > about:support info: > > Graphics > -------- > > Adapter Description: Intel Open Source Technology Center -- Mesa DRI > Intel(R) Ironlake Mobile > Asynchronous Pan/Zoom: none > Device ID: Mesa DRI Intel(R) Ironlake Mobile > Driver Version: 2.1 Mesa 11.0.4 > GPU Accelerated Windows: 1/1 OpenGL (OMTC) > Supports Hardware H264 Decoding: false > Vendor ID: Intel Open Source Technology Center > WebGL Renderer: Intel Open Source Technology Center -- Mesa DRI Intel(R) > Ironlake Mobile > windowLayerManagerRemote: true > AzureCanvasBackend: cairo > AzureContentBackend: cairo > AzureFallbackCanvasBackend: none > AzureSkiaAccelerated: 0 > CairoUseXRender: 1 > > > about:config changes: > > layers.acceleration.force-enabled: true > webgl.force-enabled: true Thanks for this! I was able to turn on hwaccel with -egl emerge --info is here: https://564918.bugs.gentoo.org/attachment.cgi?id=416900 Basically, with hwaccel I get 9fps instead of 5fps without, with system-cairo; and with -system-cairo, with hwaccel 5fps instead of 16fps without(yes, without is way faster!) tested firefox 42.0-r1 Prior to -egl, so with egl, I had this: 0/1 Basic (OMTC) Blocked for your graphics driver version. Try updating your graphics driver to version <Anything with EXT_texture_from_pixmap support> or newer. (In reply to Olcay from comment #9) > there is no hardware accel at about:support output > but i got 60+ fps with radeonsi from > https://developer.mozilla.org/media/uploads/demos/p/a/paulrouget/ > 8bfba7f0b6c62d877a2b82dd5e10931e/hacksmozillaorg- > achi_1334270447_demo_package/HWACCEL/ > > it was 27 fps with fglrx Are these results with or without 'egl' USE enabled? (In reply to Coacher from comment #11) > (In reply to Olcay from comment #9) > > there is no hardware accel at about:support output > > but i got 60+ fps with radeonsi from > > https://developer.mozilla.org/media/uploads/demos/p/a/paulrouget/ > > 8bfba7f0b6c62d877a2b82dd5e10931e/hacksmozillaorg- > > achi_1334270447_demo_package/HWACCEL/ > > > > it was 27 fps with fglrx > > Are these results with or without 'egl' USE enabled? with egl enabled (In reply to Olcay from comment #12) > (In reply to Coacher from comment #11) > > (In reply to Olcay from comment #9) > > > there is no hardware accel at about:support output > > > but i got 60+ fps with radeonsi from > > > https://developer.mozilla.org/media/uploads/demos/p/a/paulrouget/ > > > 8bfba7f0b6c62d877a2b82dd5e10931e/hacksmozillaorg- > > > achi_1334270447_demo_package/HWACCEL/ > > > > > > it was 27 fps with fglrx > > > > Are these results with or without 'egl' USE enabled? > > with egl enabled Would you care to test firefox with egl disabled? (In reply to Coacher from comment #13) > (In reply to Olcay from comment #12) > > (In reply to Coacher from comment #11) > > > (In reply to Olcay from comment #9) > > > > there is no hardware accel at about:support output > > > > but i got 60+ fps with radeonsi from > > > > https://developer.mozilla.org/media/uploads/demos/p/a/paulrouget/ > > > > 8bfba7f0b6c62d877a2b82dd5e10931e/hacksmozillaorg- > > > > achi_1334270447_demo_package/HWACCEL/ > > > > > > > > it was 27 fps with fglrx > > > > > > Are these results with or without 'egl' USE enabled? > > > > with egl enabled > > Would you care to test firefox with egl disabled? without egl 48 fps -egl, 60+ (In reply to Olcay from comment #14) > (In reply to Coacher from comment #13) > > (In reply to Olcay from comment #12) > > > (In reply to Coacher from comment #11) > > > > (In reply to Olcay from comment #9) > > > > > there is no hardware accel at about:support output > > > > > but i got 60+ fps with radeonsi from > > > > > https://developer.mozilla.org/media/uploads/demos/p/a/paulrouget/ > > > > > 8bfba7f0b6c62d877a2b82dd5e10931e/hacksmozillaorg- > > > > > achi_1334270447_demo_package/HWACCEL/ > > > > > > > > > > it was 27 fps with fglrx > > > > > > > > Are these results with or without 'egl' USE enabled? > > > > > > with egl enabled > > > > Would you care to test firefox with egl disabled? > > without egl 48 fps Thank you for the info. See, Anarchy? '-egl' does help. If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system. Thank You for your support and understanding The Mozilla Team |