18.04 中没有登录屏幕/卡在 Ubuntu 徽标上

d a*_*s y 6 gdm mutter intel wayland 18.04

我的系统在启动时卡在 ubuntu 徽标上。为了解决它,我设置了nomodeset.

但是现在它出现了 1024x768 的分辨率问题。以下是必要的信息:

lspci -nnk | grep -iA2 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ Integrated Graphics Controller [8086:2772] (rev 02)
    Subsystem: Hewlett-Packard Company 82945G/GZ Integrated Graphics Controller [103c:302a]
    Kernel modules: i915, intelfb
Run Code Online (Sandbox Code Playgroud)

xrandr 
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected primary 1024x768+0+0 0mm x 0mm
   1024x768      76.00*
Run Code Online (Sandbox Code Playgroud)

输出

$ cat /proc/cpuinfo | grep -w 'model name'
model name  : Intel(R) Core(TM)2 Duo CPU     E4500  @ 2.20GHz
Run Code Online (Sandbox Code Playgroud)

输出 sudo lshw -c display

*-display UNCLAIMED       
       description: VGA compatible controller
       product: 82945G/GZ Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 02
       width: 32 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:e2000000-e207ffff ioport:c000(size=8) memory:d0000000-dfffffff memory:e2080000-e20bffff memory:c0000-dffff
Run Code Online (Sandbox Code Playgroud)

我尝试了解决方案 1解决方案 2但没有成功。

此问题仅在安装后发生,而不是在我选择“尝试不安装”时发生,在这种情况下我不需要设置 nomodeset。

英特尔图形更新工具显示:

Checking if Intel graphics card available...
  • checking for i915 module in /sys/module
  • i915 module found
Checking if Intel graphics card available... OK
Retrieving information from 01.org...
  • fetching https://download.01.org/gfx/ilg-config.cfg
  • saving to /home/garden/.ilg-config
  • fetched 1626 bytes
  • fetched 9818 bytes
  • fetched 12301 bytes
  • looking up [Ubuntu bionic] configuration
Retrieving information from 01.org... OK
Checking distribution... Failed
Run Code Online (Sandbox Code Playgroud)

编辑: 我已经安装xserver-xorg-video-intelxorg-dev。我试过acpi_osi=linuxacpi_backlight=vendornoalpici915.modeset=0还可以创建xorg.conf文件,并修改文件/etc/initramfs-tools/modules提到增加的i915和intel_agp司机在这里

d a*_*s y 2

对于Ubuntu 18.04,为了解决该问题,我在 GDM3 中禁用了 Wayland。

sudo vi /etc/gdm3/custom.conf
Run Code Online (Sandbox Code Playgroud)

更改#WaylandEnable=falseWaylandEnable=false并重新启动系统。

这可以通过以下任一方式完成:

  1. 从 grub 菜单中的高级选项中选择恢复模式,然后拖放到 root shell 中修改文件/etc/gdm3/custom.conf
  2. 设置nomodeset登录,然后按照上述步骤操作。(就我而言,我已经设置了。)
  3. 使用 live DVD 或可启动媒体:确保已安装驱动器的路径 /media/ubuntu/XXX/etc/gdm3/custom.conf可以通过以下命令找到df -h

更新:

看来这个错误已经通过升级包修复了mutter,所以如果上述解决方案不起作用,请尝试升级mutter或安装Ubuntu 18.04.2,或者如果您已经安装了 18.04,则使用sudo apt update && sudo apt upgrade.

如果安装了 Ubuntu 18.04.2,则无需禁用 Wayland。