انجمنهای فارسی اوبونتو
کمک و پشتیبانی => انجمن عمومی => نویسنده: محمد باقر فکوری در 27 فروردین 1400، 11:42 بظ
-
سلام من در نصب گرافیک amd رو زوبونتو مشکل دارم
من فایل گرافیک را از سایت AMD دانلود کردم لینوکسم ۶۴ بیت هستش
https://www.amd.com/en/support/graphics/amd-radeon-r5-series/amd-radeon-r5-200-series/amd-radeon-r5-m230 (https://www.amd.com/en/support/graphics/amd-radeon-r5-series/amd-radeon-r5-200-series/amd-radeon-r5-m230)
وفایل ، یک فایل deb هستش
در نصب بعد یک سری فرایندی با ارور مواجه شد
mf@mf-X555LP:~$ sudo dpkg -i '/home/mf/Downloads/fglrx_15.302-0ubuntu1_amd64_ub_14.01.deb'
[sudo] password for mf:
Selecting previously unselected package fglrx.
(Reading database ... 312038 files and directories currently installed.)
Preparing to unpack .../fglrx_15.302-0ubuntu1_amd64_ub_14.01.deb ...
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
Unpacking fglrx (2:15.302-0ubuntu1) ...
dpkg: dependency problems prevent configuration of fglrx:
fglrx depends on fglrx-core; however:
Package fglrx-core is not installed.
dpkg: error processing package fglrx (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (245.4-4ubuntu3.6) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Errors were encountered while processing:
fglrx
-
بهتر بود از اول با apt نصب رو شروع میکردید که اگه لازم بود خودش چیزهای دیگه رو نصب میکرد.
اول لیست مخازن رو آپدیت کنید.sudo apt update
حالا این دستور رو بزنید تا مشکل بستهها رو درست کنه.sudo apt install -f
-
بهتر بود از اول با apt نصب رو شروع میکردید که اگه لازم بود خودش چیزهای دیگه رو نصب میکرد.
اول لیست مخازن رو آپدیت کنید.sudo apt update
حالا این دستور رو بزنید تا مشکل بستهها رو درست کنه.sudo apt install -f
با خطا مواجه شد!
mf@mf-X555LP:~/Downloads$ sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
gstreamer1.0-plugins-base:i386 libapparmor1:i386 libasn1-8-heimdal:i386
libasound2:i386 libasyncns0:i386 libatomic1:i386 libbrotli1:i386
libbsd0:i386 libcairo2:i386 libcap2:i386 libcapi20-3:i386
libcdparanoia0:i386 libdav1d4 libdbus-1-3:i386 libdeflate0:i386
libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386
libdrm-radeon1:i386 libdrm2:i386 libdw1:i386 libedit2:i386 libelf1:i386
libexif12:i386 libexpat1:i386 libffi7:i386 libflac8:i386 libfontconfig1:i386
libfreetype6:i386 libgbm1:i386 libgd3:i386 libglapi-mesa:i386
libgles2-mesa-dev libglib2.0-0:i386 libglvnd0:i386 libgmp10:i386
libgnutls30:i386 libgphoto2-6:i386 libgphoto2-port12:i386 libgsm1:i386
libgssapi3-heimdal:i386 libgstreamer-plugins-base1.0-0:i386
libgstreamer1.0-0:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386
libheimntlm0-heimdal:i386 libhogweed5:i386 libhx509-5-heimdal:i386
libicu66:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386
libkrb5-26-heimdal:i386 liblcms2-2:i386 libldap-2.4-2:i386 libllvm11
libllvm11:i386 libltdl7:i386 libmpg123-0:i386 libnettle7:i386
libnvidia-compute-460:i386 libodbc1:i386 libogg0:i386 libopenal1:i386
libopus0:i386 liborc-0.4-0:i386 libp11-kit0:i386 libpcap0.8:i386
libpciaccess0:i386 libpixman-1-0:i386 libpng16-16:i386 libpulse0:i386
libroken18-heimdal:i386 libsasl2-2:i386 libsasl2-modules-db:i386
libsdl2-2.0-0:i386 libsensors5:i386 libsndfile1:i386 libsndio7.1:i386
libsqlite3-0:i386 libstb0:i386 libstdc++6:i386 libtasn1-6:i386
libtheora0:i386 libtiff5:i386 libunwind8:i386 libusb-1.0-0:i386 libusrsctp1
libv4l-0:i386 libv4lconvert0:i386 libvisual-0.4-0:i386 libvkd3d1:i386
libvorbis0a:i386 libvorbisenc2:i386 libvulkan1:i386 libwayland-client0:i386
libwayland-cursor0:i386 libwayland-egl1:i386 libwayland-server0:i386
libwebp6:i386 libwind0-heimdal:i386 libwrap0:i386 libx11-6:i386
libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386
libxcb-glx0:i386 libxcb-present0:i386 libxcb-randr0:i386 libxcb-render0:i386
libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386
libxcomposite1:i386 libxcursor1:i386 libxdmcp6:i386 libxext6:i386
libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386
libxml2:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386
libxshmfence1:i386 libxslt1.1:i386 libxss1:i386 libxxf86vm1:i386
libzstd1:i386 linux-headers-5.4.0-67 linux-headers-5.4.0-67-generic
linux-image-5.4.0-67-generic linux-modules-5.4.0-67-generic
linux-modules-extra-5.4.0-67-generic ocl-icd-libopencl1:i386
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
fglrx-core
The following NEW packages will be installed:
fglrx-core
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/57.8 MB of archives.
After this operation, 246 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously unselected package fglrx-core.
(Reading database ... 347330 files and directories currently installed.)
Preparing to unpack .../fglrx-core_2%3a15.302-0ubuntu1_amd64.deb ...
Unpacking fglrx-core (2:15.302-0ubuntu1) ...
Setting up fglrx-core (2:15.302-0ubuntu1) ...
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 mod
e
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
Loading new fglrx-core-15.302 DKMS files...
Building for 5.4.0-72-generic
Building for architecture x86_64
Building initial module for 5.4.0-72-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/fglrx-core.0.cr
ash'
Error! Bad return status for module build on kernel: 5.4.0-72-generic (x86_64)
Consult /var/lib/dkms/fglrx-core/15.302/build/make.log for more information.
dpkg: error processing package fglrx-core (--configure):
installed fglrx-core package post-installation script subprocess returned error
exit status 10
dpkg: dependency problems prevent configuration of fglrx:
fglrx depends on fglrx-core; however:
Package fglrx-core is not configured yet.
dpkg: error processing package fglrx (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup erro
r from a previous failure.
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Errors were encountered while processing:
fglrx-core
fglrx
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
AMD اصلا مگه نیاز به نصب داره؟ مگه تو خود کرنل راه اندازاش نیستن؟
-
AMD اصلا مگه نیاز به نصب داره؟ مگه تو خود کرنل راه اندازاش نیستن؟
راهاندازهای آزادش توی کرنل هستن. ولی راهاندازه انحصاری هم دارند که پیشفرض توی کرنل نیست.
با خطا مواجه شد!
mf@mf-X555LP:~/Downloads$ sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
gstreamer1.0-plugins-base:i386 libapparmor1:i386 libasn1-8-heimdal:i386
libasound2:i386 libasyncns0:i386 libatomic1:i386 libbrotli1:i386
libbsd0:i386 libcairo2:i386 libcap2:i386 libcapi20-3:i386
libcdparanoia0:i386 libdav1d4 libdbus-1-3:i386 libdeflate0:i386
libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386
libdrm-radeon1:i386 libdrm2:i386 libdw1:i386 libedit2:i386 libelf1:i386
libexif12:i386 libexpat1:i386 libffi7:i386 libflac8:i386 libfontconfig1:i386
libfreetype6:i386 libgbm1:i386 libgd3:i386 libglapi-mesa:i386
libgles2-mesa-dev libglib2.0-0:i386 libglvnd0:i386 libgmp10:i386
libgnutls30:i386 libgphoto2-6:i386 libgphoto2-port12:i386 libgsm1:i386
libgssapi3-heimdal:i386 libgstreamer-plugins-base1.0-0:i386
libgstreamer1.0-0:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386
libheimntlm0-heimdal:i386 libhogweed5:i386 libhx509-5-heimdal:i386
libicu66:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386
libkrb5-26-heimdal:i386 liblcms2-2:i386 libldap-2.4-2:i386 libllvm11
libllvm11:i386 libltdl7:i386 libmpg123-0:i386 libnettle7:i386
libnvidia-compute-460:i386 libodbc1:i386 libogg0:i386 libopenal1:i386
libopus0:i386 liborc-0.4-0:i386 libp11-kit0:i386 libpcap0.8:i386
libpciaccess0:i386 libpixman-1-0:i386 libpng16-16:i386 libpulse0:i386
libroken18-heimdal:i386 libsasl2-2:i386 libsasl2-modules-db:i386
libsdl2-2.0-0:i386 libsensors5:i386 libsndfile1:i386 libsndio7.1:i386
libsqlite3-0:i386 libstb0:i386 libstdc++6:i386 libtasn1-6:i386
libtheora0:i386 libtiff5:i386 libunwind8:i386 libusb-1.0-0:i386 libusrsctp1
libv4l-0:i386 libv4lconvert0:i386 libvisual-0.4-0:i386 libvkd3d1:i386
libvorbis0a:i386 libvorbisenc2:i386 libvulkan1:i386 libwayland-client0:i386
libwayland-cursor0:i386 libwayland-egl1:i386 libwayland-server0:i386
libwebp6:i386 libwind0-heimdal:i386 libwrap0:i386 libx11-6:i386
libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386
libxcb-glx0:i386 libxcb-present0:i386 libxcb-randr0:i386 libxcb-render0:i386
libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386
libxcomposite1:i386 libxcursor1:i386 libxdmcp6:i386 libxext6:i386
libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386
libxml2:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386
libxshmfence1:i386 libxslt1.1:i386 libxss1:i386 libxxf86vm1:i386
libzstd1:i386 linux-headers-5.4.0-67 linux-headers-5.4.0-67-generic
linux-image-5.4.0-67-generic linux-modules-5.4.0-67-generic
linux-modules-extra-5.4.0-67-generic ocl-icd-libopencl1:i386
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
fglrx-core
The following NEW packages will be installed:
fglrx-core
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/57.8 MB of archives.
After this operation, 246 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously unselected package fglrx-core.
(Reading database ... 347330 files and directories currently installed.)
Preparing to unpack .../fglrx-core_2%3a15.302-0ubuntu1_amd64.deb ...
Unpacking fglrx-core (2:15.302-0ubuntu1) ...
Setting up fglrx-core (2:15.302-0ubuntu1) ...
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 mod
e
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
Loading new fglrx-core-15.302 DKMS files...
Building for 5.4.0-72-generic
Building for architecture x86_64
Building initial module for 5.4.0-72-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/fglrx-core.0.cr
ash'
Error! Bad return status for module build on kernel: 5.4.0-72-generic (x86_64)
Consult /var/lib/dkms/fglrx-core/15.302/build/make.log for more information.
dpkg: error processing package fglrx-core (--configure):
installed fglrx-core package post-installation script subprocess returned error
exit status 10
dpkg: dependency problems prevent configuration of fglrx:
fglrx depends on fglrx-core; however:
Package fglrx-core is not configured yet.
dpkg: error processing package fglrx (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup erro
r from a previous failure.
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Errors were encountered while processing:
fglrx-core
fglrx
E: Sub-process /usr/bin/dpkg returned an error code (1)
به یه دلیلی نمیتونه درایور رو کامپایل کنه.
شاید بهتر باشه از درایورهای آزاد که توی کرنل هستن استفاده کنید.
-
سلام من در نصب گرافیک amd رو زوبونتو مشکل دارم
من فایل گرافیک را از سایت AMD دانلود کردم لینوکسم ۶۴ بیت هستش
https://www.amd.com/en/support/graphics/amd-radeon-r5-series/amd-radeon-r5-200-series/amd-radeon-r5-m230 (https://www.amd.com/en/support/graphics/amd-radeon-r5-series/amd-radeon-r5-200-series/amd-radeon-r5-m230)
وفایل ، یک فایل deb هستش
در نصب بعد یک سری فرایندی با ارور مواجه شد
mf@mf-X555LP:~$ sudo dpkg -i '/home/mf/Downloads/fglrx_15.302-0ubuntu1_amd64_ub_14.01.deb'
[sudo] password for mf:
Selecting previously unselected package fglrx.
(Reading database ... 312038 files and directories currently installed.)
Preparing to unpack .../fglrx_15.302-0ubuntu1_amd64_ub_14.01.deb ...
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
Unpacking fglrx (2:15.302-0ubuntu1) ...
dpkg: dependency problems prevent configuration of fglrx:
fglrx depends on fglrx-core; however:
Package fglrx-core is not installed.
dpkg: error processing package fglrx (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (245.4-4ubuntu3.6) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Errors were encountered while processing:
fglrx
مگه با درایو ازادش مشکل داری که میخوای انحصاری نصب کنی؟
-
سلام من در نصب گرافیک amd رو زوبونتو مشکل دارم
من فایل گرافیک را از سایت AMD دانلود کردم لینوکسم ۶۴ بیت هستش
https://www.amd.com/en/support/graphics/amd-radeon-r5-series/amd-radeon-r5-200-series/amd-radeon-r5-m230 (https://www.amd.com/en/support/graphics/amd-radeon-r5-series/amd-radeon-r5-200-series/amd-radeon-r5-m230)
وفایل ، یک فایل deb هستش
در نصب بعد یک سری فرایندی با ارور مواجه شد
mf@mf-X555LP:~$ sudo dpkg -i '/home/mf/Downloads/fglrx_15.302-0ubuntu1_amd64_ub_14.01.deb'
[sudo] password for mf:
Selecting previously unselected package fglrx.
(Reading database ... 312038 files and directories currently installed.)
Preparing to unpack .../fglrx_15.302-0ubuntu1_amd64_ub_14.01.deb ...
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
Unpacking fglrx (2:15.302-0ubuntu1) ...
dpkg: dependency problems prevent configuration of fglrx:
fglrx depends on fglrx-core; however:
Package fglrx-core is not installed.
dpkg: error processing package fglrx (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (245.4-4ubuntu3.6) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Errors were encountered while processing:
fglrx
مگه با درایو ازادش مشکل داری که میخوای انحصاری نصب کنی؟
برای نصب coda و کارهای پردازش هوش مصنوعی بهش نیاز دارم نمیتونم از GPU برای ترین مدل های هوش مصنوعی استفاده کنم !
-
فکر کنم مشکل اینه که اون درایورها فقط تا اوبونتو 14.04 رو پشتیبانی میکنند.
ببینید اونکه نوشته linux x86_64 برای شما کار نمیکنه؟
برای این اول بستههایی که نصب کردید رو پاک کنید.
sudo apt purge fglrx fglrx-core
بهتره بستههای اضافه سیستمتون رو هم حذف کنید. (از خروجی sudo apt install -f مشخصه خیلی بستههای اضافه دارید که استفاده نمیشن)
sudo apt autoremove
الان فایل رو از وبسایت amd دانلود کنید.
با این دستور فایل رو از حالت فشرده خارج کنید. (بهجای FILENAME اسم فایلی که دانلود کردید رو بزارید)
tar -xvf FILENAME
یه دایرکتوری ساخته میشه که یهسری چیز با یه اسکریپت داخلش هست.
اون اسکریپت رو اجرا کنید تا درایور رو نصب کنه. (بهجای script-name اسم اون اسکریپت رو بزارید.)
./script-name
-
فکر کنم مشکل اینه که اون درایورها فقط تا اوبونتو 14.04 رو پشتیبانی میکنند.
ببینید اونکه نوشته linux x86_64 برای شما کار نمیکنه؟
برای این اول بستههایی که نصب کردید رو پاک کنید.
sudo apt purge fglrx fglrx-core
بهتره بستههای اضافه سیستمتون رو هم حذف کنید. (از خروجی sudo apt install -f مشخصه خیلی بستههای اضافه دارید که استفاده نمیشن)
sudo apt autoremove
الان فایل رو از وبسایت amd دانلود کنید.
با این دستور فایل رو از حالت فشرده خارج کنید. (بهجای FILENAME اسم فایلی که دانلود کردید رو بزارید)
tar -xvf FILENAME
یه دایرکتوری ساخته میشه که یهسری چیز با یه اسکریپت داخلش هست.
اون اسکریپت رو اجرا کنید تا درایور رو نصب کنه. (بهجای script-name اسم اون اسکریپت رو بزارید.)
./script-name
mf@mf-X555LP:~/Downloads/fglrx-15.302$ '/home/mf/Downloads/fglrx-15.302/amd-driver-installer-15.302-x86.x86_64.run'
Created directory fglrx-install.uybsay
Verifying archive integrity... All good.
Uncompressing AMD Proprietary Driver-15.302...
=====================================================================
AMD Proprietary Driver Installer/Packager
=====================================================================
error: Detected X Server version 'XServer _64a' is not supported. Supported versions are X.Org 6.9 or later, up to XServer 1.10 (default:v2:x86_64:lib32:XServer _64a:none:5.8.0-50-generic:)
Installation will not proceed.
Removing temporary directory: fglrx-install.uybsay
-
اینجا در مورد نرمافزارهای انحصاریای که معادل آزاد دارن، صحبت نمیشه. اگه اصرار به استفاده از اونها دارید، از پشتیبانی خودشون کمک بگیرید.