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 Webサイトから独自のドライバをインストールすると、次のエラーが発生します。
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
~によるとDebian Wikiインストールする必要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
ソリューションを再起動して確認してください。