我有一个双引导PC运行Windows 10和Ububtu 18.04.4,与5.3.0-51通用内核。有了windows,图形卡就能很好地工作,在Linux上我正在尝试很多麻烦。我试着安装amdgpu,安装与驱动程序的最后一个版本(20.10)很好,但是在重新启动后,屏幕闪烁得如此之快,唯一的登录是一个艰难的操作。现在,我试图遵循本指南的第二点,但它也没有效果。至少没有负面影响。我的sudo lshw -C video的输出是:
*-display UNCLAIMED
description: VGA compatible controller
product: Advanced Micro Devices, Inc. [AMD/ATI]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:0a:00.0
version: c5
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list
configuration: latency=0
resources: memory:e0000000-efffffff memory:f0000000-f01fffff ioport:e000(size=256) memory:fcc00000-fcc7ffff memory:c0000-dffff信息屏幕上显示我使用的是llvmpipe (LLVM 9.0.1, 256 bits)正如你在这里看到的。所以我想用合适的司机,有人能帮我吗?
编辑我想我错过了amdgpu的内核模块,lsmod |grep amdgpu没有给出结果,在我的lspci输出中Kernel modules语音不存在
lspci -k | grep -EA3 'VGA|3D|Display'
0a:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 7340 (rev c5)
Subsystem: Sapphire Technology Limited Device e421
0a:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device ab38
Subsystem: Sapphire Technology Limited Device e421而且,$ sudo lshw -c display | grep driver不提供任何输出。glxinfo,相反,告诉我直接渲染是可以的
$ glxinfo | grep render
direct rendering: Yes
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: llvmpipe (LLVM 9.0.1, 256 bits)
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_MESA_ycbcr_texture, GL_NV_conditional_render, GL_NV_copy_image,
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_NV_conditional_render, GL_NV_copy_image, GL_NV_depth_clamp,
GL_EXT_read_format_bgra, GL_EXT_render_snorm, GL_EXT_sRGB_write_control,
GL_MESA_shader_integer_functions, GL_NV_conditional_render,
GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, 发布于 2020-06-19 11:48:46
如果您已经在Ubuntu18.04.4上安装了amdgpu,那么radeon驱动程序将被禁用。你需要拉迪恩驱动器的老卡-我有一个拉迪恩HD5000和拉迪恩R9 290 X。我能够让290 X运行与amdgpu,但HD5000停止工作。
重新启用radeon驱动程序,并强制HD5000使用它,使这两个显示器再次工作!
下面是你需要做的事情:
这应该包含详细的每一个您的视频卡,以及您想要使用的驱动程序。
Section "Device"
Identifier "Screen0"
Driver "amdgpu"
VendorName "Advanced Micro Devices, Inc. [AMD/ATI]"
BusID "PCI:X:0:0"
EndSection
Section "Device"
Identifier "Screen1"
Driver "radeon"
VendorName "Advanced Micro Devices, Inc. [AMD/ATI]"
BusID "PCI:X:0:0"
EndSection您可以从以下命令获得BusID的值(PCI:X:0:0):
lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT / Grenada XT [Radeon R9 290X/390X]
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]第一张卡位于总线1上,xorg的值为PCI:1:0:0。第二张卡位于总线5上,xorg文件中的值为PCI:5:0:0。
希望这能帮上忙。
https://askubuntu.com/questions/1235587
复制相似问题