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 / 问题

问题[gpu-driver](ubuntu)

Martin Hope
gregls
Asked: 2020-11-05 17:28:41 +0800 CST

安装 Nvidia 驱动程序会创建 GUI?

  • 0

Ubuntu 服务器默认使用开源驱动程序 nouveau。我必须从我读过的内容中获得 Nvidia 驱动程序,以便 Plex 能够使用它进行转码。该卡是我安装驱动程序使用的 Quadro K-2000,

sudo apt-get install nvidia-driver-450

重新启动后,我有一个奇怪的 GUI,我将尽我所能描述它。

它是纯蓝色,左上角有“Activites”字样,顶部中间有日期,右上角有音频,关机。当我单击“活动”时,我会看到两个选项,帮助和显示应用程序。

这是正常的吗?

如果是这样,有没有办法使用 Nvidia 的驱动程序而不会得到这个甚至在我能找到的任何地方都没有终端的奇怪 GUI?

gui nvidia gpu-driver
  • 1 个回答
  • 851 Views
Martin Hope
dileepa
Asked: 2020-08-31 02:43:06 +0800 CST

Ubuntu 20.04 通过板载 nVidia VGA 显示杂乱的视频输出

  • 2

我有一台旧的 (2010) Intel Core 2 Duo PC,带有 nVidia GeForce 7100/nForce 630i 的板载 VGA。最近我安装了 Ubuntu 20.04 LTS,它显示混乱的视频输出。 在此处输入图像描述 我在 18.04 和 16.04 中也遇到了一些图形问题,但 20.04 不可行。我尝试了 nVidia 驱动程序更新、禁用 proitiatory 驱动程序以及网上提到的许多其他解决方案,但它们都不适合我。

如果我要购买二手 VGA 来解决这个问题,什么类型的对 Linux 的支持更好

nvidia graphics vga gpu-driver 20.04
  • 1 个回答
  • 412 Views
Martin Hope
Rafay Khan
Asked: 2020-08-03 01:13:06 +0800 CST

如何在 ubuntu 20.04 中恢复 videodev2.h

  • 2

在构建 OpenCV 时,我不小心链接了错误的头文件。

而不是这样的链接videodeh.h:

$ sudo apt-get install libdc1394-22 libdc1394-22-dev libxine2-dev libv4l-dev v4l-utils
$ cd /usr/include/linux
$ sudo ln -s -f ../libv4l1-videodev.h videodev.h

我确实不小心链接了videodev2.h,像这样:

$ sudo apt-get install libdc1394-22 libdc1394-22-dev libxine2-dev libv4l-dev v4l-utils
$ cd /usr/include/linux
$ sudo ln -s -f ../libv4l1-videodev.h videodev2.h

现在,当我取消链接videodev2.h( sudo unlink videodev2.h) 时,它从/usr/include/linux.

我尝试videodev2.h通过安装libv4l-dev和v4l-utils( sudo apt-get install libv4l-dev v4l-utils) 来恢复,但无济于事。videodev2.h我也只是从这里直接复制,但是在构建 opencv 时给了我这个错误:

In file included from /home/rafay/opencv/modules/videoio/src/cap_v4l.cpp:235:
/usr/include/linux/videodev2.h:63:10: fatal error: linux/compiler.h: No such file or directory
 #include <linux/compiler.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.

任何可以videodev2.h在不重新安装 Ubuntu 的情况下恢复的帮助将不胜感激。

compiling make gpu-driver opencv undelete
  • 1 个回答
  • 875 Views
Martin Hope
2b-t
Asked: 2020-07-18 15:22:28 +0800 CST

卡在 640x480 - 并排运行 Nouveau 和 nVidia 图形驱动程序?

  • 0

我最近在运行Ubuntu 20.04和低能耗nVidia Quadro NVS315的现有双插槽工作站中安装了nVidia Tesla K80 图形加速器。更新nVidia 驱动程序(从 Quadro 所需的旧版 390 到 450 以支持 K80 上的 CUDA)后,现在不受支持的 Quadro 卡在640x480 的分辨率上,让我无法使用xrandr引入额外的自定义分辨率. 我已经问过 nVidia 的友好人士他们已经确认这确实是一个驱动程序问题(因为 Quadro 现在是传统 GPU)并且不可能并行使用两个不同的 nVidia 驱动程序。

我也尝试过使用Nouveau ,但我无法在“软件和更新/附加驱动程序”中仅为 Quadro 打开它,除“继续使用手动安装的驱动程序”之外的所有条目对于 Quadro 都是灰色的,如果为 Tesla 激活了 nVidia 专有的 450 驱动程序。如果我将两个设备都切换到 Nouveau,我将获得完整的分辨率,但我无法在 Tesla 上运行代码。

此外,我尝试按照此解决方案中的建议更改Grub 帧缓冲区分辨率 ,但随后每个图形界面的加载速度都非常缓慢,就像每次刷新几乎需要一秒钟的扫描线一样。

由于在 640x480 上编码几乎是不可能的,我想问一下是否有办法强制在手动安装的驱动程序上运行的 Quadro 使用更高的分辨率,或者我是否可以强制 Ubuntu仅对 Quadro 使用 Nouveau,在使用特斯拉的 450 驱动程序时。任何提示表示赞赏。

感谢您抽出宝贵时间。:)

nvidia nouveau gpu cuda gpu-driver
  • 1 个回答
  • 371 Views
Martin Hope
KBS
Asked: 2020-06-21 12:03:36 +0800 CST

全新 Lubuntu 安装中的屏幕撕裂

  • 1

我刚刚安装了 lubuntu,我的屏幕变得很奇怪。撕裂的屏幕会持续几秒钟,并且主要发生在移动屏幕上,例如带有 YouTube 网站的浏览器。

在此处输入图像描述

我有带有 AMD Ryzen 5 3400G Vega 11 和技嘉主板的台式电脑。

Edit1:现在使用 Ubuntu 一段时间后,我意识到它只发生在应用程序 Firefox 上。有什么问题吗?

Edit2:使用 Chrome 也会造成撕裂。现在习惯了:(

在此处输入图像描述

firefox kernel lubuntu gpu-driver
  • 1 个回答
  • 111 Views
Martin Hope
Anubhav Singh
Asked: 2020-04-16 22:26:04 +0800 CST

Ubuntu 16.04 未检测到通过 HDMI 电缆连接的显示器

  • 0

我正在使用Acer Predator Helios 300 Core i7 第 7 代 - G3-572 游戏笔记本电脑(具有 Nvidia Geforce 1050Ti 显卡)。它最初是 Windows 10 附带的,我让它双启动并在其上安装了 Ubuntu 16.04。当我通过 HDMI 电缆将显示器连接到笔记本电脑时,它无法检测到它。当我在使用 Windows 10 时做同样的事情时,它会成功检测到它。我已经尝试了我在网上找到的所有解决方案,但无法解决问题。每当我安装Nvidia驱动程序时,我都会陷入无限登录循环,也无法解决。

Ubuntu 规格:

  • 处理器:Intel® Core™ i7-7700HQ CPU @ 2.80GHz × 8
  • 图形:llvmpipe(LLVM 6.0,256 位)
  • 操作系统类型:64位

从以上规格中,可以清楚地看到未安装 Nvidia 驱动程序。我真的很感谢有人对此提供帮助/指导。提前致谢!

编辑:输出sudo lshw -C display

*-display               
       description: VGA compatible controller
       product: GP107M [GeForce GTX 1050 Ti Mobile]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:16 memory:a3000000-a3ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:4000(size=128) memory:a4080000-a40fffff   *-display UNCLAIMED
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 04
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:a2000000-a2ffffff memory:b0000000-bfffffff ioport:5000(size=64) memory:c0000-dffff
nvidia hdmi gpu-driver 16.04 nvidia-geforce
  • 1 个回答
  • 482 Views
Martin Hope
Geppettvs D'Constanzo
Asked: 2020-03-29 12:46:12 +0800 CST

覆盖视频功能在升级后停止工作。可能与驱动有关

  • 2

我的系统:

Laptop Dell inspiron 15 3000
RAM: 16 GB
SSD 480 GB Kingston
Intel Core i3 7th Generation
OS: Ubuntu 18.04.4 with Software and System Updates
Web Browser: Mozilla Firefox, Google Chrome, Palemoon. All latest.
Terminal emulator: Yakuake, gnome-terminal.
Other Terminal: TTY1
Internet service provider connection speed: 100 Mbps (asymmetric)
Full upgrade: march 23, 2020

问题

最近才注意到我的 mkv 视频在系统升级后就停止了工作。这就是我在这里请求帮助的原因:软件升级后视频错误 (.mkv)。问题得到了部分解决。

尽管如此,我并没有注意到其他一些视频叠加功能停止工作,例如 AnyDesk 用于创建远程控制会话的叠加视频。请看这个截图。

在此处输入图像描述

编辑

刚进入Ubuntu默认桌面环境,我注意到桌面上有一些奇怪的绿色伪影,不会在windows顶部渲染,只是在桌面上。

在此处输入图像描述

有人可以帮我恢复或解决升级造成的问题吗?

如果您需要更多信息,请告诉我。我不知道从哪里开始调查,我会做的就是重新安装所有东西。但我宁愿不这样做。

提前致谢。

video gpu-driver anydesk
  • 2 个回答
  • 3909 Views
Martin Hope
theoden8
Asked: 2020-03-28 14:29:30 +0800 CST

从 16.04 升级到 18.04 会中断 i915 驱动程序检测

  • 1

我最近从xenial ( 16.04.3 LTS) 升级到bionic ( 18.04.3 LTS),并且不再检测到我的 intel 显卡驱动程序。

据我所知,我曾经用作i915_bpo驱动程序。现在模块被检测到,但没有与显卡相关联。

$ sudo lsmod | grep i915

i915                 1937408  0
i2c_algo_bit           16384  1 i915
drm_kms_helper        180224  1 i915
drm                   491520  2 drm_kms_helper,i915
video                  49152  1 i915

$ lshw -c video

  *-display UNCLAIMED
       description: VGA compatible controller
       product: Iris Pro Graphics 580
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:db000000-dbffffff memory:90000000-9fffffff ioport:f000(size=64) memory:c0000-dffff

$ sudo lspci -nnk | grep -A3 -i vga

00:02.0 VGA compatible controller [0300]: Intel Corporation Iris Pro Graphics 580 [8086:193b] (rev 09)
    Subsystem: Intel Corporation Iris Pro Graphics 580 [8086:2064]
    Kernel modules: i915
---

$ sudo inxi -SGx

System:    Host: intel-nuc-pc Kernel: 5.3.0-42-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 Console: tty 0
           Distro: elementary OS 5.1.2 Hera base: Ubuntu 18.04 bionic
Graphics:  Device-1: Intel Iris Pro Graphics 580 driver: N/A bus ID: 00:02.0
           Display: server: X.org 1.19.6 driver: intel unloaded: modesetting tty: 208x59
           Message: Advanced graphics data unavailable in console for root.

那么,模块有,卡有,但卡不想用模块?在浏览了现有问题一段时间后,我已经安装了sudo apt install linux-generic-hwe-18.04,因此是内核版本。它没有改变任何东西4.15.0-91。

因此,Xorg.0.log显示有关此事的以下信息:

[  1549.630] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[  1549.634] (--) PCI:*(0:0:2:0) 8086:193b:8086:2064 rev 9, Mem @ 0xdb000000/16777216, 0x90000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[  1549.634] (II) LoadModule: "glx"
[  1549.634] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1549.635] (II) Module glx: vendor="X.Org Foundation"
[  1549.635]    compiled for 1.19.6, module version = 1.0.0
[  1549.635]    ABI class: X.Org Server Extension, version 10.0
[  1549.635] (II) LoadModule: "intel"
[  1549.635] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  1549.636] (II) Module intel: vendor="X.Org Foundation"
[  1549.636]    compiled for 1.19.5, module version = 2.99.917
[  1549.636]    Module class: X.Org Video Driver
[  1549.636]    ABI class: X.Org Video Driver, version 23.0
[  1549.636] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[  1549.636] (II) intel: Driver for Intel(R) HD Graphics
[  1549.636] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[  1549.636] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[  1551.659] intel: waited 2020 ms for i915.ko driver to load
[  1551.664] (EE) No devices detected.```

此外:

$ dmesg | grep i915

[   68.810865] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec

/etc/default/grub:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.alpha_support=1 ..."

我该如何分解这个问题?

i915 gpu-driver intel-nuc 18.04
  • 1 个回答
  • 2046 Views
Martin Hope
loko
Asked: 2020-01-27 11:37:58 +0800 CST

如何获取设备的 UUID?

  • 0

从睡眠模式返回时,我的笔记本电脑的 LCD 只显示雪花(如没有信号的模拟电视)。除非我重新启动它,否则没有任何变化,没有显示输出。我在作者用来输出引导加载程序配置并添加要恢复的设备的地方发现了这个问题。sudo nano / etc / default / grub他没有具体说明 UUID 正在使用哪个设备,我想这是必须恢复的 GPU,但它可能是屏幕。我将尝试他们两个,看看哪一个可以工作,但我如何获得他们的 UUID?

suspend screen gpu-driver amdgpu uuid
  • 1 个回答
  • 429 Views
Martin Hope
404
Asked: 2019-12-21 17:48:38 +0800 CST

安装时显示分辨率停留在 640x480

  • 1

所以我在我的电脑上安装了最新的 xubuntu lts,但是一两次重新启动后,分辨率突然变成了 640x480,我已经安装了正确的 nvidia 驱动程序,因为 nouveau 会导致它冻结,有什么想法吗?

nvidia display-resolution display gpu gpu-driver
  • 1 个回答
  • 3339 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