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
    • 最新
    • 标签
主页 / unix / 问题

问题[graphics](unix)

Martin Hope
BrunoGuillou
Asked: 2024-04-22 00:41:34 +0800 CST

如果我在另一台显示器上全屏打开 YouTube 或任何内容,游戏中会出现滞后、伪影和低 fps

  • 5

如果我在另一台显示器上全屏打开 YouTube 或任何其他内容,游戏中会出现滞后、伪像和低 fps。两台显示器全高清 1 60HZ 和主 75。我尝试更改刷新率,但没有任何区别。

  • 内核:6.5.0-28-generic x86_64
  • 位:64
  • 编译器:不适用
  • 桌面版:KDE Plasma 6.0.4
  • 发行版:KDE neon 22.04 6.0
  • 基础:Ubuntu 22.04 LTS Jammy
  • 显卡:设备 1:AMD 供应商:蓝宝石驱动程序:amdgpu v:内核总线 ID:03:00.0 isplay:wayland 服务器:X.org v:1.21.1.4 带有:Xwayland v:23.2.4 合成器:kwin_wayland 驱动程序:X :已加载:amdgpu,ati 已卸载:fbdev,模式设置,radeon,vesa gpu:amdgpu 分辨率:1:1920x1080 2:1920x1080 OpenGL:渲染器:AMD Radeon RX 6650 XT(navi23 LLVM 15.0.7 DRM 3.54 6.5.0-28-generic ) v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2 直接渲染:是
graphics
  • 1 个回答
  • 21 Views
Martin Hope
Stephen Daddona
Asked: 2022-09-18 10:52:03 +0800 CST

我可以在有板载显卡的主板上安装 PCI 显卡吗?

  • 1

我在一台旧电脑上运行 Ubuntu 14.04 LTS,它有一个“M5A88-V EVO”华硕主板和板载“Advanced Micro Devices, Inc. [AMD/ATI] RS880 [Radeon HD 4250]”显卡。任何比我的“3.13.0-93-generic”版本更新的 Linux 内核都不再支持显卡。我的问题是:我可以在这块主板上安装新的显卡,然后将我的操作系统升级到最新版本的 Ubuntu 和最新版本的 Firefox 吗?我尝试安装 Firefox 版本 104,但它挂起并且在关机时崩溃。在尝试 Firefox 104 版之前,我遇到了很多不支持 Firefox 66 版的网站的问题。所以,问题是,我可以在 PCI 插槽中安装新显卡并以某种方式禁用板载 Radeon 显卡硬件吗?我只想更换整台电脑,但我不想花 1,500 美元或更多的钱买一台新电脑。

graphics
  • 1 个回答
  • 30 Views
Martin Hope
php_nub_qq
Asked: 2022-01-08 16:04:35 +0800 CST

性能很差,用户界面不稳定

  • 1

我在相当不错的硬件设置上使用 Debian 11。不幸的是,我看到了一些非常糟糕的性能——浏览网页感觉很笨拙,打开“活动”菜单没有动画,滚动非常不稳定,所有这些都是图形处理不佳的迹象。

我四处寻找,发现我(据说)没有使用我的显卡:

$ glxinfo | grep -i opengl
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 11.0.1, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.3.5

我之前已经禁用Intel integrated graphics了我的 BIOS,所以出于好奇,我继续启用它:

$ glxinfo | grep -i opengl
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.3.5

启用后,现在一切都感觉更流畅了,动画效果很好,但如果我有显卡,我仍然不想使用集成显卡。

我想远离 Nvidia 专有软件,但我似乎无法理解如何在nouveau不从源代码构建的情况下安装 FOSS 驱动程序?我对这个主题不是很熟悉,所以如果我不了解,请原谅我,但如果 nvidia 驱动程序可以在不构建的情况下安装,那么应该nouveau是这样。我找到了官方的 nouveau 网站,它显示了如何通过下载来安装它,nouveau-build-deps但它想要安装linux-headers-2-..,现在我使用的是第 5 版,所以我真的害怕不做任何事情。

此外,检查 nouveau 包显示我在 nouveau 网站上安装了建议的内容:

# apt search nouveau
Sorting... Done
Full Text Search... Done
bumblebee/stable 3.2.1-27 amd64
  NVIDIA Optimus support for Linux

libdrm-nouveau2/stable,now 2.4.104-1 amd64 [installed,automatic]
  Userspace interface to nouveau-specific kernel DRM services -- runtime

xfonts-jmk/stable 3.0-23 all
  Jim Knoble's character-cell fonts for X

xserver-xorg-video-nouveau/stable,now 1:1.0.17-1 amd64 [installed]
  X.Org X server -- Nouveau display driver

我怀疑可能在某个地方我删除了某些东西或更改了一些配置并且忘记了..

我怎样才能开始nouveau跑步?

编辑:

$ lspci -nnk | grep -iA2 vga 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050] [10de:1c81] (rev a1)
    Subsystem: Micro-Star International Co., Ltd. [MSI] GP107 [GeForce GTX 1050] [1462:8c97]
    Kernel driver in use: nouveau

$ glxinfo | grep -i device
    Device: llvmpipe (LLVM 11.0.1, 256 bits) (0xffffffff)

$ glxinfo | grep -i memory
    Video memory: 15974MB
    Unified memory: no

$ glxinfo | grep -i opengl
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 11.0.1, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.3.5
...

$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

nouveau

$ 

AFAIKOpenGL vendor string应该说它Nouveau是否在使用中?

debian graphics
  • 2 个回答
  • 320 Views
Martin Hope
eminfedar
Asked: 2021-12-07 04:05:26 +0800 CST

i915 驱动程序在 165hz 屏幕上卡在 40hz

  • 2

我的笔记本电脑上有 i7-10875H 处理器。我已禁用 NVIDIA dGPU,因此问题仅与英特尔驱动程序有关。

我正在使用 Debian 11。

用内核测试:

  • 5.10.0-9-amd64
  • 5.14.0-0.bpo.2-amd64

Xorg和Wayland我都用过,笔记本屏幕卡在40hz。

但是屏幕是165hz。

我认为这与驱动程序级别有关,因为 Xorg 配置或 xrandr 设置无关紧要。即使我在 xrandr 上设置赫兹值 165,屏幕仍然以 40hz 运行。

我怎样才能让它像在 Windows 上一样以 165hz 运行?


这是我的 lshw -c 视频:

*-display                 
       description: VGA compatible controller
       product: CometLake-H GT2 [UHD Graphics]
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 05
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list fb
       configuration: depth=32 driver=i915 latency=0 mode=2560x1440 visual=truecolor xres=2560 yres=1440
       resources: iomemory:600-5ff iomemory:400-3ff irq:138 memory:6002000000-6002ffffff memory:4000000000-400fffffff ioport:6000(size=64) memory:c0000-dffff

这是我的 lspci -k:

00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
    DeviceName: Onboard - Video
    Subsystem: Tongfang Hongkong Limited UHD Graphics
    Kernel driver in use: i915
    Kernel modules: i915

这是我的glxinfo:

OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics (CML GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.3.5
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.3.5
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
linux graphics
  • 2 个回答
  • 2455 Views
Martin Hope
Vadb
Asked: 2021-09-10 11:14:15 +0800 CST

Ubuntu / PopOS 21.04 - 屏幕闪烁

  • 2

我刚从 PCSpecialist 购买了 Fusion Serie,运行 Ubuntu(测试 20.04 和 21.04)或 PopOS(测试 21.04)时出现屏幕问题

  • 当鼠标光标使用触摸板或鼠标在其显示区域内移动时,内置屏幕显示闪烁
  • 如果我在移动光标的同时按下左键,显示屏不会闪烁
  • 使用外接显示器时,它的显示很好,但不是集成屏幕(在复制或扩展模式下)
  • 我录制了屏幕并且视频没有显示闪烁(尽管录制时屏幕闪烁)

我尝试了什么:

  • 改变屏幕分辨率
  • 启用/禁用 PopOS HiDPI 守护进程
  • 使用不同的内核(从 5.11 到 5.14)

以下是笔记本电脑规格:

  • 机箱和显示器:Fusion Studio 系列:Écran 大型 LED 垫 14 袋 90 Hz sRGB 95 % WQXGA (2880 x 1800)
  • 处理器 (CPU):Processeur 四核 Intel® Core® i7 11370H(3,3 GHz,4,8 GHz Turbo)
  • 内存 (RAM):16 Go Corsair 2933 MHz SODIMM DDR4 (2 x 8 Go)
  • 显卡:英特尔® Iris® Xe 显卡
  • 第一个 M.2 SSD 驱动器:500 Go SAMSUNG 970 EVO PLUS M.2,PCIe NVMe

还有一些命令输出(来自 PopOS 21.04):

uname -r
5.11.0-7633-generic

inxi -G
Graphics:  Device-1: Intel TigerLake GT2 [Iris Xe Graphics] driver: i915 v: kernel
           Device-2: Chicony HD Webcam type: USB driver: uvcvideo
           Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting
           unloaded: fbdev,vesa resolution: 1: 1440x900~60Hz 2: 1920x1080~60Hz
           OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.0.1

sudo lshw -c video
*-display                
       description: VGA compatible controller
       product: TigerLake GT2 [Iris Xe Graphics]
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 mode=2880x1800 visual=truecolor xres=2880 yres=1800
       resources: iomemory:600-5ff iomemory:400-3ff irq:153 memory:601c000000-601cffffff memory:4000000000-400fffffff ioport:3000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff

lspci -nnk | grep -iA2 VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake GT2 [Iris Xe Graphics] [8086:9a49] (rev 01)
    DeviceName: Onboard - Video
    Subsystem: Tongfang Hongkong Limited Iris Xe Graphics [1d05:1105]

全面探测我的系统:https ://linux-hardware.org/?probe=9361e69812

我真的不知道我应该从哪些潜在的修复开始,因此将不胜感激任何帮助。谢谢

注意:我还在 PopOS 旁边安装了 W10,W10 工作正常。

ubuntu graphics
  • 1 个回答
  • 108 Views
Martin Hope
andstu
Asked: 2019-11-20 08:16:09 +0800 CST

显示器插入集成显卡,但使用专用显卡渲染游戏

  • 2

当我想玩游戏时,有没有办法让集成显卡卸载到专用显卡?我想让专用显卡保持打开状态以传递到 Windows VM。

graphics intel-graphics
  • 1 个回答
  • 137 Views
Martin Hope
Lassi
Asked: 2019-08-02 05:01:28 +0800 CST

如何模拟新闻窗口系统

  • 3

是否有一种相当简单的方法可以在当前计算机上运行NeWS(网络可扩展窗口系统,一种基于 PostScript 的窗口系统,由 Sun 的研究人员在 1980 年代开发)?

x11 graphics
  • 1 个回答
  • 291 Views
Martin Hope
kub0x
Asked: 2019-06-25 15:27:21 +0800 CST

Proton 使用的 mesa+vulkan 驱动版本与主机 mesa 驱动版本不匹配

  • 0

Proton 在最新的 DXVK 实施中运行良好,但是当我浏览 Proton 使用的游戏的日志文件时,我注意到我的主机系统的台面驱动程序版本与那里列出的不匹配。到目前为止,我所知道的是 dxvk 是一个桥接器,因此来自 D3D10/D3D11 的调用可以转换为 Vulkan 并在您的主机系统中处理,因此依赖于您的图形驱动程序和 Vulkan 台面驱动程序(在我的例子中是 Amdgpu RADV)。

Proton 加载的游戏(win64 游戏)日志中列出的 Vulkan 使用的 mesa 驱动程序版本和 apiversion :

AMD RADV POLARIS10 (LLVM 7.0.1):
驱动程序:18.3.6
Vulkan:1.1.70

vulkaninfo的输出报告 apiversion “1.1.90”,它与 Proton 上使用的版本“1.1.70”不同:

Vulkan 实例版本:1.1.107
GPU id:0
(AMD RADV POLARIS10 (LLVM 8.0.0))
apiVersion = 0x40105a (1.1.90)
driverInfo = Mesa 19.1.0 (LLVM 8.0.0)

glxinfo的输出与台面驱动程序版本和vulkaninfo上显示的 LLVM 版本一致:

OpenGL 渲染器字符串:Radeon RX 570 系列(POLARIS10、DRM 3.30.0、5.1.14-arch1-1-ARCH、LLVM 8.0.0)
OpenGL 核心配置文件版本字符串:4.5(核心配置文件)Mesa 19.1.0

此外,在 vulkan 环境初始化发生之前,会根据游戏日志的报告加载以下 DLL:

在 0x7fa05e6e0000 加载 L"C:\windows\system32\vulkan-1.dll": 内置

在 0x7fa05e6a0000 处加载 L"C:\windows\system32\winevulkan.dll":内置

也许这些 DLL 是这种不匹配的原因。

编辑:当使用自定义 DXVK_HUD 选项在Lutris上打开另一个游戏时,我可以看到vulkan API 版本和 mesa 版本都与我主机上的相应版本相匹配。仍然不知道为什么 Proton 有这种行为。

总结

  1. Proton 的 LLVM 版本与我的图形驱动程序上的版本不同:LLVM 7.0.1 (Proton) - LLVM 8.0.0 (Host)
  2. Proton 的 Mesa 驱动程序版本与在我的主机系统上提供 GL 和 VK 实现的 mesa 驱动程序版本不同:Mesa 18.3.6 (Proton) - Mesa 19.1.0 (Host)
  3. Proton 的 Vulkan API 版本与 vulkaninfo 报告的 Vulkan 实现使用的版本不同:1.1.70 (Proton) - 1.1.90 (Host)

我在这里遗漏了一些东西,AFAIK Proton 没有提供它自己的台面实现。谁能解释一下为什么这些版本之间存在这种不匹配?

arch-linux graphics
  • 1 个回答
  • 280 Views
Martin Hope
tjysdsg
Asked: 2018-12-31 22:14:12 +0800 CST

有什么办法可以让urxvt 支持sixel?

  • 4

最近有一个流行的 github repo 叫做lsix,它使用Sixel图形在终端内显示图像。目前我正在使用rxvt-unicode作为我的终端模拟器,但它似乎不适用于 Sixel。

有谁知道如何让它支持sixel?

(我正在使用 Ubuntu 18.04 LTS 仅供参考)

linux graphics
  • 1 个回答
  • 1924 Views
Martin Hope
Vilas Winstein
Asked: 2018-08-29 18:43:53 +0800 CST

在 Ubuntu 18.04 中使用 Nvidia 显卡显示 3D 内容的问题

  • 1

我最近买了一台新的笔记本电脑(Thinkpad T480),它集成了英特尔的“UHD Graphics 620”和一个 Nvidia MX150,我安装了 Ubuntu 18.04。我安装了 nvidia 驱动程序,我相信我成功地使用了 Nvidia 卡来运行我的笔记本电脑的显示器/外接显示器。

但是,我在显示 3D 内容时遇到问题:当我尝试在 Mathematica 中创建 3D 绘图时,程序会崩溃(当我切换回使用 Intel 卡时不会发生这种情况prime-select)。此外,当我尝试启动 Steam 时,我收到错误“显示器不支持 OpenGL GLX 扩展”(当我使用集成显卡时,这再次不会发生并且 Steam 工作正常)。最后,选择了 nvidia 卡,我什至无法登录到标准的 gnome 桌面环境(我只是被引导回到登录屏幕)。幸运的是,我通常使用 xmonad,这似乎工作正常。

我尝试重新安装xserver-xorg,这是在网上某处建议的,但没有帮助。我看到了关于安装 Bumblebee 的其他信息,但所有这些似乎都是多年前的(而且 Bumblebee 的最新版本已经超过 5 年了,所以我对此有点警惕)。尽管如此,我还是尝试安装 Bumblebee,在修改/etc/bumblebee/bumblebee.conf为使用 libGL.so.1 驱动程序的正确目录后,我能够通过 Steam 运行游戏。我从来没有尝试过运行 Steam 本身,optirun但我通过 Steam 运行 Civilization V,optirun它似乎按预期工作,我可以看到 Nvidia 卡正在与程序一起使用NVTOP。Civilization V 确实涉及 3D 图形,但我不确定它是否使用 OpenGL。我还尝试通过运行 Minecraft(我认为它确实使用 OpenGL)optirun刚得到一个黑屏窗口。我试过optirun glxgears并得到一个错误说

X Error of failed request: BadMatch (invalid parameter attributes)

我做了一些更多的研究,发现也许 Bumblebee 不是要走的路(关于 Ubuntu 18.04 的多个错误报告)......所以现在我回到了我在上面第一段和第二段中描述的情况。我想是时候寻求帮助了。

以下是我在与此问题相关的其他问题中看到的一些命令的输出:

这是我尝试运行时的输出glxinfo:

name of display: :0
Error: couldn't find RGB GLX visual or fbconfig

这是我尝试运行时的输出glxgears:

Error: couldn't get an RGB, Double-buffered visual

这是我运行时的输出lspci -nnnk | grep "VGA\|'Kern'\|3D\|Display" -A2:

00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07)
Subsystem: Lenovo UHD Graphics 620 [17aa:225e]
Kernel driver in use: i915
--
01:00.0 3D controller [0302]: NVIDIA Corporation GP108M [GeForce MX150] [10de:1d10] (rev a1)
Subsystem: Lenovo GP108M [GeForce MX150] [17aa:225e]
Kernel driver in use: nvidia
nvidia graphics
  • 1 个回答
  • 586 Views

Sidebar

Stats

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

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

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

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve