问题
我更新了英特尔驱动程序。
uname -a
Linux xxx 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
lshw -c video
*-display UNCLAIMED
description: VGA compatible controller
product: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list
configuration: latency=0
resources: memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(size=64)
输出:/usr/lib/nux/unity_support_test -p
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)
OpenGL version string: 2.1 Mesa 10.1.3
Not software rendered: no
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: yes
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: yes
GL framebuffer object: yes
GL version is 1.4+: yes
Unity 3D supported: no
Xorg.0.log的相关部分:
[ 10.871] Loading extension GLX
[ 10.871] (==) Matched intel as autoconfigured driver 0
[ 10.871] (==) Matched modesetting as autoconfigured driver 1
[ 10.871] (==) Matched fbdev as autoconfigured driver 2
[ 10.871] (==) Matched vesa as autoconfigured driver 3
[ 10.871] (==) Assigned the driver to the xf86ConfigLayout
[ 10.871] (II) LoadModule:"intel"
[ 10.871] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 10.873] (II) Module intel: vendor="X.Org Foundation"
[ 10.873] compiled for 1.15.0, module version = 2.99.910
[ 10.873] Module class: X.Org Video Driver
[ 10.873] ABI class: X.Org Video Driver, version 15.0
[ 10.873] (II) LoadModule:"modesetting"
[ 10.873] (WW) Warning, couldn't open module modesetting
[ 10.873] (II) UnloadModule:"modesetting"
[ 10.873] (II) Unloading modesetting
[ 10.873] (EE) Failed to load module"modesetting" (module does not exist, 0)
[ 10.873] (II) LoadModule:"fbdev"
[ 10.873] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 10.873] (II) Module fbdev: vendor="X.Org Foundation"
[ 10.873] compiled for 1.15.0, module version = 0.4.4
[ 10.873] Module class: X.Org Video Driver
[ 10.873] ABI class: X.Org Video Driver, version 15.0
[ 10.873] (II) LoadModule:"vesa"
[ 10.873] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 10.873] (II) Module vesa: vendor="X.Org Foundation"
[ 10.873] compiled for 1.15.0, module version = 2.3.3
[ 10.873] Module class: X.Org Video Driver
[ 10.873] ABI class: X.Org Video Driver, version 15.0
[ 10.873] (==) Matched intel as autoconfigured driver 0
[ 10.873] (==) Matched modesetting as autoconfigured driver 1
[ 10.873] (==) Matched fbdev as autoconfigured driver 2
[ 10.873] (==) Matched vesa as autoconfigured driver 3
[ 10.873] (==) Assigned the driver to the xf86ConfigLayout
[ 10.873] (II) LoadModule:"intel"
[ 10.874] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 10.874] (II) Module intel: vendor="X.Org Foundation"
[ 10.874] compiled for 1.15.0, module version = 2.99.910
[ 10.874] Module class: X.Org Video Driver
[ 10.874] ABI class: X.Org Video Driver, version 15.0
[ 10.874] (II) UnloadModule:"intel"
[ 10.874] (II) Unloading intel
[ 10.874] (II) Failed to load module"intel" (already loaded, 32548)
[ 10.874] (II) LoadModule:"modesetting"
[ 10.874] (WW) Warning, couldn't open module modesetting
[ 10.874] (II) UnloadModule:"modesetting"
[ 10.874] (II) Unloading modesetting
[ 10.874] (EE) Failed to load module"modesetting" (module does not exist, 0)
[ 10.874] (II) LoadModule:"fbdev"
[ 10.874] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 10.874] (II) Module fbdev: vendor="X.Org Foundation"
[ 10.874] compiled for 1.15.0, module version = 0.4.4
[ 10.874] Module class: X.Org Video Driver
[ 10.874] ABI class: X.Org Video Driver, version 15.0
[ 10.874] (II) UnloadModule:"fbdev"
[ 10.874] (II) Unloading fbdev
[ 10.874] (II) Failed to load module"fbdev" (already loaded, 0)
[ 10.874] (II) LoadModule:"vesa"
[ 10.874] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 10.874] (II) Module vesa: vendor="X.Org Foundation"
[ 10.874] compiled for 1.15.0, module version = 2.3.3
[ 10.874] Module class: X.Org Video Driver
[ 10.874] ABI class: X.Org Video Driver, version 15.0
[ 10.874] (II) UnloadModule:"vesa"
[ 10.874] (II) Unloading vesa
[ 10.874] (II) Failed to load module"vesa" (already loaded, 0)
[ 10.874] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 10.875] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
[ 10.875] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
[ 10.875] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
[ 10.875] (II) FBDEV: driver for framebuffer: fbdev
[ 10.875] (II) VESA: driver for VESA chipsets: vesa
[ 10.875] (++) using VT number 7
[ 10.881] (II) Loading sub module"fbdevhw"
[ 10.881] (II) LoadModule:"fbdevhw"
[ 10.881] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 10.881] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 10.881] compiled for 1.15.1, module version = 0.0.2
[ 10.881] ABI class: X.Org Video Driver, version 15.0
[ 10.881] (**) FBDEV(0): claimed PCI slot 0@0:2:0
[ 10.881] (II) FBDEV(0): using default device
[ 10.881] (WW) Falling back to old probe method for vesa
[ 10.881] (II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 10.881] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[ 10.881] (==) FBDEV(0): RGB weight 888
[ 10.881] (==) FBDEV(0): Default visual is TrueColor
[ 10.881] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 10.881] (II) FBDEV(0): hardware: VESA VGA (video memory: 9024kB)
[ 10.881] (II) FBDEV(0): checking modes against framebuffer device...
[ 10.881] (II) FBDEV(0): checking modes against monitor...
[ 10.881] (--) FBDEV(0): Virtual size is 1920x1200 (pitch 1920)
[ 10.881] (**) FBDEV(0): Built-in mode"current": 230.4 MHz, 94.7 kHz, 77.4 Hz
[ 10.881] (II) FBDEV(0): Modeline"current"x0.0 230.41 1920 1952 2192 2432 1200 1204 1208 1224 -hsync -vsync -csync (94.7 kHz b)
[ 10.881] (==) FBDEV(0): DPI set to (96, 96)
[ 10.881] (II) Loading sub module"fb"
[ 10.881] (II) LoadModule:"fb"
[ 10.881] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 10.881] (II) Module fb: vendor="X.Org Foundation"
[ 10.881] compiled for 1.15.1, module version = 1.0.0
[ 10.881] ABI class: X.Org ANSI C Emulation, version 0.4
[ 10.881] (**) FBDEV(0): using shadow framebuffer
[ 10.881] (II) Loading sub module"shadow"
[ 10.881] (II) LoadModule:"shadow"
[ 10.881] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 10.881] (II) Module shadow: vendor="X.Org Foundation"
[ 10.881] compiled for 1.15.1, module version = 1.1.0
[ 10.881] ABI class: X.Org ANSI C Emulation, version 0.4
[ 10.881] (II) UnloadModule:"vesa"
[ 10.881] (II) Unloading vesa
[ 10.881] (==) Depth 24 pixmap format is 32 bpp
[ 10.881] (EE) FBDEV(0): FBIOBLANK: Invalid argument
[ 10.881] (==) FBDEV(0): Backing store enabled
[ 10.882] (==) FBDEV(0): DPMS enabled
[ 10.882] (==) RandR enabled
[ 10.884] (II) SELinux: Disabled on system
[ 10.885] (II) AIGLX: Screen 0 is not DRI2 capable
[ 10.885] (EE) AIGLX: reverting to software rendering
[ 10.903] (II) AIGLX: Loaded and initialized swrast
[ 10.903] (II) GLX: Initialized DRISWRAST GL provider for screen 0
监视器被检测为"built in display",无法更改分辨率,
xrandr --verbose的输出:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1200, current 1920 x 1200, maximum 1920 x 1200
default connected primary 1920x1200+0+0 (0x17f) normal (normal) 0mm x 0mm
Identifier: 0x17e
Timestamp: 173701
Subpixel: unknown
Clones:
CRTC: 0
CRTCs: 0
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
1920x1200 (0x17f) 177.4MHz *current
h: width 1920 start 0 end 0 total 1920 skew 0 clock 92.4KHz
v: height 1200 start 0 end 0 total 1200 clock 77.0Hz
答案1
你可以尝试安装intel-linux-graphics-installer,
sudo apt-get update && sudo apt-get install gdebi
现在从01.org下载安装程序
wget https://download.01.org/gfx/ubuntu/14.04/main/pool/main/i/intel-linux-graphics-installer/intel-linux-graphics-installer_1.0.6-0intel1_amd64.deb
使用gdebi使deb可执行,并安装:
sudo chmod +x intel-linux-graphics-installer_1.0.6-0intel1_amd64.deb
sudo gdebi intel-linux-graphics-installer_1.0.6-0intel1_amd64.deb
现在,要运行安装程序,只需使用以下命令:
intel-linux-graphics-installer
重新启动以便让更改生效。
更多关于英特尔开源技术的信息可以在这里找到
https://01.org/linuxgraphics/downloads/2014/intelr-graphics-installer-1.0.6-linux
答案2
您可以使用VDPAU_DRIVERS = va_gl命令启用VDPAU和VAAPI。这里有一个链接http://www.webupd8.org/2013/09/adobe-flash-player-hardware.html
sudo apt-get install i965-va-driver
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install i965-va-driver libvdpau-va-gl1
默认情况下,Adobe Flash不允许加速,因此你必须创建如下所示的配置文件:
sudo mkdir -p /etc/adobe
echo"EnableLinuxHWVideoDecode=1" | sudo tee /etc/adobe/mms.cfg
echo"OverrideGPUValidation=1" | sudo tee -a /etc/adobe/mms.cfg
要使用VDPAU运行单个应用程序,请遵循以下示例。
VDPAU_DRIVER=va_gl firefox
我还用Gimp和VLC和mplayer测试过这个。
另外,因为/usr/bin/firefox是一个simlink,你可以安全地删除这个文件,如下所示:
sudo rm /usr/bin/firefox
并用bash脚本替换文件,以便在你自动打开VDPAU时使用Firefox,就像这样(将整个命令复制,并粘贴到一个打开的终端中)
echo '#!/bin/bash
VDPAU_DRIVER=va_gl /usr/lib/firefox/firefox.sh' | sudo tee /usr/bin/firefox
最后,使它可执行:
sudo chmod +x /usr/bin/firefox
要获取对Chrome或Chromium的支持,请键入:
chrome://flags