V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
cathedrel
V2EX  ›  Linux

Manjaro,前天升级后每次启动都出现“检查您的显卡驱动”、“您的系统当前没有视频硬件加速。您可能会遇到性能差和 CPU 使用率高的问题。”的通知

  •  
  •   cathedrel · 2021-01-03 21:26:45 +08:00 · 2016 次点击
    这是一个创建于 1208 天前的主题,其中的信息可能已经有所发展或是发生改变。
    Manjaro 系统用了半年多,刚装好和前面两次大升级的时候没有出现过这个现象。显卡是 Nvidia GT610,自动安装的 NVIDIA Driver Version 是 390.138 ,NVIDIA X Server Setting 里面看不出有什么不对劲。我试着安装了 nouveau-fw 和 video-vesa 包,无效,重启后还是有这个通知。

    各位大佬,linux 系统有没有视频硬件加速怎么看?没有的话要怎么打开?谢谢
    11 条回复    2021-01-05 03:42:38 +08:00
    kerrspace
        1
    kerrspace  
       2021-01-04 09:48:13 +08:00   ❤️ 1
    1. 关闭视频
    2. 终端输入 nvidia-smi --loop=1
    3. 开视频 监视 GPU-Util 的变化

    我这个办法好像有点蠢 更加智能化的这个
    https://unix.stackexchange.com/questions/963/how-to-verify-if-hardware-acceleration-is-enabled

    不过我都是 sudo apt-mark hold nvidia-455 因为每次 Nvidia 自动更新我的 Ubuntu 都要出显示问题
    cathedrel
        2
    cathedrel  
    OP
       2021-01-04 19:24:48 +08:00 via Android
    @kerrspace 运行了那个命令后出来一个类似表格的界面,我看不懂....就很显眼的有个 GPU 0 Not Supported,这是啥意思?
    cathedrel
        3
    cathedrel  
    OP
       2021-01-04 19:28:10 +08:00 via Android
    @kerrspace 按照 unix.stackexchange.com/questions/963/how-to-verify-if-hardware-acceleration-is-enabled 这个网页上说的,运行

    glxinfo | grep "direct rendering"

    的结果是"Yes",奇怪了,是系统的通知敏感了吗??
    cathedrel
        4
    cathedrel  
    OP
       2021-01-04 19:41:17 +08:00
    @kerrspace 上面那个网页最后还有一句:“Technically "direct rendering" only tells you whether your program is communicating directly with the graphics card driver. "indirect rendering" means you are communicating all 3D to the X server which then communicates with the graphics card. I think at some point it wasn't possible to have hardware acceleration without direct rendering, but now days indirect rendering can also be accelerated. By extension, it could also be possible to directly communicate with a driver that fakes hardware acceleration in the CPU, but i don't know of any instance of this. – M Conrad Jul 3 '17 at 18:04”

    更加糊涂了,怎么看呢?
    orannge
        5
    orannge  
       2021-01-04 19:45:38 +08:00   ❤️ 1
    查看硬件信息 `inxi -G`

    这次的更新内核升到了 5.10 ,同时废弃了部分 n 卡驱动,新卡可用 nvidia-455,你的卡不清楚。实在不行可以降回旧内核或者使用 5.4LTS 内核
    orannge
        6
    orannge  
       2021-01-04 19:47:03 +08:00   ❤️ 1
    base64: aHR0cHM6Ly9mb3J1bS5tYW5qYXJvLm9yZy90L3N0YWJsZS11cGRhdGUtMjAyMC0xMi0zMC1rZXJuZWxzLWtkZS1jaW5uYW1vbi1saWJyZW9mZmljZS1weXRob24tMy05LW1lc2EtMjAtMy0xLzQ1MzY0
    cathedrel
        7
    cathedrel  
    OP
       2021-01-04 21:05:21 +08:00 via Android
    @orannge 运行`inxi -G`的结果:

    Graphics: Device-1: NVIDIA GF119 [GeForce GT 610] driver: nvidia v: 390.138
    Display: x11 server: X.Org 1.20.10 driver: nvidia resolution: 1920x1080~60Hz
    OpenGL: renderer: llvmpipe (LLVM 11.0.0 256 bits) v: 4.5 Mesa 20.3.1

    能看出什么问题吗?
    slack
        8
    slack  
       2021-01-05 01:04:57 +08:00 via Android
    ArchLinux 的官网几个月前就有公告提醒了,使用 Manjaro 这种二级发行版我就被坑过不少,不过还是那句话 so nvidia fxxk you
    slack
        9
    slack  
       2021-01-05 01:05:30 +08:00 via Android
    ArchLinux 的官网几个月前就有公告提醒了,使用 Manjaro 这种二级发行版我就被坑过不少,不过还是那句话 so nvidia ____ you
    cathedrel
        10
    cathedrel  
    OP
       2021-01-05 01:43:45 +08:00
    @slack 不会没事就去看 Arch 的官网的,现在该怎么解决?
    cathedrel
        11
    cathedrel  
    OP
       2021-01-05 03:42:38 +08:00 via Android
    因为升级而引起的麻烦,退回去不就好了嘛,最新版的内核除了给我带来麻烦其他任何好处都没有

    已经退回到 5.4LTS 内核,再把显卡的驱动卸载重装,好了

    以后系统都设定只提示 LTS 新内核升级
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4678 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 01:09 · PVG 09:09 · LAX 18:09 · JFK 21:09
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.