2560x1080을 지원하는 모니터가 있습니다. Debian Jessie를 실행하는 Radeon 5450 그래픽 카드가 있지만 1920x1080만 얻을 수 있습니다. firmware-linux-nonfree
실행시키려고 설치했습니다 .내 전체 솔루션이 나열되지 않는 이유는 무엇입니까?
apt-get을 사용하여 fglrx-driver 설치
sudo apt-get install fglrx-driver
나는 이것이 나에게 다음과 같은 오류를 준다는 것을 언급해야 합니다 :
sudo apt-get install fglrx-driver
[sudo] password for mostafa:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
fglrx-driver : Depends: xorg-video-abi-19 but it is not installable or
xorg-video-abi-18 or
xorg-video-abi-15 but it is not installable or
xorg-video-abi-14 but it is not installable or
xorg-video-abi-13 but it is not installable or
xorg-video-abi-12 but it is not installable or
xorg-video-abi-11 but it is not installable or
xorg-video-abi-10 but it is not installable or
xorg-video-abi-8 but it is not installable or
xorg-video-abi-6.0 but it is not installable
Recommends: fglrx-modules-dkms (= 1:15.9-4~deb8u2) but it is not going to be installed or
fglrx-kernel-15.9
Recommends: libgl1-fglrx-glx (= 1:15.9-4~deb8u2) but it is not going to be installed
Recommends: libgl1-fglrx-glx-i386 but it is not installable
Recommends: fglrx-atieventsd but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
AMD 웹사이트에서 독점 드라이버 설치
AMD 웹사이트에서 독점 드라이버를 설치하면 다음 오류가 발생합니다.
Supported adapter detected.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.
Unloading radeon module...
rmmod: ERROR: Module radeon is in use
Unloading drm module...
rmmod: ERROR: Module drm is in use by: ttm drm_kms_helper radeon
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/4.5.0-2-amd64/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory '/usr/src/linux-headers-4.5.0-2-amd64'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_major_proc_read’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:634:9: error: void value not ignored as it ought to be
len = seq_printf(m, "%d\n", major);
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘KCL_fpu_save_init’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:6458:49: error: ‘XSTATE_FP’ undeclared (first use in this function)
if (!(fpu->state.xsave.header.xfeatures & XSTATE_FP))
^
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:6458:49: note: each undeclared identifier is reported only once for each function it appears in
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:6448:12: warning: ‘KCL_fpu_save_init’ defined but not used [-Wunused-function]
static int KCL_fpu_save_init(struct task_struct *tsk)
^
/usr/src/linux-headers-4.5.0-2-common/scripts/Makefile.build:263: recipe for target '/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o' failed
make[4]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
/usr/src/linux-headers-4.5.0-2-common/Makefile:1408: recipe for target '_module_/lib/modules/fglrx/build_mod/2.6.x' failed
make[3]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.5.0-2-amd64'
Makefile:88: recipe for target 'kmod_build' failed
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
[Reboot] Kernel Module : update-initramfs
답변1
~에 따르면데비안 위키설치해야 linux-headers
하며fglrx-modules-dkms
다음 줄을 추가하여 시작하십시오 sources.list
.
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
그런 다음 다음 명령을 입력하십시오.
aptitude update
aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') fglrx-driver
구성 파일 생성20-fglrx.conf
mkdir /etc/X11/xorg.conf.d
echo -e 'Section "Device"\n\tIdentifier "My GPU"\n\tDriver "fglrx"\nEndSection' > /etc/X11/xorg.conf.d/20-fglrx.conf
솔루션을 다시 시작하고 확인하십시오.