我已经将我的 Ubuntu 14.10 升级到 Kubuntu 15.04,但我认为图形驱动程序会出现问题。
我正在寻找有关如何在 Kubuntu 15.04 上安装 fglrx 的分步教程。
在 14.04 上我完全没有遇到任何问题。我刚从 AMD 主页下载了驱动程序并编译它,它就运行完美了。(...直到我安装了 Wine)
我想在这里安装这个。Ubuntu 15.04 Catalyst 15.3 测试版 通过 sudo apt-get install fglrx-updates 安装
edd@edd-desktop:~$ sudo apt-get install fglrx-updates
[sudo] password for edd:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
fglrx-amdcccle-updates fglrx-updates-core
The following NEW packages will be installed:
fglrx-amdcccle-updates fglrx-updates fglrx-updates-core
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/115 MB of archives.
After this operation, 480 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package fglrx-updates-core.
(Reading database ... 202691 files and directories currently installed.)
Preparing to unpack .../fglrx-updates-core_2%3a15.200-0ubuntu4_amd64.deb ...
Unpacking fglrx-updates-core (2:15.200-0ubuntu4) ...
Selecting previously unselected package fglrx-updates.
Preparing to unpack .../fglrx-updates_2%3a15.200-0ubuntu4_amd64.deb ...
Unpacking fglrx-updates (2:15.200-0ubuntu4) ...
Selecting previously unselected package fglrx-amdcccle-updates.
Preparing to unpack .../fglrx-amdcccle-updates_2%3a15.200-0ubuntu4_amd64.deb ...
Unpacking fglrx-amdcccle-updates (2:15.200-0ubuntu4) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu5) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.1+15.04.20150202-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.58ubuntu1) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (219-7ubuntu5) ...
Setting up fglrx-updates-core (2:15.200-0ubuntu4) ...
update-alternatives: using /usr/lib/fglrx-core/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GFXCORE.conf (x86_64-linux-gnu_gfxcore_conf) in auto mode
Loading new fglrx-updates-core-15.200 DKMS files...
First Installation: checking all kernels...
Building only for 3.16.0-38-generic
Building for architecture x86_64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
update-initramfs: deferring update (trigger activated)
Setting up fglrx-updates (2:15.200-0ubuntu4) ...
update-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/fglrx/ld.so.conf because link group x86_64-linux-gnu_gl_conf is broken
update-alternatives: using /usr/lib/fglrx/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode
Setting up fglrx-amdcccle-updates (2:15.200-0ubuntu4) ...
Processing triggers for initramfs-tools (0.103ubuntu15) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-38-generic
cryptsetup: WARNING: failed to detect canonical device of /dev/sdb7
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (219-7ubuntu5) ...
编辑:我已经安装了 linux-generic,但仍然黑屏。当然,我在重新安装之前清除了 fglrx*。
$edd@edd-desktop:~$ dpkg -l | grep headers
ii linux-generic 3.19.0.18.17 amd64 Complete Generic Linux kernel and headers
ii linux-headers-3.19.0-18 3.19.0-18.18 all Header files related to Linux kernel version 3.19.0
ii linux-headers-3.19.0-18-generic 3.19.0-18.18 amd64 Linux kernel headers for version 3.19.0 on 64 bit x86 SMP
ii linux-headers-generic 3.19.0.18.17 amd64 Generic Linux kernel headers
edd@edd-desktop:~$ uname -a
Linux edd-desktop 3.19.0-18-generic #18-Ubuntu SMP Tue May 19 18:31:35 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
edd@edd-desktop:~$ sudo apt-get install --reinstall fglrx
[sudo] password for edd: Reading package lists... Done
Building dependency tree Reading state information... Done
The following extra packages will be installed:
fglrx-amdcccle fglrx-core
The following NEW packages will be installed:
fglrx fglrx-amdcccle fglrx-core
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/115 MB of archives.
After this operation, 480 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package fglrx-core.
(Reading database ... 232889 files and directories currently installed.) Preparing to unpack .../fglrx-core_2%3a15.200-0ubuntu4_amd64.deb ... Unpacking fglrx-core (2:15.200-0ubuntu4) ...
Selecting previously unselected package fglrx.
Preparing to unpack .../fglrx_2%3a15.200-0ubuntu4_amd64.deb ...
Unpacking fglrx (2:15.200-0ubuntu4) ...
Selecting previously unselected package fglrx-amdcccle.
Preparing to unpack .../fglrx-amdcccle_2%3a15.200-0ubuntu4_amd64.deb ... Unpacking fglrx-amdcccle (2:15.200-0ubuntu4) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot Processing triggers for systemd (219-7ubuntu5) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu5) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.1+15.04.20150202-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.58ubuntu1) ...
Setting up fglrx-core (2:15.200-0ubuntu4) ...
update-alternatives: using /usr/lib/fglrx-core/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GFXCORE.conf (x86_64-linux-gnu_gfxcore_conf) in auto mode Loading new fglrx-core-15.200 DKMS files... First Installation: checking all kernels...
Building only for 3.19.0-18-generic
Building for architecture x86_64
Building initial module for 3.19.0-18-generic Done.
fglrx: Running module version sanity check.
- Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/3.19.0-18-generic/updates/dkms/ depmod........
DKMS: install completed. update-initramfs: deferring update (trigger activated) Setting up fglrx (2:15.200-0ubuntu4) ...
update-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode update-alternatives: warning: forcing reinstallation of alternative /usr/lib/fglrx/ld.so.conf because link group x86_64-linux-gnu_gl_conf is broken
update-alternatives: using /usr/lib/fglrx/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode Setting up fglrx-amdcccle (2:15.200-0ubuntu4) ... Processing triggers for initramfs-tools (0.103ubuntu15) ...
update-initramfs: Generating /boot/initrd.img-3.19.0-18-generic cryptsetup: WARNING: failed to detect canonical device of /dev/sdb7 Processing triggers for libc-bin (2.21-0ubuntu4) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (219-7ubuntu5) ...
edd@edd-desktop:~$ uname -a Linux edd-desktop 3.19.0-18-generic
#18-Ubuntu SMP 2015 年 5 月 19 日星期二 18:31:35 UTC x86_64 x86_64 x86_64 GNU/Linux
edd@edd-desktop:~$ dpkg -l | grep headers
ii linux-generic 3.19.0.18.17 amd64 Complete Generic Linux kernel and headers
ii linux-headers-3.19.0-18 3.19.0-18.18 all Header files related to Linux kernel version 3.19.0
ii linux-headers-3.19.0-18-generic 3.19.0-18.18 amd64 Linux kernel headers for version 3.19.0 on 64 bit x86 SMP
ii linux-headers-generic 3.19.0.18.17 amd64 Generic Linux kernel headers
答案1
你可以通过运行来安装
sudo apt-get install fglrx-updates
根据安装日志,内核模块未构建。而且你似乎为 Kubuntu 15.04 安装了错误的内核。从 14.10 升级并不总是很顺利。这肯定是原因。
必须通过以下方式修复此问题:
sudo apt-get install linux-generic