Radeon HD 8670 카드를 사용하여 RHEL 6.9에서 독점 AMD 그래픽 드라이버를 실행하는 데 문제가 있습니다.
출력 lspci | grep -i VGA
:
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland XT [Radeon HD 8670 / R7 250/350] (rev 83)
설정 export LIBGL_DEBUG=verbose
하고 실행 하면 glxgears
다음과 같은 결과가 나타납니다.
libGL: DRI3 is disabled, try running in DRI2 mode. xorg version is 0
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
libGL: dlopen /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/X11R6/lib64/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/X11R6/lib64/modules/dri/swrast_dri.so
libGL: dlopen /usr/X11R6/lib64/modules/dri/swrast_dri.so failed (/usr/X11R6/lib64/modules/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/swrast_dri.so
libGL: dlopen /usr/X11R6/lib/modules/dri/swrast_dri.so failed (/usr/X11R6/lib/modules/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
libGL: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/X11R6/lib32/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/X11R6/lib32/modules/dri/swrast_dri.so
libGL: dlopen /usr/X11R6/lib32/modules/dri/swrast_dri.so failed (/usr/X11R6/lib32/modules/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib32/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib32/dri/swrast_dri.so
libGL: dlopen /usr/lib32/dri/swrast_dri.so failed (/usr/lib32/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "localhost:10.0"
after 25161 requests (38 known processed) with 0 events remaining.
독점 AMD 드라이버를 설치했습니다여기yum list installed | grep amd
다음을 표시합니다 .
amdgpu-pro.x86_64 17.10-414273.el6 @amdgpu-pro-local
amdgpu-pro-dkms.noarch 17.10-414273.el6 @amdgpu-pro-local
amdgpu-pro-lib32.x86_64 17.10-414273.el6 @amdgpu-pro-local
glamor-egl-amdgpu-pro.x86_64 1.18.3-414273.el6 @amdgpu-pro-local
libdrm-amdgpu-pro.i686 1:2.4.70-414273.el6 @amdgpu-pro-local
libdrm-amdgpu-pro.x86_64 1:2.4.70-414273.el6 @amdgpu-pro-local
libegl-amdgpu-pro.i686 17.10-414273.el6 @amdgpu-pro-local
libegl-amdgpu-pro.x86_64 17.10-414273.el6 @amdgpu-pro-local
libgbm-amdgpu-pro.i686 17.10-414273.el6 @amdgpu-pro-local
libgbm-amdgpu-pro.x86_64 17.10-414273.el6 @amdgpu-pro-local
libgbm-amdgpu-pro-base.noarch 17.10-414273.el6 @amdgpu-pro-local
libgl-amdgpu-pro.i686 17.10-414273.el6 @amdgpu-pro-local
libgl-amdgpu-pro.x86_64 17.10-414273.el6 @amdgpu-pro-local
libgl-amdgpu-pro-appprofiles.x86_64
17.10-414273.el6 @amdgpu-pro-local
libgl-amdgpu-pro-dri.i686 17.10-414273.el6 @amdgpu-pro-local
libgl-amdgpu-pro-dri.x86_64 17.10-414273.el6 @amdgpu-pro-local
libgl-amdgpu-pro-ext.x86_64 17.10-414273.el6 @amdgpu-pro-local
libgles-amdgpu-pro.i686 17.10-414273.el6 @amdgpu-pro-local
libgles-amdgpu-pro.x86_64 17.10-414273.el6 @amdgpu-pro-local
libopencl-amdgpu-pro.i686 17.10-414273.el6 @amdgpu-pro-local
libopencl-amdgpu-pro.x86_64 17.10-414273.el6 @amdgpu-pro-local
libopencl-amdgpu-pro-clinfo.x86_64 17.10-414273.el6 @amdgpu-pro-local
libopencl-amdgpu-pro-icd.i686 17.10-414273.el6 @amdgpu-pro-local
libopencl-amdgpu-pro-icd.x86_64 17.10-414273.el6 @amdgpu-pro-local
xorg-x11-drv-amdgpu-pro.x86_64 1:1.2.99-414273.el6 @amdgpu-pro-local
MESA도 아래와 같이 설치됩니다 yum list installed | grep mesa
.
mesa-dri-drivers.x86_64 11.0.7-4.el6 @anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8
mesa-dri-filesystem.x86_64 11.0.7-4.el6 @anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8
mesa-dri1-drivers.x86_64 7.11-8.el6 @anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8
mesa-libEGL.x86_64 11.0.7-4.el6 @anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8
mesa-libGL.x86_64 11.0.7-4.el6 @anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8
mesa-libGL-devel.x86_64 11.0.7-4.el6 @anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8
mesa-libGLU.x86_64 11.0.7-4.el6 @anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8
mesa-libGLU-devel.x86_64 11.0.7-4.el6 @anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8
mesa-libGLw.x86_64 6.5.1-10.el6 @anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8
mesa-libGLw-devel.x86_64 6.5.1-10.el6 @anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8
mesa-libgbm.x86_64 11.0.7-4.el6 @anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8
mesa-libxatracker.x86_64 11.0.7-4.el6 @anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8
mesa-private-llvm.x86_64 3.6.2-1.el6 @anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8
위 출력은 X-Win32를 실행하는 Windows PC에서 원격으로 시스템에 로그인하는 동안 얻은 것입니다. 시스템 콘솔에서는 일반적인 GUI 로그인 화면이 기본 TTY에 표시되지 않습니다. 다른 TTY( Ctrl + Alt + F2
등) 중 하나로 전환하면 일반적인 일반 텍스트 터미널 로그인 화면이 표시됩니다.
/var/log/Xorg.0.log
이 문제와 관련된 것으로 보이는 다음 메시지가 있습니다.
[ 77.343] (II) LoadModule: "glx"
[ 77.359] (II) Loading /opt/amdgpu-pro/lib64/xorg/modules/extensions/libglx.so
[ 77.648] (II) Module glx: vendor="X.Org Foundation"
[ 77.648] compiled for 1.17.0, module version = 1.0.0
[ 77.648] ABI class: X.Org Server Extension, version 9.0
[ 77.648] (==) AIGLX enabled
[ 77.648] (II) LoadModule: "amdgpu"
[ 77.648] (II) Loading /opt/amdgpu-pro/lib64/xorg/modules/drivers/amdgpu_drv.so
[ 77.684] (II) Module amdgpu: vendor="X.Org Foundation"
[ 77.684] compiled for 1.17.4, module version = 1.2.99
[ 77.684] Module class: X.Org Video Driver
[ 77.684] ABI class: X.Org Video Driver, version 19.0
[ 77.684] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[ 77.684] (++) using VT number 1
[ 77.692] (II) [KMS] Kernel modesetting enabled.
[ 77.692] (II) AMDGPU(0): ShareFD: disabled
[ 77.692] (DB) AMDGPU(0): open fd=8
[ 77.693] (EE) AMDGPU(0): amdgpu_device_initialize failed
[ 77.693] (EE)
[ 77.693] (EE) Backtrace:
[ 77.726] (EE) 0: /usr/bin/Xorg (xorg_backtrace+0x51) [0x7f3ddb8b8a91]
[ 77.726] (EE) 1: /usr/bin/Xorg (0x7f3ddb6eb000+0x1d2109) [0x7f3ddb8bd109]
[ 77.726] (EE) 2: /lib64/libpthread.so.0 (0x7f3ddae5a000+0xf7e0) [0x7f3ddae697e0]
[ 77.726] (EE) 3: /opt/amdgpu-pro/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7f3dd5ae4000+0xd172) [0x7f3dd5af1172]
[ 77.726] (EE) 4: /opt/amdgpu-pro/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7f3dd5ae4000+0x7d78) [0x7f3dd5aebd78]
[ 77.726] (EE) 5: /opt/amdgpu-pro/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7f3dd5ae4000+0x8112) [0x7f3dd5aec112]
[ 77.726] (EE) 6: /usr/bin/Xorg (0x7f3ddb6eb000+0xbc0da) [0x7f3ddb7a70da]
[ 77.726] (EE) 7: /usr/bin/Xorg (xf86CallDriverProbe+0x84) [0x7f3ddb77d7a4]
[ 77.726] (EE) 8: /usr/bin/Xorg (xf86BusConfig+0x46) [0x7f3ddb77d836]
[ 77.726] (EE) 9: /usr/bin/Xorg (InitOutput+0x8de) [0x7f3ddb78b93e]
[ 77.726] (EE) 10: /usr/bin/Xorg (0x7f3ddb6eb000+0x5d595) [0x7f3ddb748595]
[ 77.726] (EE) 11: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7f3dd8916d1d]
[ 77.726] (EE) 12: /usr/bin/Xorg (0x7f3ddb6eb000+0x47741) [0x7f3ddb732741]
[ 77.726] (EE)
[ 77.726] (EE) Segmentation fault at address 0x0
[ 77.726] (EE)
Fatal server error:
[ 77.726] (EE) Caught signal 11 (Segmentation fault). Server aborting
그래픽 드라이버가 작동하지 않는 이유는 무엇입니까?
답변1
독점 AMDGPU-PRO 드라이버는 새 카드만 지원합니다., Radeon HD 8670이 포함되지 않은 것으로 보입니다.
열린 드라이버에는 라이브러리가 없습니다(분명히). 내가 생각할 수 있는 유일한 두 가지 해결책은 다음과 같습니다.
- 드라이버를 다시 설치하거나
- 필요한 파일이 포함된 패키지를 다운로드하고 설치합니다.
개인적으로 저는 옵션 1부터 시작하고 싶습니다.
두 가지 모두 실패할 경우 가능성 순으로:
- 이 두 드라이버는 GPU를 전혀 지원하지 않습니다
- RHEL 설치가 손상되었습니다.
- RHEL 전체가 손상됨
첫 번째로는 이전 radeon 드라이버(ati, radeohd 등) 중 하나를 사용하도록 /etc/X11/xorg.conf를 변경하는 방법을 살펴보세요.
후자의 경우 버그 보고서를 제출해 주세요.