Slashdot Mirror


Google Won't Enable Chrome Video Acceleration Because of Linux GPU Bugs

An anonymous reader writes "Citing 'code we consider to be permanently "experimental" or "beta,"' Google Chrome engineers have no plans on enabling video acceleration in the Chrome/Chromium web browser. Code has been written but is permanently disabled by default because 'supporting GPU features on Linux is a nightmare' due to the reported sub-par quality of Linux GPU drivers and many different Linux distributions. Even coming up with a Linux GPU video acceleration white-list has been shot down over fear of the Linux video acceleration code causing stability issues and problems for Chrome developers. What have been your recent experiences with Linux GPU drivers?"

38 of 295 comments (clear)

  1. Permenant Beta by sunderland56 · · Score: 3, Informative

    You mean like Google Maps??

    1. Re:Permenant Beta by ficuscr · · Score: 3, Funny
    2. Re:Permenant Beta by asmkm22 · · Score: 2

      They obviously mean "beta" quality. Google Maps is hardly beta quality, regardless of what they label it.

    3. Re:Permenant Beta by Anonymous Coward · · Score: 5, Funny

      What's not to like? Now I get new Google Maps that take several seconds to load in Chrome. That's progress compared with the instant loading that plagued the tile-map version...

    4. Re:Permenant Beta by joaommp · · Score: 4, Interesting

      to me this all sounds like a lame excuse for the lack of quality of their own software. I mean it's true that there are bugs in the kernel and everywhere on X and alike, but all other apps play nice. only chrome is playing the "poor little guy" part. all other software rants and complains when they find a bug, but they still manage to work it out and to help everything get better. Linux is not the only platform having frustrating bugs that can cripple any piece of software. but it's the easy prey for anyone preparing to become a competitor.
      this is the typical tactic of making people "dependent" on their software, then complaining that some of the platforms it runs on doesn't have as much quality to be excused for a poor performance so they can make it work worse and then they have another excuse to impose a bit more of their own platform like the one running on chromebooks or something else about to be launched.

    5. Re:Permenant Beta by gerddie · · Score: 2

      What other GPU enabled software runs on Windows, Mac, and Linux?

      For starters: Every game that makes use of 3D and is available for the three platforms, scientific software like Paraview, Slicer 3D, 3D rendering software like Blender, the famous video player VLC, ...

    6. Re:Permenant Beta by visualight · · Score: 3, Insightful

      Of course they could. They don't *want* to.

      What they do want, is for Linux to be a little more BigCorp friendly so walled gardens are a little easier to build and maintain.

      This, by itself, isn't much of campaign, but every little nudge counts.

      --
      Samsung took back my unlocked bootloader because Google wants me to rent movies. They're both evil.
    7. Re:Permenant Beta by ShoulderOfOrion · · Score: 3, Interesting

      Yes, you got most of the issue correct.

      I would add, however, that you missed a big one: hardware video acceleration in general quickly gets one into the world of DRM, patents, and other BigCorp-induced headaches that have been causing Linux trouble since day one. This has always been the major impediment to hardware acceleration in the open source drivers at least. Even the Linux binary drivers have had acceleration features stripped from the for DRM reasons.

      As a Linux user for close to twenty years, I'd argue that the quality of the GPU drivers has improved remarkably over the past few years. For general desktop compositing and engineering 3D work I find the open-source radeon drivers work fine now; far better than they ever have in the past. Not gaming-quality yet, but improving all the time. This Google Chrome decision sounds more like the typical BigCorp excuse to avoid Linux support than a valid diatribe against the current drivers to me.

    8. Re:Permenant Beta by serviscope_minor · · Score: 2

      Yeah but none of them work well in linux. Half crash, the other half are slow or glitchy. Let's face it, we're not going to get good 3D on linux until a) someone makes some decent drivers, and b) X dies.

      You're full of crap.

      For slow: the highest framerates in some games have been recorded on Linux.

      The only 3D software I use regularly is blender, slic3r and minecraft (and varius 2D video players---not sure why you included them). They work flawlessly and glitch free on Linux.

      This is not a surprise: it's an nvidia card which shares almost all of the hard bits of code between Windows and Linux.

      This is also not surprising since NVidia have been pushing their tesla/fermi/whateveritisnow accelerator card stuff hard. Linux is the primary platform for that since it's mostly server side.

      --
      SJW n. One who posts facts.
    9. Re:Permenant Beta by AmiMoJo · · Score: 2

      The worst part is the Android app. It used to be pretty much perfect. Now it is badly broken.

      I used it a lot in the car. There used to be zoom icons but now you can only pinch to zoom. Worse still when you pinch the map stops following your location and sticks to the centre of the pinch, meaning it is impossible to zoom while following yourself.

      They got rid of navigation without setting a destination too. Most apps let you just drive around and use the map for speed camera warnings or seeing traffic conditions, but that is gone in Google Maps now. Following your location doesn't work because of the zoom problem mentioned above, and because your position is in the centre of the map with it rotated in a random direction. It is supposed to use the phone's compass but doesn't seem to be very stable.

      I use Waze instead now, at least until Google kills it off.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  2. Google really cares about Linux by fsck-beta · · Score: 2

    ChromeOS, GPU acceleration always! Same hardware and drivers but not horribly tied to the Google Cloud? Nope.

  3. Mine is working just fine. by abednegoyulo · · Score: 5, Informative

    Using intel i3 graphics with default driver that comes with RHEL6/CentOS6. I startup chromium with --ignore-gpu-blacklist. It has been more than a year now and so far so good.

  4. Like the good ole days by geek · · Score: 2

    I remember these types of problems in the early days of Linux, only then it was audio drivers. Getting audio to work was a disaster. Video typically worked ok but that was before nVidia and AMD were the major players. Now the tides have turned and audio works like a dream and video is what sucks ass.

    I swear I've had more issues with video this last year than I did in the last 15 combined.

    1. Re:Like the good ole days by jedidiah · · Score: 3, Insightful

      No. Video does not "suck ass". Google is just a bunch of whining crybabies.

      Many of us have been happy as clams taking advantage of these features for years now on Linux. At least for Nvidia kit, it's pretty old news at this point.

      The Intel and AMD variants may not be up to snuff yet but progress is being made. Google could certainly "white list" Nvidia without trouble.

      As for the rest, they could allow it to be enabled for those that are really determined to take the risk. That might even help improve the quality of those other offerings.

      They can't be stressing things any harder than Valve.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    2. Re:Like the good ole days by operagost · · Score: 5, Informative

      3dfx and Matrox. Millennium + Voodoo, bitches!

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    3. Re:Like the good ole days by Talderas · · Score: 3, Funny

      In other news. Twitch Plays Pokemon beat the game in 18 days. Meanwhile Linux GPU driver support is still shit.

      --
      "Lack of speed can be overcome. In the worst case by patience." --Znork
    4. Re:Like the good ole days by LordLimecat · · Score: 2

      Next challenge: TwitchTV codes kernel drivers.

      Im expecting great things.

  5. Steam/GoG/HB by clubby · · Score: 2

    I must admit, I don't do gaming on my Linux rig, but ... aren't there major 3D games being published for Linux via Humble Bundles, Steam, GoG, and no doubt others as well? Is this a support nightmare for those companies? And if not, how is it that they can work with GPUs in Linux, but the living gods of code over at Google can't hack it? I'm at work and can't be bothered to look up compelling examples, but I'm pretty sure The Witcher 2 runs on Linux, and that's a pretty GPU-intensive title. When something like this doesn't add up, it usually means I'm missing something. Like maybe Witcher 2 requires a specific distro that uses proprietary drivers or something, but Google's talking about Linux in general? Can anyone clue me in?

    1. Re:Steam/GoG/HB by jedidiah · · Score: 2, Informative

      > Every linux distro has a different driver with a different level of support for the specific revision of the specific card a user has.

      You mean like anyone with a Windows box?

      Linux distributions are just collections of upstream projects. That includes the kernel, the user land, and anything else.

      Someone comparable to myself either has some version of the kernel or the Nvidia blob drivers. That's the official driver from the hardware vendor. I might have a different version than someone else, but that has nothing to do with whether I'm running Gentoo or Arch or Slackware.

      EVERY ONE can have a different version of the official driver.

      It's no different from Windows in this regard.

      Every PC is going to be a random collection of software components that some 3rd party has no control over. Every user is free to do things that will scramble the mix.

      --
      A Pirate and a Puritan look the same on a balance sheet.
  6. Re:What's the solution? by Freshly+Exhumed · · Score: 4, Insightful

    AFAIK the Mozilla folks have not had the same complaints about Linux graphics drivers, have they?

    The solution is to avoid using the Google Chrome browser, unless you like being spied on all the time by Google. Load up Firefox with a completely fascist set of add ons and do your best to browse safely.

    --
    I deny that I have not avoided attaining the opposite of that which I do not want.
  7. Bullshit! by martyn1807 · · Score: 5, Informative

    Simply enable it for NVIDIA users by default. It works the same across every distribution, and in fact, every OS. Google are just as cowardly as Adobe were.

    For those who want faster flash and faster Chrome, try this:

    * Go to chrome://flags

    * Override software rendering list -> Enable

    Welcome to a faster Flash and faster Chrome :)

    1. Re:Bullshit! by pouar · · Score: 2

      Agreed, I've been running Chrome with graphics acceleration enabled for a long time and I never ran into any issues.

      --
      while :;do if windows sucks;then mv windows /dev/null;pacman -Sy linux;fi;done
  8. If only... by fph+il+quozientatore · · Score: 4, Funny

    Oh, if only a large company like, say, Google would adopt the drivers and support their development...

    --
    My first program:

    Hell Segmentation fault

  9. Re:Still requires an "advanced" user skillset by clubby · · Score: 2

    The fact that you, twice, failed to capitalize it at all, forces me to wonder if you're applying your case-based experience divination method to yourself.

  10. I agree - the linux GPU support is broken by najay · · Score: 2

    In 2 words: THEY SUCK.

    I had to abort a windows to linux port because the intel linux graphics driver is BROKEN (Intel Atom N455). I spent weeks convincing a customer he was better off moving his code base to linux, and when I finally got the OK to build a prototype, the UI was unusable. I really wish the GPU manufacturers would provide enough documentation so the Open source ppl could come in and fix it.

  11. Linux drivers are fine by melting_clock · · Score: 5, Informative

    I've been using Linux as my primary OS for 10 years. My desktop PC does dual boot into windows for a few games but spends 95% of the time in Linux. I've done a bit of gaming and other graphics intensive applications under Linux without any problems. As a part time gaming machine, there is a mid range NVIDIA card hiding inside and I've always used the proprietary NVIDIA drivers which are as good as those on windows. There was a time when installing those drivers was a bit of a pain, due to other developers trying to to force their extremist political views on users, but it is a very simple process now.

    Some drivers might have problems but there is no reason they couldn't take the same approach as Firefox developers: provide a user controlled, easily accessible, option to enable hardware acceleration... Maybe that last point shows why I don't care what Google does with Chrome on Linux or any other platform... Firefox works for me on Linux, Windows and Android.

  12. I've permenantly disabled chrome. by Maltheus · · Score: 2

    Not having flash in chromium was one of the many straws. This doesn't help.

    I used to use a Chrome/Firefox combo to segregate my browsing/cookies. Just switched to multiple firefox profiles and added a "Close Tabs to the Right" plugin (to restore the one thing I missed about chrome). Much happier and I doubt I'll ever go back.

  13. Re:Still requires an "advanced" user skillset by maccodemonkey · · Score: 2

    God help you if you are dealing with EFI or UEFI.

    How would EFI or UEFI change anything?

    EFI or UEFI will change things at firmware boot time, but actual run time/OS usage should be the same.

  14. It's more like google can't write code.. by jerryjnormandin · · Score: 4, Interesting

    It's obvious that the google gui programmers just use windows or mac gui APIs and don't know how to code. Linux GPU code has been extremely stable. Maybe they can learn how to program from the folks at Steam ? LMAO The new Steam Appliance runs Linux. I use a GTX 560 in a MacPro 2,1 running linux on bare metal with NO ISSUES.

    1. Re:It's more like google can't write code.. by Coop · · Score: 2

      Why did Steam need their own distro?

      --
      "If you're not passionate about your operating system, you're married to the wrong one."
  15. Re:Still requires an "advanced" user skillset by IndigoDarkwolf · · Score: 2

    From my own research, difficulty appears to vary by card manufacturer, linux distro, and specific task. If you pick the right distro, support is decent. If you pick the wrong distro, you spend many hours wandering the internet safari. I can sympathize with Google's position.

    In the briefest terms, AMD/ATI = Hard Mode, or so it appears.

    Most recently, it took me a significant part of a weekend to setup a GPU-based Dogecoin miner on Debian, using ATI cards. The first and most painful lesson was learning that Debian Squeeze was a non-starter, which wasn't immediately obvious as several seemingly outdated guides exist, referring to experimental apt packages that no longer exist. Upgrading to Wheezy, I only managed to get a single card working, though a second identical card was plugged into the motherboard and known to be good. Lamenting my half-solved problem, a coworker directed me to a hardware hack (resistors stuck into a DVI/VGA converter) so that the second GPU would be fooled into thinking a monitor was present, so it would be recognized by the mining software. Apparently, this is a hardware hack needed to run Apple desktops in headless mode.

    Supposedly, these things are "easier" on NVidia-based setups, or at least have a larger community to assist, but there are still some gotchas. I wouldn't blame Google for feeling that things need to be improved before offering official support. With any luck at all, Steambox will push card manufacturers to create better drivers for at least one distro, even if it's only Steambox. The Count tells me that One is greater than Zero, Ah, Ah, Ah.

  16. Re:What have been my recent experiences? by clarkn0va · · Score: 4, Insightful

    linux drivers suck for all 3

    Don't tell Valve! You'll ruin there latest business model!

    Seriously, I've used GPUs from all three manufacturers and found every Intel and nvidia hardware/driver combination I've tried to work well in Linux, and every AMD combination to be the opposite. I wish it were not so, but it is, in my experience.

    --
    I am literally 3000 tokens away from the chaotic crossbow --Stephen
  17. Re:Still requires an "advanced" user skillset by Microlith · · Score: 2

    Doesn't it suck when you use products from companies that are borderline hostile to their customers on a given platform?

  18. Re:A reasonable precaution by jones_supa · · Score: 2

    given that CPU horsepower today is good enough, and tomorrow will be more so. Besudes how much video power do you need for your typical low-rez linux display.

    So you are fine with Linux requiring gobs of CPU horsepower and delivering low video performance? Then it is technologically worse option than Windows. Windows lets me squeeze more out of my hardware. Why would I use Linux anymore then?

    There was a time when I used Linux precisely because it was the faster option and gave me more power. There are still good reasons to use Linux. But this unoptimized bloated software is really starting to now appear everywhere on Linux world. Not good.

    Performance is a top thing I want from my computer.

  19. Re:If Google dId care about Linux..... by amiga3D · · Score: 3, Interesting

    I don't get this nVidia doesn't work on linux stuff. It's the only video card I've ever gotten to work, well not counting Intel which had until recently abysmal 3D performance. Two ATI cards returned because they just killed the machine but 9 years running Nvidia on linux. I think the problem with Nvidia on Unity is more because of Unity which is still pretty buggy.

  20. Re:I think your finger pointed the wrong way by najay · · Score: 2

    wow. what an incredibly impressive rant. I always love when my competence is brought into question by an anonymous coward.

    FYI, my linux port DOES work, just not on the specific platform that the client initially chose. I offered to explore this cost reducing move, which was progressing swimmingly until i hit this linux/intel/qml opengl incompatibility.The only downside was I spent some of MY time exploring the options, and we now need to stay running Windows Embedded for a little longer, until we can qualify a arm based board that will work.

  21. Re:What have been my recent experiences? by smash · · Score: 2
    Valve would tend to disagree. Working intel GPU driver > shitty unreliable GPU driver or software rendering for awesome hardware.

    The intel HD3000 onwards are not horrible, especially if you are comparing on performance per watt, which is the way the market is headed. The traditional desktop is dying - admittedly a long and protracted death.

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  22. Re:What's the solution? by tepples · · Score: 2

    Same with Chrome. Same with all browsers.

    Chrome's process per tab model keeps it from having quite as much memory go to what Wikipedia calls "external fragmentation" and Firefox's about:memory page calls simply waste. These are pages that can't be decommitted because they have at least something left in them. Mozilla is pushing Firefox toward process-per-tab, but the Electrolysis project isn't quite done yet.

    Also, you're doing it wrong. What website do you need to keep open for weeks on end that can not be bookmarked or session-saved?

    Pages to which I expect to be able to refer while my laptop is disconnected from the Internet, such as while riding the city bus or while inside an establishment that declines to provide free Wi-Fi to customers. Even with an Internet connection available, saving session and restoring it only saves the URL, not form contents, and not changes that script has made to the DOM. For example, if I were to save session and restart Firefox right now as I am typing this comment, I would lose this comment before it is posted.