PM 15 and hardware acceleration
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
PM 15 and hardware acceleration
Thank you moonchild for your work on PM 15. I have some good news to share.
I have a laptop with Intel 4 series integrated graphics running Win 7 and latest drivers from Intel. With previous PM versions, I experienced the following bug, which caused drop-down menus to flicker when running on a secondary monitor. The problem would go away if hardware acceleration was disabled.
https://bugzilla.mozilla.org/show_bug.cgi?id=600381
PM 15 seems to have fixed this problem, even though the bug is still open. I haven't changed any drivers recently, so the fix is due to the PM upgrade.
I thought hw acceleration might just be disabled somehow behind the scenes, so I used the following tool to test. It runs much faster when hw acceleration is enabled, so the acceleration is indeed working.
https://developer.mozilla.org/media/upl ... e/HWACCEL/
I don't know if credit for the fix goes to the FF 15 codebase or something unique about PM, but in any case I'm pleased that this little annoyance is gone.
I have a laptop with Intel 4 series integrated graphics running Win 7 and latest drivers from Intel. With previous PM versions, I experienced the following bug, which caused drop-down menus to flicker when running on a secondary monitor. The problem would go away if hardware acceleration was disabled.
https://bugzilla.mozilla.org/show_bug.cgi?id=600381
PM 15 seems to have fixed this problem, even though the bug is still open. I haven't changed any drivers recently, so the fix is due to the PM upgrade.
I thought hw acceleration might just be disabled somehow behind the scenes, so I used the following tool to test. It runs much faster when hw acceleration is enabled, so the acceleration is indeed working.
https://developer.mozilla.org/media/upl ... e/HWACCEL/
I don't know if credit for the fix goes to the FF 15 codebase or something unique about PM, but in any case I'm pleased that this little annoyance is gone.
-
- Pale Moon guru
- Posts: 35648
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: PM 15 and hardware acceleration
The blocklist for Pale Moon 15 has been extended with more entries for integrated Intel graphics, because layers acceleration is simply broken in them. Pale Moon 15 selectively disables some parts of the acceleration that are poorly supported on Intel integrated graphics, while leaving overall acceleration enabled for other parts.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: PM 15 and hardware acceleration
Thanks for the explanation moonchild!
I wasn't familiar with the blocklist feature. If anyone else is curious about this, here's a good explanation.
https://wiki.mozilla.org/Blocklisting/Graphics
I wasn't familiar with the blocklist feature. If anyone else is curious about this, here's a good explanation.
https://wiki.mozilla.org/Blocklisting/Graphics
-
- Lunatic
- Posts: 468
- Joined: 2012-06-06, 19:45
- Location: Portugal
Re: PM 15 and hardware acceleration
Moonchild, do you distinguish different Intel IGPs? Because the performance found on something like a 4500MHD is quite different than what's found on a GMA 950 or on a HD 3000.
I'm running an Optimus-enabled system, that has an Intel IGP (HD 3000) to handle the system output and a Nvidia GPU (doesn't output by itself, sends the data to the Intel IGP instead) to act as a render workhorse, and given that the IGP is capable of hardware acceleration, I hope you're not considering all Intel IGPs as entirely ineligible for hardware acceleration.
I'm running an Optimus-enabled system, that has an Intel IGP (HD 3000) to handle the system output and a Nvidia GPU (doesn't output by itself, sends the data to the Intel IGP instead) to act as a render workhorse, and given that the IGP is capable of hardware acceleration, I hope you're not considering all Intel IGPs as entirely ineligible for hardware acceleration.
Portuguese translator of Pale Moon
-
- Pale Moon guru
- Posts: 35648
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: PM 15 and hardware acceleration
There is no way to determine from the browser which task is performed by which GPU in such a setup, nor which parts are accelerated where (and IMHO doing it that way is asking for a lot of trouble!).
As for your question, the blocklist selectively enables and disables features based on manufacturer and model ID, not by generic type.
For example, an entry from the current blocklist, blocking Direct2D on certain ATI/AMD (vendor 0x1002) integrated chips (HD6310/toshiba laptops/some APUs - device 0x980*):
As for your question, the blocklist selectively enables and disables features based on manufacturer and model ID, not by generic type.
For example, an entry from the current blocklist, blocking Direct2D on certain ATI/AMD (vendor 0x1002) integrated chips (HD6310/toshiba laptops/some APUs - device 0x980*):
Code: Select all
<gfxBlacklistEntry blockID="g81"> <os>WINNT 6.1</os> <vendor>0x1002</vendor> <devices>
<device>0x9802</device>
<device>0x9803</device>
<device>0x9803</device>
<device>0x9804</device>
<device>0x9805</device>
<device>0x9806</device>
<device>0x9807</device>
</devices>
<feature>DIRECT2D</feature> <featureStatus>BLOCKED_DEVICE</featureStatus> <driverVersion>1.0.0.0</driverVersion> <driverVersionComparator>GREATER_THAN_OR_EQUAL</driverVersionComparator> </gfxBlacklistEntry>
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Lunatic
- Posts: 468
- Joined: 2012-06-06, 19:45
- Location: Portugal
Re: PM 15 and hardware acceleration
Glad to hear, as different models from the same vendor have drastically different features, such as proper hardware acceleration.
Portuguese translator of Pale Moon
-
- Forum staff
- Posts: 1885
- Joined: 2011-09-08, 11:27
Re: PM 15 and hardware acceleration
Mobile versions of the same graphics chipset are likely to be crippled in some way compared to the desktop versions.
-
- Lunatic
- Posts: 468
- Joined: 2012-06-06, 19:45
- Location: Portugal
Re: PM 15 and hardware acceleration
Mobile Intel IGPs are simply downclocked versions of the desktop IGP versions. Feature wise they're exactly the same.
Portuguese translator of Pale Moon
Re: PM 15 and hardware acceleration
Whoops, it looks like I spoke too soon. It still happens sometimes, but less frequently than before. Oh well, not a big deal, especially since it only happens intermittently and only on a secondary monitor. At least I understand now that it is Intel's fault and not FF or PM.chumley wrote: PM 15 seems to have fixed this problem ...
-
- Pale Moon guru
- Posts: 35648
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: PM 15 and hardware acceleration
It seems, also judging by a related recent support request, that this is a flaw in the DirectX 10 implementation of the Intel drivers, and that forcing it to use DirectX 9 can fix all of the issues.
In about:config, try setting layers.prefer-d3d9 to true
EDIT: By the way, the fact that it doesn't show up as easily in Pale Moon 15 is because it's much tighter on timings, basically it would flicker but it would be too fast for you to see.
In about:config, try setting layers.prefer-d3d9 to true
EDIT: By the way, the fact that it doesn't show up as easily in Pale Moon 15 is because it's much tighter on timings, basically it would flicker but it would be too fast for you to see.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: PM 15 and hardware acceleration
Thanks, I'll play with that. It may be hard to determine the impact, since I can't seem to reproduce the issue on demand. PM15 avoids the issue most of the time already.
Thanks for your time Moonchild.
Thanks for your time Moonchild.
Re: PM 15 and hardware acceleration
I used this setting for a while and I think it may helped with the original issue, but I'm not certain since the issue was not strictly reproducible. However, this setting introduced another weird issue. I have font smoothing disabled on my machine, but that setting caused smoothed fonts to appear intermittently in different places. One repeatable example was the Yahoo mail delete confirmation dialog. Disabling the above setting or disabling hardware acceleration eliminated the font smoothing issue. So I'm going back to layers.prefer-d3d9 = false.Moonchild wrote:It seems, also judging by a related recent support request, that this is a flaw in the DirectX 10 implementation of the Intel drivers, and that forcing it to use DirectX 9 can fix all of the issues.
In about:config, try setting layers.prefer-d3d9 to true
-
- Pale Moon guru
- Posts: 35648
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: PM 15 and hardware acceleration
Usually font smoothing issues are related to forcing antialiasing in the graphics driver control panel. You want to disable that - games tend to have a built-in setting for this anyway so there's no need to enable it overall.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite