Ubuntu 18.10打开系统设置将我注销(Intel图形卡)


0

免责声明

我知道有两个类似的问题,但所有这些问题似乎都与NVIDIA图形有关。但是,我有一个内置的Intel图形。

问题

每当我尝试打开系统设置时,系统都会注销我。重新登录后,我打开的所有应用程序都关闭了(即,这实际上是注销,而不仅仅是锁定屏幕)。

我尝试过的解决方案

  • NVIDIA驱动程序问题:正如我所说,我不使用NVIDIA显卡
  • 删除.Xauthority文件夹:我没有此文件夹

系统信息

这是带有华擎Z390 Extreme 4主板的台式机。连接的唯一外部硬件是外部WiFi适配器。

输出sudo inxi -SCG

System:
  Host: mypc Kernel: 4.18.0-13-generic x86_64 bits: 64 
  Desktop: Gnome 3.30.1 Distro: Ubuntu 18.10 (Cosmic Cuttlefish) 
CPU:
  Topology: 6-Core model: Intel Core i5-9600K bits: 64 type: MCP 
  L2 cache: 9216 KiB 
  Speed: 800 MHz min/max: 800/4600 MHz Core speeds (MHz): 1: 1036 2: 873 
  3: 1265 4: 850 5: 1319 6: 1068 
Graphics:
  Device-1: Intel driver: i915 v: kernel 
  Display: x11 server: X.Org 1.20.1 driver: i915 resolution: 3840x2160~30Hz 
  OpenGL: renderer: llvmpipe (LLVM 7.0 256 bits) v: 3.3 Mesa 18.2.2 

UPD

我也尝试运行gnome-control-center &> before-log-out.log,这是我重新登录后拥有的文件的内容:

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 11 requests (11 known processed) with 0 events remaining.

UPD2

如果使用Wayland登录,则可以毫无问题地打开设置。的输出inxi -SCG相同,唯一的区别是:Display: wayland

但是,在Wayland上,该系统要慢得多(即使鼠标的移动也明显不规则)。此问题作为单独的问题发布。

Answers:


0

好的,安装新版本的Mesa似乎对我有所帮助。(我按照这里的说明进行操作但是以防万一我重复了此答案中的步骤,以防原始帖子消失了)。

  1. 新增ppa:ubuntu-x-swat/updates

    sudo add-apt-repository ppa:ubuntu-x-swat/updates
    
  2. 之后,可以升级以下软件包:

    $ sudo apt list --upgradable
    Listing... Done
    libegl-mesa0/cosmic 18.2.8-0ubuntu0~18.10.1~ppa1 amd64 [upgradable from: 18.2.2-0ubuntu1]
    libegl1-mesa/cosmic 18.2.8-0ubuntu0~18.10.1~ppa1 amd64 [upgradable from: 18.2.2-0ubuntu1]
    libgbm1/cosmic 18.2.8-0ubuntu0~18.10.1~ppa1 amd64 [upgradable from: 18.2.2-0ubuntu1]
    libgl1-mesa-dri/cosmic 18.2.8-0ubuntu0~18.10.1~ppa1 amd64 [upgradable from: 18.2.2-0ubuntu1]
    libglapi-mesa/cosmic 18.2.8-0ubuntu0~18.10.1~ppa1 amd64 [upgradable from: 18.2.2-0ubuntu1]
    libglx-mesa0/cosmic 18.2.8-0ubuntu0~18.10.1~ppa1 amd64 [upgradable from: 18.2.2-0ubuntu1]
    libosmesa6/cosmic 18.2.8-0ubuntu0~18.10.1~ppa1 amd64 [upgradable from: 18.2.2-0ubuntu1]
    libxatracker2/cosmic 18.2.8-0ubuntu0~18.10.1~ppa1 amd64 [upgradable from: 18.2.2-0ubuntu1]
    mesa-va-drivers/cosmic 18.2.8-0ubuntu0~18.10.1~ppa1 amd64 [upgradable from: 18.2.2-0ubuntu1]
    mesa-vdpau-drivers/cosmic 18.2.8-0ubuntu0~18.10.1~ppa1 amd64 [upgradable from: 18.2.2-0ubuntu1]
    
  3. 做升级:

    $ sudo apt dist-upgrade
    
  4. 检查版本:

    $ glxinfo | grep "OpenGL version"
    OpenGL version string: 3.0 Mesa 18.2.8
    
  5. 注销并再次登录。一切似乎都正常,我可以毫无问题地打开“设置”。

此后,的输出inxi -SCG如下。

System:
  Host: mypc Kernel: 4.18.0-13-generic x86_64 bits: 64 
  Desktop: Gnome 3.30.1 Distro: Ubuntu 18.10 (Cosmic Cuttlefish) 
CPU:
  Topology: 6-Core model: Intel Core i5-9600K bits: 64 type: MCP 
  L2 cache: 9216 KiB 
  Speed: 800 MHz min/max: 800/4600 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 800 6: 800 
Graphics:
  Device-1: Intel driver: i915 v: kernel 
  Display: x11 server: X.Org 1.20.1 driver: i915 resolution: 3840x2160~30Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics (Coffeelake 3x8 GT2) 
  v: 4.5 Mesa 18.2.8

PS卸载(尽管对我来说,它带来了“设置”的问题,因此,看来这确实是我的问题的解决方案):

$ sudo apt install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat/updates
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.