Google Chrome hardware acceleration. How to Set Up Google Chrome Hardware Acceleration on Ubuntu


Hardware acceleration in the browser is a special feature that allows pages to load more smoothly and quickly. Some people like hardware acceleration, other users believe that it leads to a significant number of bugs, due to which video or applications do not work in browsers, as well as problems with the operation of video cards. Below, in more detail, how to disable or enable this feature.

How to enable or disable hardware acceleration in the browser?

Regardless of the browser, you need to use the following algorithm of actions:

    Go to your browser settings. In some, the option to use hardware acceleration is immediately visible; you just need to check or uncheck the box and then save the changes.

    If you cannot immediately find such an item, open the next section of additional settings.

    Find the hardware acceleration item and disable or enable it, depending on what you need.

The screenshot above shows the hardware acceleration item from the latest version of the Google Chrome browser. To easily search through settings, press the CtrlF key combination. In the window that appears, enter the word “acceleration”.

Important! For the changed settings to take effect, you must restart the browser.

Disabling acceleration in Flash Player

To disable Flash Player hardware acceleration, simply follow these recommendations:

    Right-click on any page that is open in the browser and has objects that can be played using Flash Player.

    Select the “Options” section.

    A small window will open, on the first tab of which you need to check or uncheck the box. There is no need to save settings changes in this software.

In this screenshot, you can see what enabling and disabling Flash Player should look like:

All browsers that use the Chromium system have hardware acceleration enabled by default, as well as Flash support (if the necessary drivers are installed on the computer). But not all users need this, and for some, due to active hardware acceleration, Google Chrome or Yandex Browser, which is also made on Chromium, may slow down. In this article, we will look at how to disable hardware acceleration and Flash.

Please note: Disabling hardware acceleration and Flash may help resolve problems with loading HTML5 content on website pages.

Table of contents:

How to disable hardware acceleration in Google Chrome

The user can disable hardware acceleration in Google Chrome through the browser settings. At the same time, you can perform similar actions either entirely for all content that is played through the browser, or separately for videos. Let's consider both options.

To completely disable hardware acceleration in Google Chrome, follow these steps:

After disabling hardware acceleration, you must close and open your browser for the changes to take effect.

If you want to disable hardware acceleration only for video, for example, when you have problems playing it in the Google Chrome browser, you can do this as follows:


After disabling this setting, you will need to restart your browser for the changes to take effect.

How to disable hardware acceleration in Yandex Browser

Yandex Browser is a popular Chromium browser in Russia. It also allows you to perform manipulations to disable hardware acceleration, both for all playable content and separately for video.

To completely disable hardware acceleration in Yandex Browser, you will need:

To disable hardware acceleration for video only, follow these steps:


Once the required settings have been changed, restart your browser for the changes to take effect.

How to disable Flash hardware acceleration

Another point that needs to be considered in this article is disabling Flash hardware acceleration. As you know, Flash runs in the Google Chrome and Yandex Browser browsers using a third-party plugin. Accordingly, the settings need to be made in the plugin, and not in the browser itself, so the instructions for them are the same. To disable Flash plugin acceleration you will need:


Reload the page for the changes to take effect. From now on, all Flash elements will be played in the browser without hardware acceleration.

How to set up Google Chrome hardware acceleration on Ubuntu.

I took note of the method for setting up hardware acceleration (GPU) in Google Chrome. It's no secret that in most applications in Ubuntu, hardware acceleration must be enabled directly in the application itself. These functions are disabled by default in applications, apparently due to the fact that hardware acceleration may not be configured in the system itself and this can lead to a crash of the application itself. I described how to configure DRI (Direct Rendering Infrastructure) in the Ubuntu operating system for the intel driver in the note " ". For other video cards, driver settings are slightly different. For Nvidia and Amd video cards, you need to download and install proprietary drivers. Methods for setting them up are comprehensively described in the articles. Search the Internet. Based on the fact that I already have DRI configured, I decided to check whether acceleration is enabled in Google Chrome?

To do this, I typed “chrome://gpu” in the browser address bar and saw the following picture.

Almost all functions are configured as software only, hardware acceleration unavailable. And it sucks. To correct this situation, open a new tab and type “chrome://flags” in the address bar.

And we enable the experimental functions “Overriding the software rendering list” and “support for experimental canvas functions”. You can enable the Number of Bitmap Streams feature. This will increase the speed of image rendering and the value of the "Multiple Raster Threads" parameter will be "Force enabled". I set the maximum number of threads to 4. Next, you need to click the “restart” button. After Chrome reboots, check again by going to the “chrome://gpu” tab.

As you can see, the picture is completely different and more joyful. In order to enable Multiple Raster Threads, you need to find the section “Number of raster image threads Mac, Windows, Linux, Chrome OS, Android” (tag #num-raster-threads) and specify the number of raster image threads. I set the number of threads to four.

And, of course, don’t forget to enable hardware acceleration in the settings.

You can also enable the nice new design from Google - "Material Design".

I read Alex's comment about the absence of the Native GpuMemoryBuffers and Rasterization flags. These flags are enabled simply:

In order to enable Rasterization, you need to type chrome://flags in the address bar, search (ctrl+f) to find #enable-gpu-rasterization and enable it.

Native GpuMemoryBuffers is a little more complicated to enable. The point is that chrome needs to be launched with the --enable-native-gpu-memory-buffers flag. I did it like this in KDE: I launched kmenuedit (press alt+F2, write kmenuedit in the line), found the chrome shortcut there and added the necessary flag --enable-native- to the launch command /usr/bin/google-chrome-stable %U gpu-memory-buffers. Launch shortcuts in other places are edited in approximately the same way.

As a result, we get the following picture (I disabled Rasterization - it loads the processor):

As a result of these actions, chrome began to work more lively.

I wish you good luck and success.

Comments

Alex 06.26.2016 14:32

Quoting Darkeye:

What is this note about? Is it about comparing the performance of different browsers? Probably about the Google Chrome browser settings. Not Firefox, not Opera, but Chrome. Anyone who needs to set up the Opera browser will find the corresponding article on the Internet. And naturally, I wrote that compared to previous settings, the browser began to work much more lively. To be fair, I note that the latest, 50th Chrome, on my video drivers had problems with rendering youtube videos in full screen. It just hung there. At the same time, Firefox showed without problems. But I found out that this is due to the fact that I set the kde settings to render openGl 3 windows. When the mode is removed, everything is fine. I have a bunch of Google services connected to Chrome. Analytical, webmaster, payment, etc. And I believe that it is better and safer to work with these Google services from a browser released by this company. So why should I use third party browsers? Yes, I use them too. But for testing HTML and javascript. The note is essentially about chrome settings. And there are wonderful articles on benchmarks on hacker.ru. And I do not welcome discussions in the linux.org.ru style. I think this is not a good practice. For example, I need to quickly find information and solve my question. You can quickly skim through a dozen articles, find the solution that best suits you and solve your problem. Having entered the above forum, the user wastes time reading meaningless general discussions of the problem without specific proposals for its solution, smoothly turning into a discussion of other problems. In essence, the user is simply burning his time. Plus, all these discussions are open to indexing by search engines. My comments are closed from search engine robots and these comments are not available on the Internet. By the way, take any dynamic online game, for example "Star Ghosts" and run it in Chrome, Firefox and Opera. In the latest browsers it just freezes. And it would be nice to test it in real toys and not in biased tests.

Hello, except for me
Native GpuMemoryBuffers and Rasterization are fine
Here is a screenshot http://i.imgur.com/4n8vg9e.png

With the release of each update, any program, and browsers too, are equipped with new features or improvements to existing functionality. However, the new is not always better than the old; some innovations cause more inconvenience than advantages. Therefore, today we will talk about how to disable hardware acceleration in Google Chrome, we will also consider the features of this feature, its negative impact on performance, and an effective method for solving the problem.

Initially, developers introduced hardware acceleration to increase the stability of the browser due to greater load on the video card. She was given a little more tasks to process, and the memory of the component was “used” more.

In general, such exploitation led to a slowdown in the operation of the entire operating system and the response speed from Google. This is a common occurrence on weak computers. Therefore, the best solution in such a situation would be to disable unnecessary functionality.

Instructions

To disable hardware acceleration in Google Chrome, there are exactly two methods that we must consider. Both do not require serious PC knowledge or time investment.

For ease of understanding, we will divide the further narration into several logical blocks.

Through system settings

This is a simpler method and will suit most users. To make your plans come true, it is enough to:

The system will automatically make changes, and to apply them it is important to restart the browser.

The second method will be a little more difficult.

Hidden settings

The methodology involves accessing the secret settings of Google Chrome. To solve the problem with low performance you need.







2024 gtavrl.ru.