Live data from Hacker News

Chromium blacklists Nouveau

lists.freedesktop.org

91–100 of 411 posts

Re: Chromium blacklists Nouveau

#91
post #36

Earlier quoted context omitted.

> It's not the browser's place to have any code whatsoever which even so much as glances at the graphics vendor to make meaningful decisions. I'm curious why you hold this position. I think it makes sense for the browser to attempt to deliver the best experience it can to users, and they may believe they get better performance and behavior from unaccelerated rendering. It's no different from websites looking at user-…

Note: I edited my comment to simply be a copy of the email I sent to the devs. You quoted the original text. >I think it makes sense for the browser to attempt to deliver the best experience it can to users, and they may believe they get better performance and behavior from unaccelerated rendering. So should they also blacklist Windows because it's spying on its users? No, of course not. They should do their best to…

Personally I believe a non-crashing browser is a good user experience.

Re: Chromium blacklists Nouveau

#92
post #81

#year-of-the-linux-desktop On a more serious note what is the motivation for Nouveau? The drivers provided by Nvidia are not good enough or we just need an opensource alternative?

Afaik 10 years ago nvidia drivers were most stable and performant on linux. But yes they are proprietary and implemented in userspace for Xorg. Today Linux graphics stack architecture have been significantly revamped and it requires more kernel code than before for DRM/DRI API and Wayland. nVidia just can't fit into this architecture with its proprietary/nda model without violating GPL for kernel modules.

So it sounds like that the kernel team implemented the APIs in a way that prevent nVidia from integrating with them without opensourcing the driver? Were those changes made as a political statement?

Re: Chromium blacklists Nouveau

#93
post #86
post #36

Earlier quoted context omitted.

> It's not the browser's place to have any code whatsoever which even so much as glances at the graphics vendor to make meaningful decisions. I'm curious why you hold this position. I think it makes sense for the browser to attempt to deliver the best experience it can to users, and they may believe they get better performance and behavior from unaccelerated rendering. It's no different from websites looking at user-…

> I think it makes sense for the browser to attempt to deliver the best experience it can to users Are you talking about chrome, the least user friendly of all browsers? This is just corporate talk for “we don’t care about making our software work with nouveau”.

[deleted]

Re: Chromium blacklists Nouveau

#94
post #9

For anyone interested, the link really should be the full bug report: https://bugs.chromium.org/p/chromium/issues/detail?id=876523 The current link says it as if Chrome was not being fair, but reading their reasoning it makes total sense. Key quote from said bug report: > We thought about blacklisting nouveau driver long time ago, and decided to let more adventurous users to play around. Now that Ubuntu ships with no…

>> Unfortunately we don't have the resources to test every variation of every GPU/driver combination on linux So Google doesn't have the resources to test the default driver on the most widespread linux distribution for one of the two most widespread GPU producers in the market.

> most widespread linux distribution for one of the two most widespread GPU producers in the market

That's still less than a percent of the market I think. Maybe shave off another order of magnitude. So the economic argument is not the one to make. However, it sucks nonetheless.

Re: Chromium blacklists Nouveau

#95
post #56

Earlier quoted context omitted.

> If you do anything about this problem, you should be using your influence to pressure Nvidia into being a better citizen on Linux. By making Chrome significantly slower on nvidia systems they effectively are pressurizing nvida to act better. Trying to work around the problems would be more like supporting the status quo instead of driving change.

That would be true only if they weren't rewarding the proprietary driver. If their goal was to pressure Nvidia into being a better player in FOSS they'd disable GPU accelleration on the proprietary driver.

They're "rewarding" the driver that works.

Re: Chromium blacklists Nouveau

#96
> One idea is to flip GL_VENDOR to some random string if chromium is running.

What? Don't do this - never do this. Regardless of whether or not you agree with Chromium's decision, it is their decision to make as the project maintainers; trying to trick the software with falsified data is overstepping your bounds, and both corrodes trust in your driver and leads to whitelists.

I thought we had moved past the days of fake user-agents.

Re: Chromium blacklists Nouveau

#97
post #90
post #70

Earlier quoted context omitted.

We have Thinkpad Linux laptops running with NVidia at work. The proprietary driver has quality issues, the biggest of which for us is power management and poor battery life. Nouveau performs much better in this regard, even though they had to reverse engineer the hardware (!) I will be advising my IT department not to continue to buy NVidia.

On all my laptops, nouveau never outperformed the proprietary driver in battery life. It didn't even support power management on most GPUs - when did that change?

We have the T480 running Ubuntu 18.04 LTS. Perhaps it is an issue related to our configuration. Not impressed though.

Re: Chromium blacklists Nouveau

#98
Isn't this the key quote:

> I did run the WebGL CTS suite, but that resulted in some

> hangs from the the max-texture-size-equivalent test, and some

> browser-level weirdness after some tests where later tests all fail

> (due to what I have to assume is a browser bug).

Isn't it more likely that they are noveau bugs, and are part of the problem here?

Re: Chromium blacklists Nouveau

#99
post #86
post #36

Earlier quoted context omitted.

> It's not the browser's place to have any code whatsoever which even so much as glances at the graphics vendor to make meaningful decisions. I'm curious why you hold this position. I think it makes sense for the browser to attempt to deliver the best experience it can to users, and they may believe they get better performance and behavior from unaccelerated rendering. It's no different from websites looking at user-…

> I think it makes sense for the browser to attempt to deliver the best experience it can to users Are you talking about chrome, the least user friendly of all browsers? This is just corporate talk for “we don’t care about making our software work with nouveau”.

I think Chrome is empirically quite user friendly - it's not installed by default anywhere and people choose to use it. It is true that Chrome isn't particularly power-user friendly for certain use cases, but that's different.

Also, if you look at the bug report, it's quite clear they spent a lot of time trying to make nouveau work.

Re: Chromium blacklists Nouveau

#100
post #36

Earlier quoted context omitted.

> It's not the browser's place to have any code whatsoever which even so much as glances at the graphics vendor to make meaningful decisions. I'm curious why you hold this position. I think it makes sense for the browser to attempt to deliver the best experience it can to users, and they may believe they get better performance and behavior from unaccelerated rendering. It's no different from websites looking at user-…

> It's no different from websites looking at user-agent strings to work around known bugs, right? No. Its more like blocking the access to your website to some browsers. At best they should give a warning that youre using an unsupported browser/driver so beware if unexpected issues.

It's nothing like blocking access to the website. It just falls back to unaccelerated rendering. It makes it more likely to work.
Post reply on HN