安装了视频驱动程序,但 WebGL 或 OpenGL 加速不起作用,

安装了视频驱动程序,但 WebGL 或 OpenGL 加速不起作用,

我有一台安装了 14.04 版本的 Dell XPS 13 开发版(我第一次在服务器之外认真使用 Linux)和 OEM 视频驱动程序,但是任何需要 3D 加速的东西都无法运行。

lspci | grep VGA给我:

00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)

lshw -c video输出

  *-display               
   description: VGA compatible controller
   product: Broadwell-U Integrated Graphics
   vendor: Intel Corporation
   physical id: 2
   bus info: pci@0000:00:02.0
   version: 09
   width: 64 bits
   clock: 33MHz
   capabilities: msi pm vga_controller bus_master cap_list rom
   configuration: driver=i915 latency=0
   resources: irq:63 memory:f6000000-f6ffffff memory:e0000000-efffffff ioport:f000(size=64)

modinfo i915给了我这个

filename: /lib/modules/3.13.0-51-generic/kernel/drivers/gpu/drm/i915/i915.ko license: GPL and additional rights description: Intel Graphics author: Tungsten Graphics, Inc. license: GPL and additional rights srcversion: EAE574025ED8FCDDFFC9401 ... deleted for brevity ... depends: drm_kms_helper,drm,video,i2c-algo-bit intree: Y vermagic: 3.13.0-51-generic SMP mod_unload modversions

我在 Chrome 中启用了 WebGL,发布于另一个问题我得到了一个误报,认为一切都在正常chrome://gpu

Graphics Feature Status Canvas: Hardware accelerated Flash: Hardware accelerated Flash Stage3D: Hardware accelerated Flash Stage3D Baseline profile: Hardware accelerated Compositing: Hardware accelerated Multiple Raster Threads: Enabled Rasterization: Hardware accelerated Threaded Rasterization: Enabled Video Decode: Hardware accelerated Video Encode: Hardware accelerated WebGL: Hardware accelerated

对于 ubuntu 新手来说,任何指导都将非常感激。

答案1

我遇到了同样的问题。升级英特尔显卡驱动程序解决了此问题(以及其他问题):

sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt-get update
sudo apt-get upgrade

然后重新启动。

你可以阅读我的博客上有详细的解释

问候,

相关内容