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
    • 最新
    • 标签
主页 / user-1117545

thecodingcrow's questions

Martin Hope
thecodingcrow
Asked: 2020-08-18 05:17:13 +0800 CST

运行 Ubuntu 18.04 LTS 的 Razer Blade 15 2019 年中期 Nvidia 2060 RTX 版本上的屏幕闪烁问题

  • 0

我使用这些说明在我的 Razer Blade 15 上设置了 Ubuntu 18.04,2019 年中,Nvidia 2060 RTX GPU

除了WIFI之外,一切都很好。

但是当我尝试将其连接到 HDMI 设备时,屏幕(随机)开始闪烁。我使用过许多其他设备来观看电影或在外接显示器上做一些工作。第一次尝试设置 Ubuntu 时,我遇到了这些闪烁问题,但重新安装后它们就消失了。

由于我现在使用笔记本电脑几个月了,我正在寻找一种方法来解决这个问题,而无需备份和重新安装所有东西。

我尝试了几种方法来更新或重新安装 nvidia 驱动程序,但到目前为止都没有达到预期的效果。

我试过这个来更新和安装推荐的驱动程序

但正如你所见,我的系统甚至无法正确检测到我的显卡型号

sudo lshw -c display
    [sudo] password for thedoc: 
      *-display                 
           description: VGA compatible controller
           product: NVIDIA Corporation
           vendor: NVIDIA Corporation
           physical id: 0
           bus info: pci@0000:01:00.0
           logical name: /dev/fb0
           version: a1
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb
           configuration: depth=32 driver=nvidia latency=0 mode=1920x1080 visual=truecolor xres=1920 yres=1080
           resources: iomemory:600-5ff iomemory:600-5ff irq:181 memory:57000000-57ffffff memory:6030000000-603fffffff memory:6040000000-6041ffffff ioport:4000(size=128) memory:58000000-5807ffff
      *-display
           description: VGA compatible controller
           product: Intel Corporation
           vendor: Intel Corporation
           physical id: 2
           bus info: pci@0000:00:02.0
           version: 00
           width: 64 bits
           clock: 33MHz
           capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
           configuration: driver=i915 latency=0
           resources: iomemory:600-5ff iomemory:400-3ff irq:179 memory:6043000000-6043ffffff memory:4000000000-400fffffff ioport:5000(size=64) memory:c0000-dffff

之后,我今天尝试卸载并重新安装所有与 nvidia 相关的软件包,包括 cuda 和 libcudnn 使用这个. 之后我有一些未满足的依赖项,我尝试使用这些依赖项进行修复

sudo apt-get remove --purge nvidia-* -y
sudo ubuntu-drivers autoinstall

看起来一切都很好,nvidia 驱动程序都已正确安装和加载,但重新启动后我立即恢复了屏幕闪烁。

我猜这可以正常工作

    nvidia-smi
Mon Aug 17 15:00:34 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.95.01    Driver Version: 440.95.01    CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce RTX 2060    Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   52C    P8     8W /  N/A |    706MiB /  5934MiB |      2%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1345      G   /usr/lib/xorg/Xorg                            28MiB |
|    0      1598      G   /usr/bin/gnome-shell                          25MiB |
|    0      2020      G   /usr/lib/xorg/Xorg                           206MiB |
|    0      2181      G   /usr/bin/gnome-shell                         284MiB |
|    0      2583      G   ...uest-channel-token=16910184081649606580    48MiB |
|    0      2830      G   ...AAAAAAAAAAAACAAAAAAAAAA= --shared-files   108MiB |
+-----------------------------------------------------------------------------+

当前加载的驱动程序是 nvidia-driver-440-server,因为它是我的系统推荐的,并且屏幕闪烁很严重

sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001F11sv00001A58sd00002004bc03sc00i00
vendor   : NVIDIA Corporation
driver   : nvidia-driver-435 - distro non-free
driver   : nvidia-driver-418-server - distro non-free
driver   : nvidia-driver-440-server - distro non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin

== /sys/devices/pci0000:00/0000:00:14.3 ==
modalias : pci:v00008086d0000A370sv00008086sd00000034bc02sc80i00
vendor   : Intel Corporation
manual_install: True
driver   : backport-iwlwifi-dkms - distro free

当我禁用 NVIDIA GPU 并改用 Intel GPU 时,一切都很好,没有闪烁。因此,我认为我的驱动程序安装存在一些严重问题。

有时通知栏中也会出现错误,很遗憾我无法复制和粘贴。但它们都与“nvidia-smi”相关。

非常感谢任何帮助,我对 linux 比较陌生,因为这是我第一次认真使用它作为操作系统。如果我可以通过提供信息以任何方式提供帮助,请告诉我。

编辑:

经过几个月的反复试验,我终于可以解决问题

xrandr --mode 1920x1080 --rate 59.97 

我的笔记本电脑有 144Hz 的能力,但这似乎对他来说太过分了,降低刷新率解决了这个问题

我感到有点松了一口气,但也有点愚蠢,一个 linve 解决了几个小时的挣扎和阅读/写作论坛帖子无法解决的问题

drivers nvidia graphics flicker screen
  • 3 个回答
  • 1387 Views

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