AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1030483
Accepted
d a i s y
d a i s y
Asked: 2018-05-02 01:12:29 +0800 CST2018-05-02 01:12:29 +0800 CST 2018-05-02 01:12:29 +0800 CST

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

  • 772

我的系统在启动时卡在 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

和

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*

的输出

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

的输出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

我尝试了解决方案 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

编辑: 我已经安装了xserver-xorg-video-intel和xorg-dev. 我已经尝试过acpi_osi=linux创建文件并修改文件以添加 i915 和 intel_agp 驱动程序,如此acpi_backlight=vendor处所述。noalpici915.modeset=0xorg.conf/etc/initramfs-tools/modules

gdm intel mutter wayland 18.04
  • 3 3 个回答
  • 3528 Views

3 个回答

  • Voted
  1. Best Answer
    d a i s y
    2018-06-06T02:08:03+08:002018-06-06T02:08:03+08:00

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

    sudo vi /etc/gdm3/custom.conf
    

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

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

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

    更新:

    看来这个bug已经用升级包修复mutter了,所以如果上面的解决方案没有解决,请尝试升级mutter包或安装Ubuntu 18.04.2,或者如果你已经安装了18.04然后升级它sudo apt update && sudo apt upgrade。

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

    • 2
  2. SOL-Invictus
    2018-06-26T13:51:28+08:002018-06-26T13:51:28+08:00

    我有同样的问题。我尝试在戴尔 Latitude D620 上全新安装 Ubuntu 18.04,它从 USB 驱动器启动正常,但重新启动后它只显示 ubuntu 徽标和鼠标光标,但系统没有响应 CTRL+F2/F3 或鼠标移动。

    我的硬件:

    lspci -nnk | grep -iA2 vga
    00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
    Subsystem: Dell Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [1028:01c2]
    Kernel driver in use: i915
    

    所以添加nomodeset到 /etc/default/grub 系统能够启动我被错误的分辨率卡住了 1024x768 而不是 1280x800。所以这不是我想要接受的解决方案。

    最后我找到了一个很好的解决方法:

    sudo apt-get install lightdm
    

    安装lightdm为显示管理器而不是默认安装gdm3解决了 Intel 945GM ( i915) 和冻结的 ubuntu 徽标的问题。

    PS:WLAN 也不适用于集成的 Broadcom BCM4311。

    lspci -vnn | grep 14e4 
    09:00.0 Ethernet controller [0200]: Broadcom Limited NetXtreme BCM5752 Gigabit Ethernet PCI Express [14e4:1600] (rev 02)
    0c:00.0 Network controller [0280]: Broadcom Limited BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)
    

    解决方案是安装固件-b43-installer ( https://askubuntu.com/a/609420/127023 )。

    • 0
  3. Konstantinos Anagnostopoulos
    2018-07-21T23:15:19+08:002018-07-21T23:15:19+08:00

    更新:在 lightdm+Gnome 崩溃后我切换到 Unity (*)

    我对 i915 模块有同样的问题。光标出现在屏幕上后启动时屏幕冻结。如上所述,通过将 gdm 替换为 lightdm 解决了该问题。总结食谱:

    1. 通过添加nomodeset选项启动:

      一个。启动前按住 SHIFT 查看 GRUB 菜单
      b. 在该行按e并添加, 然后按 F10 重新启动。nomodeset
      linux /boot,vmlinuz-.... root=UUID=... ro quiet splash nomodeset

    2. 从具有上述结果的低分辨率屏幕开始。
    3. 安装 lightdm+unity 桌面并选择它作为默认值。
      sudo apt-get 安装 lightdm;sudo apt-get install ubuntu-unity-desktop
    4. 重启。

    (*) 来自 dmesg 的 i915 模块错误消息,会话被强制注销

    • 0

相关问题

  • 如何通过 TTY 而不是 GDM 登录?[关闭]

  • 如何从 GDM 登录屏幕隐藏用户?

  • 10.04 Lucid 中的多席位状态如何?[关闭]

  • 从登录屏幕启动访客会话

  • 如何更改 GDM 中的登录屏幕主题?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve