英特尔视频问题

英特尔视频问题

我是 Ubuntu 新手,有 14.04,我尝试设置超过 800x600 的显示分辨率,但可能犯了一个错误。我预期三星 S27E390H 的分辨率为 1366x768 或 1920 x 1080,但现在分辨率为 1024x768,并且安装了错误的软件包。

1)

sudo apt-get install xserver-xorg-video-intel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 xserver-xorg-video-intel : Depends: xorg-video-abi-15
                            Depends: xserver-xorg-core (>= 2:1.14.99.902)
                            Depends: xserver-xorg-video-glamoregl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

2)

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768
default connected primary 1024x768+0+0 0mm x 0mm
   1024x768       61.0* 
   800x600        61.0  
   640x480        60.0  
  1366x768 (0x229)   85.2MHz
        h: width  1368 start 1440 end 1576 total 1784 skew    0 clock   47.8KHz
        v: height  768 start  771 end  781 total  798           clock   59.9Hz

3)

    lspci -vnn
    00:00.0 Host bridge [0600]: Intel Corporation Sky Lake Host Bridge/DRAM Registers [8086:190f] (rev 07)
        Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
        Flags: bus master, fast devsel, latency 0
        Capabilities: <access denied>

    00:02.0 VGA compatible controller [0300]: Intel Corporation Sky Lake Integrated Graphics [8086:1912] (rev 06) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at f6000000 (64-bit, non-prefetchable) [size=16M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at f000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: <access denied>
...............

有人能帮帮我吗,卸载错误的并安装正确的?)

4)

cvt 1920 1080 60
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

xrandr --newmode "1920x1080_60.00" 173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr: Failed to get size of gamma for output default

xrandr --addmode VGA-1 1920x1080_60.00
xrandr: Failed to get size of gamma for output default
xrandr: cannot find output "VGA-1"

答案1

xrandr如果无法通过 xorg 进行设置,则可以使用以下命令来设置所需的分辨率:

cvt 1920 1080 60
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync   #those numbers may vary depending on your screen
xrandr --addmode VGA-1 1920x1080_60.00
xrandr --output VGA-1 --mode 1920x1080_60.00

为了使更改持久,您可以将模型行添加到 xorg 文件,或者创建在系统启动时运行的 bash 脚本。

#!/bin/bash
cvt 1920 1080 60
xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr --addmode VGA-0 1920x1080_60.00
xrandr --output VGA-0 --mode 1920x1080_60.00

希望这可以帮助

对于未满足的依赖项,您可以尝试先卸载驱动程序,然后安装依赖项,然后再安装驱动程序。

答案2

我在 Acer Aspire 5630 笔记本电脑上试用 Ubuntu 16.04LTS 时也遇到了类似的问题,这台笔记本电脑配备了英特尔移动集成显卡 940GM/GMS 943/940GML。我只能达到 1024x768 的分辨率,而 xrandr 无法检测伽玛或任何更高的分辨率。在尝试了网上的许多建议后,我只需安装 xserver-xorg-video-intel 软件包,然后就可以使用原生 1280x800 分辨率。它还解决了启动问题,因为以前我只能使用恢复模式启动并恢复启动,有时必须恢复启动两次。

相关内容