如何修复英特尔 GPU 损坏的 i915 驱动程序?

Ale*_*vic 18 i915 graphics screen drivers

我在让 i915 驱动程序在我的笔记本电脑(HP Pavilion DM4 2101ea)上正常工作时遇到了麻烦。

具体来说,当从 USB 密钥和硬盘驱动器启动时,笔记本电脑屏幕变黑并在启动图形后保持黑色。

要在启动画面后将任何内容显示在显示屏上,我必须使用

  • acpi=off
  • nomodeset
  • i915.modeset=0

我宁愿不关闭 ACPI,因为我喜欢我的风扇旋转并且nomodeset有点矫枉过正,所以现在我使用i915.modeset=0.

不幸的是,这会关闭 KMS,并且我当前在笔记本电脑屏幕上的最大分辨率固定为 1024x768,而不是它的实际能力。

当不设置上述任何启动标志并且我插入外接显示器时,外接显示器工作正常。使用标志启动时,外接显示器也可以正常工作,但只能执行 1024x768 分辨率,除了镜像笔记本电脑显示屏之外,什么也做不了。

我确实将 i915 驱动程序从 Precise 附带的 2.17 升级到了最新的 2.19,但没有显示任何内容。

这是我的lspci输出:

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5116 PCI Express Card Reader (rev 01)
08:00.0 Ethernet controller: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet (rev c0)
Run Code Online (Sandbox Code Playgroud)

这是 lshw -C video

  *-display UNCLAIMED     
       description: VGA compatible controller
       product: 2nd Generation Core Processor Family Integrated Graphics Controller
       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
       configuration: latency=0
       resources: memory:c0000000-c03fffff memory:b0000000-bfffffff ioport:4000(size=64)
Run Code Online (Sandbox Code Playgroud)

两个输出都是在使用i915.modeset=0.

这是Xorg.log从启动到黑屏的完整文件:https : //gist.github.com/479ce06454e47d6123e1

显卡是 Intel HD 3000 集成 GPU。

我以前从未在 Ubuntu 上遇到过英特尔硬件的问题,所以这非常令人惊讶。

如果你可以

  • 提供一种使 i915 工作的方法,
  • 建议替代驱动程序
  • 一种以i915.modeset=0更高的分辨率和 KMS 启动的方法
  • 或解释发生了什么以及如何解决它

我会给你一个答案徽章。:)

谢谢

小智 3

对我来说,这是背光问题。请参阅文章以了解故障排除和报告说明。

https://wiki.ubuntu.com/Kernel/Debugging/Backlight