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 / 问题 / 1258012
Accepted
S Guha
S Guha
Asked: 2020-07-11 08:44:55 +0800 CST2020-07-11 08:44:55 +0800 CST 2020-07-11 08:44:55 +0800 CST

带有英特尔集成显卡的 Ubuntu 18.04 中的图形失真

  • 772

我有一个带有 Intel 集成 (Ivybridge) 显卡的 Ubuntu 18.04 桌面。当我启动系统时,登录屏幕和默认的 Ubuntu 会话显示严重扭曲的图形和颜色,使其几乎无法使用。图片附在下面。

Ubuntu 会话的图像

但是,我在这个系统中也安装了 gnome flashback (metacity) 和 xfce4 桌面,当我登录到这些会话时,除了少数应用程序(google-chrome、skype 等,我还没有检查所有),显然没有如此严重的失真应用程序虽然)。到目前为止,鹦鹉螺和其他应用程序在这些桌面上运行平稳,没有任何故障。有没有办法解决 Ubuntu 会话和登录屏幕的问题?我尝试了以下链接中提到的一些解决方案,但没有成功 -

  1. 如何解决 Ubuntu 18.04 显示问题(滞后、闪烁)?

系统信息:

$uname -a
Linux scorpio 5.3.0-62-generic #56~18.04.1-Ubuntu SMP Wed Jun 24 16:17:03 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

$lsb_release -a
LSB Version:    core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic

这是glxinfo -B的输出

name of display: :1.0
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) Ivybridge Desktop  (0x152)
    Version: 19.2.8
    Accelerated: yes
    Video memory: 1536MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.2
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Desktop
OpenGL core profile version string: 4.2 (Core Profile) Mesa 19.2.8
OpenGL core profile shading language version string: 4.20
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 19.2.8
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 19.2.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

和inxi -G的输出

Graphics:  Card: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
           Display Server: x11 (X.Org 1.20.8 ) drivers: fbdev (unloaded: modesetting,vesa)
           Resolution: [email protected]
           OpenGL: renderer: Mesa DRI Intel Ivybridge Desktop version: 4.2 Mesa 19.2.8

还有lshw -c video给出

  *-display
       description: VGA compatible controller
       product: Xeon E3-1200 v2/3rd Gen Core processor 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 rom
       configuration: driver=i915 latency=0
       resources: irq:28 memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff

cat /var/log/gpu-manager.log的输出

log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
can't access /run/u-d-c-nvidia-was-loaded file
can't access /opt/amdgpu-pro/bin/amdgpu-pro-px
Looking for nvidia modules in /lib/modules/5.3.0-62-generic/updates/dkms
Looking for amdgpu modules in /lib/modules/5.3.0-62-generic/updates/dkms
Is nvidia loaded? no
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is intel loaded? yes
Is radeon loaded? no
Is radeon blacklisted? no
Is amdgpu loaded? no
Is amdgpu blacklisted? no
Is amdgpu versioned? no
Is amdgpu pro stack? no
Is nouveau loaded? no
Is nouveau blacklisted? no
Is nvidia kernel module available? no
Is amdgpu kernel module available? no
Vendor/Device Id: 8086:152
BusID "PCI:0@0:2:0"
Is boot vga? yes
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card0", driven by "i915"
Found "/dev/dri/card0", driven by "i915"
output 0:
        card0-VGA-1
Number of connected outputs for /dev/dri/card0: 1
Does it require offloading? yes
last cards number = 1
Has amd? no
Has intel? yes
Has nvidia? no
How many cards? 1
Has the system changed? No
Single card detected
Nothing to do

我对这个论坛很陌生。如果我能得到任何帮助来解决这个困扰我很长时间的问题,我将不胜感激。

非常感谢。

flicker intel-graphics 18.04
  • 1 1 个回答
  • 1438 Views

1 个回答

  • Voted
  1. Best Answer
    Matias N Goldberg
    2020-07-16T10:14:17+08:002020-07-16T10:14:17+08:00

    看起来像一个梅萨问题。

    首先尝试Ubuntu-X Mesa PPA以获得更新的驱动程序。Kisak 的 Mesa PPA更近一些,但可能非常不稳定

    然后尝试通过在 /usr/share/X11/xorg.conf.d/ 中添加一个新条目在 AccelMethod“glamor”、“uxa”和“sna”之间切换

    例如我的 /usr/share/X11/xorg.conf.d/20-intel.conf 说:

    Section "Device"
        Identifier  "Intel Graphics"
        Driver      "intel"
        Option      "AccelMethod"  "sna"
        Option      "TearFree"     "true"
        Option      "DRI"          "3"
    EndSection
    

    尝试将 DRI 降级为 2,并尝试 glamor vs uxa vs sna。(注意:我将 TearFree 设置为 true,因为否则 xfce 的撕裂很严重,但这是个人喜好)

    如果失败,请尝试查看活动 USB 是否也存在此问题(以排除系统上的错误安装)。

    检查问题是否也发生在 Windows 上......它可能是坏硬件。

    如果问题在 Linux 上仍然存在,但在 Windows 上不存在,请在Mesa 的 bugtracker中询问哪里有才华横溢的人可以更好地帮助您。他们可能会询问您提供的这些信息以及您的 Xorg 日志(位于 /var/log/Xorg.0.log)和系统日志(/var/log/syslog)

    • 1

相关问题

  • 如何使用英特尔显卡在第二台显示器上启用视频播放?

  • X.org 配置文件在哪里?我如何在那里配置 X?

  • 如何安装英特尔 82852/855GM 驱动程序?

  • 显示器分辨率 1366 x 768,检测到错误的 EDID

  • 停止菜单图标闪烁

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