lin*_*4me 11 firefox chromium nouveau 22.04
我刚刚在两台配备 Nvidia 显卡的机器上全新安装了 Ubuntu 22.04。
使用默认的 nouveau 视频驱动程序,Firefox 或 Chromium(两个 snap)都不会启动。
从终端启动时,Firefox 会出现以下错误:
ATTENTION: default value of option mesa_glthread overridden by environment.
(firefox:2324): Gdk-WARNING **: 13:50:57.016: The program 'firefox' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc'.
(Details: serial 509 error_code 11 request_code 146 (unknown) minor_code 7)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Exiting due to channel error.
Run Code Online (Sandbox Code Playgroud)
Chromium 显示以下内容:
[2804:2804:0421/135208.578463:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
[2804:2804:0421/135208.603047:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: No such file or directory (2)
... repeats
Run Code Online (Sandbox Code Playgroud)
如果我切换到 Nvidia 390 专有驱动程序,Firefox 和 Chromium 都可以正常工作。
我在使用 Live USB 的 Firefox 中遇到了同样的错误。
我会将这些报告为错误,但我不知道在哪里这样做;bugzilla.mozilla.org 或 Ubuntu 的某个地方?还有铬?
小智 2
我已经解决了这个问题,没有更改为 Xorg。
如果您可以在安全模式下启动 Firefox,那么禁用硬件加速可能对您有用,就像对我一样。
$firefox -safe-mode
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
22188 次 |
| 最近记录: |