图形驱动程序问题显示冻结、撕裂和抖动 Ubuntu 19.04

图形驱动程序问题显示冻结、撕裂和抖动 Ubuntu 19.04

我最近购买了一台配备英特尔和 AMD 显卡的新 PC ThinkPad E580。

我在我的电脑上安装了 Ubuntu 19.04 作为 Windows 10 的双系统。Windows 10 运行良好,但我在 Ubuntu 的显示方面遇到了很大的问题。

第一次安装 Ubuntu 时(即使在实时 USB 上使用“试用 Ubuntu”),显示屏会出现冻结、撕裂和抖动。

$ sudo lshw -c video

*-display                 
   description: VGA compatible controller
   product: UHD Graphics 620
   vendor: Intel Corporation
   physical id: 2
   bus info: pci@0000:00:02.0
   version: 07
   width: 64 bits
   clock: 33MHz
   capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
   configuration: driver=i915 latency=0
   resources: irq:148 memory:f0000000-f0ffffff memory:e0000000-efffffff ioport:e000(size=64) memory:c0000-dffff  

*-display UNCLAIMED
   description: Display controller
   product: Lexa PRO [Radeon RX 550/550X]
   vendor: Advanced Micro Devices, Inc. [AMD/ATI]
   physical id: 0
   bus info: pci@0000:02:00.0
   version: c0
   width: 64 bits
   clock: 33MHz
   capabilities: pm pciexpress msi bus_master cap_list
   configuration: latency=0
   resources: memory:c0000000-cfffffff memory:d0000000-d01fffff ioport:d000(size=256) memory:f1400000-f143ffff memory:f1440000-f145ffff
$ inxi -Fxz
System:
    Host: fanwu Kernel: 5.0.0-36-generic x86_64 bits: 64 compiler: gcc 
v: 8.3.0 Desktop: Gnome 3.32.2 Distro: Ubuntu 19.04 (Disco Dingo) 

Machine:
    Type: Laptop System: LENOVO product: 20KS002BCD v: ThinkPad E580 
    serial: <filter> 
    Mobo: LENOVO model: 20KS002BCD v: SDK0L77769 WIN serial: <filter> 
    UEFI: LENOVO v: R0PET47W (1.24 ) date: 08/29/2018 
CPU:
  Topology: Quad Core model: Intel Core i5-8250U bits: 64 type: MT MCP 
  arch: Kaby Lake rev: A L2 cache: 6144 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28800
  Speed: 800 MHz min/max: 400/3400 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 800 6: 802 7: 800 8: 800 

Graphics:
   Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel
   bus ID: 00:02.0 
   Device-2: AMD Lexa PRO [Radeon RX 550/550X] vendor: Lenovo driver: N/A
   bus ID: 02:00.0 
   Display: x11 server: X.Org 1.20.4 driver: fbdev unloaded:
   modesetting,vesa 
   resolution: 1920x1080~60Hz 
   OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) 
   v: 4.6 Mesa 20.0.0-devel (git-bcfc9c0 2019-11-20 disco-oibaf-ppa) 
   direct render: Yes 
 Audio:
   Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo 
   driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
   Sound Server: ALSA v: k5.0.0-36-generic 
Drives:
   Local Storage: total: 1.03 TiB used: 10.06 GiB (1.0%) 
   ID-1: /dev/nvme0n1 vendor: Toshiba model: KBG30ZMT128G size: 119.24 GiB 
   ID-2: /dev/sda vendor: Western Digital model: WD10SPZX-08Z10 
   size: 931.51 GiB temp: 29 C 
   ID-3: /dev/sdb type: USB vendor: Generic model: Flash Disk size: 7.48 GiB
   Partition:
    ID-1: / size: 527.19 GiB used: 8.47 GiB (1.6%) fs: ext4 dev: /dev/sda4
  Sensors:
     System Temperatures: cpu: 47.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 17408 
  Info:
    Processes: 252 Uptime: 21m Memory: 7.69 GiB used: 843.2 MiB (10.7%)
    Init: systemd runlevel: 5 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.3
    inxi: 3.0.33 

$ uname -sr
Linux 5.0.0-36-generic
$ xrandr --listproviders
Providers: number : 1
    Provider 0: id: 0x46 cap: 0x9, Source Output, Sink Offload crtcs: 3
    outputs: 4 associated providers: 0 name:modesetting
$ lspci -nnk | grep -i vga -A3
     00:02.0 VGA compatible controller [0300]: Intel Corporation UHD
     Graphics 620 [8086:5917] (rev 07)
     Subsystem: Lenovo UHD Graphics 620 [17aa:5069]
     Kernel driver in use: i915
     Kernel modules: i915
$ glxinfo | grep render
 direct rendering: Yes
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) 
GL_ARB_compute_shader, GL_ARB_conditional_render_inverted, 
GL_NV_conditional_render, GL_NV_depth_clamp, 
GL_ARB_compute_shader, GL_ARB_conditional_render_inverted, 
GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_fog_distance, 
GL_EXT_render_snorm, GL_EXT_robustness, GL_EXT_sRGB_write_control, 
GL_NV_conditional_render, GL_NV_draw_buffers, GL_NV_fbo_color_attachments, 
GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, 

正如建议的那样为什么我需要用“nomodeset”替换“quiet splash”?,我添加nomodeset/etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

它暂时解决了问题,但导致音频编解码模块问题,当升压时直接跳入驱动器自检并阻止。

我更新了英特尔驱动程序,将内核更新到 5.3,但没有用。所以有人和我遇到同样的问题吗?你对此有什么想法吗?当我安装 Ubuntu 18 时也会出现同样的问题,性能完全相同。

答案1

我的笔记本电脑在使用相同流程和显卡(i5-8250U、英特尔 620)时会随机死机

我发现这个线程看起来很相似,但是那里的修复都不适合我:https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1798961

相关内容