Announcement

Collapse
No announcement yet.

Google Chrome - no hw acceleration by default on mesa

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Google Chrome - no hw acceleration by default on mesa

    I use Debian Testing 64-bit with mesa, drm, kernel, llvm, xf86-ati, glamor from git on an A8-5500 APU. It works very well - opengl, vdpau work really well.

    So, Google Chrome (latest versions, i have the repo installed) is unable to use any kind of hardware acceleration by default. Webgl demos ( www.chromeexperiments.com ) dont work, flash playback is skipping/tearing (using the Google flash), youtube reports software acceleration regardless of the flash setting. In contrast Seamonkey (based on Firefox) uses webgl just fine with this driver, has vsynced fluid flash (the Adobe version) and html5 playback.

    So i dug around and found out that this is caused by the fact that Google blacklisted mesa drivers.
    Enabling the "Override software rendering list" flag in the
    Code:
    chrome://flags/
    page (type it in the address bar) will permit the use of webgl and accelerated rendering in html5 and flash playback resulting in fluid playback with no tearing.
    Its a world of difference if you watch online videos in fullscreen.

    Regarding webgl: on radeon hardware by default it seems that webgl uses llvm if mesa was compiled with it. Certain demos will lack some features (like water refraction in the water simulation demo).
    Starting chrome with
    Code:
    R600_LLVM=0 google-chrome
    will make them work. Other demos dont work at all (the car visualizer gives black screen on chrome, works well on Seamonkey) regardless of this setting. Also, cpu usage is quite high compared to Seamonkey, maybe chrome uses software emulation whereas Seamonkey real hardware acceleration (i have the layers.acceleration.force-enabled set to true in Seamonkey).

  • #2
    I have the same issue when I install oibaf-ppa which has the latest MESA and Intel drivers. Google Chrome shows hw crash and won't detect either MESA or Intel drivers.

    Comment


    • #3
      I dont really understand why they cant do it properly since the Firefox implementation sems to work ok and i assume Chromium/Chrome has more manpower.
      In the amd/nvidia case they have an "excuse" (i dont buy it since as i said, Firefox was able to do it just fine) that they support the proprietary drivers bla bla, but in intel's case they have none.
      Anyway, the Chrome/ium devs have some issues (as in they wont do it) in implementing certain widespread other functions such as a master password, i wonder why.

      Comment

      Working...
      X