22-06-2020, 22:25
0
(22-06-2020, 22:08)yahoob3 napisał(a): To chyba nie będzie takie proste. Cierpliwości.
Możesz spróbować tego (ale za wynik nie ręczę):
Kod:sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt-get update
sudo apt -y upgrade
wyniki z konsoli dla dwóch pierwszych komend z trzecia jest problem
Kod:
maciej@maciej-Lenovo-G510:~$ sudo add-apt-repository ppa:oibaf/graphics-drivers
[sudo] hasło użytkownika maciej:
Masz zamiar dodać następujące PPA:
PLEASE READ: don't email me to report bugs, unless you are sure it's a packaging bug. Not only is email not a good tool for tracking bugs, it also excludes anybody else from tracking or working on the issue. Please read the section "Debugging and reporting problems" below.
Also, please don't ask me to include non-free drivers, I won't do it.
Patches and suggestions are welcomed.
=============
Supported architectures: amd64, arm64, i386
Supported Ubuntu versions:
- 18.04 (bionic) <- supported, but you need to install newer kernel with:
sudo apt install --install-recommends linux-generic-hwe-18.04
- 19.10 (eoan) <- supported
- 20.04 (focal) <- supported
For forum support see: http://goo.gl/qoUpWK
=== Introduction ===
This PPA provides updated free graphics drivers packages for radeon, intel and nvidia hardware. Updates packages provide:
* all driver packages are automagically built twice a day, when there are upstream changes
* Vulkan 1.2+ on recent intel and radeon GPU
* OpenGL 4.6+ support and new OpenGL extensions: http://mesamatrix.net
* gallium-nine support. Read the specific section below
* VDPAU and VAAPI Gallium3D accelerated video drivers (see below)
* packages built against latest stable LLVM
* Intel iris driver enabled by default
* mesa packages built with gcc LTO for smaller binary size (~10-15%) and improved performance
As an added bonus I may include some updated open source games (backported from Debian or newer Ubuntu).
=== Basic usage ===
See "Adding this PPA to your system" later on, or just do:
sudo add-apt-repository ppa:oibaf/graphics-drivers
and update your Ubuntu with the package here.
=== Using gallium-nine ===
Gallium-nine lets you run DirectX 9 games in a faster way, avoiding the inefficient translation of D3D9 calls to OpenGL. For more info see https://wiki.ixit.cz/d3d9
You need:
* enable this PPA (see previous paragraph)
* then follow the instructions to install wine from this PPA: https://launchpad.net/~commendsarnex/+archive/ubuntu/winedri3
=== Using alternative drivers - Here be dragons ===
* AMD radv Vulkan driver with experimental ACO backend:
Set RADV_PERFTEST=aco
* zink - OpenGL emulated on a Vulkan driver:
Set MESA_LOADER_DRIVER_OVERRIDE=zink
* Old Intel i965 OpenGL driver (iris is the default):
Set MESA_LOADER_DRIVER_OVERRIDE=i965
* llvmpipe OpenGL software render:
Set MESA_LOADER_DRIVER_OVERRIDE=llvmpipe
* Other options here: https://www.mesa3d.org/envvars.html
=== Using accelerated video ===
Supported VDPAU drivers: r300, r600, radeonsi, nouveau
Supported VAAPI drivers: r600, radeonsi
* First you need to install mesa-vdpau-drivers package:
sudo apt-get install mesa-vdpau-drivers
* Then to test the VDPAU driver with mpv use:
$ mpv --hwdec=vdpau yourvideofile
=== Upgrading to a newer Ubuntu ===
It is *strongly* suggested to remove all packages from this PPA before updating to a newer Ubuntu release. See the section "Revert to original drivers" later on.
Then, after the upgrade, you can add again this PPA.
=== Debugging and reporting problems ===
If you have some problem with the drivers try running the application from the command line and see if there are graphics related warnings. Also type dmesg to see if there are other related information here.
If you get crashes install the relevant -dbg pacakges (libgl1-mesa-dri-dbg or libgl1-mesa-dri-experimental-dbg for 3D drivers and xserver-xorg-video-intel-dbg , xserver-xorg-video-nouveau-dbg or xserver-xorg-video-radeon-dbg for X drivers) and reproduce the crash with gdb. Example:
$ gdb glxgears
[...make your application crash and then get a backtrace with:]
(gdb) bt
If X.org crashes look at /var/log/Xorg.0.log (or /var/log/Xorg.0.log.old when a new X session is started after the crash).
With the gathered information try searching at https://bugs.freedesktop.org/query.cgi (also try with google) if someone already reported a similar bug. If not you may want to report a new bug:
for 3D drivers bugs: https://www.mesa3d.org/bugs.html
for X / 2D driver bugs: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
=== Revert to original drivers ===
To revert to standard Ubuntu drivers type the following in a prompt shell:
$ sudo apt-get install ppa-purge
$ sudo ppa-purge ppa:oibaf/graphics-drivers
=== Donations ===
Some people asked me if I can accept donations to support this work. I don't, but if you have some spare money I would be happy if you could do a donation to a charity of your choice (for the poors, animals, whatever else you may think it might need it). Then feel free to send me a note about it!
Więcej informacji: https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers
Wciśnij Enter, aby kontynuować; Crtl+C, aby anulować
Executing: /tmp/apt-key-gpghome.E71hy8FunQ/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 5ABCE68FF4633EA42E219156957D2708A03A4626
gpg: key 957D2708A03A4626: 12 signatures not checked due to missing keys
gpg: klucz 957D2708A03A4626: ,,Launchpad PPA for Fabio Pedretti'' bez zmian
gpg: Ogółem przetworzonych kluczy: 1
gpg: bez zmian: 1
maciej@maciej-Lenovo-G510:~$ sudo apt-get update
Stary:1 http://ubuntu.task.gda.pl/ubuntu bionic InRelease
Stary:2 http://ubuntu.task.gda.pl/ubuntu bionic-updates InRelease
Stary:3 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic InRelease
Stary:4 http://ubuntu.task.gda.pl/ubuntu bionic-backports InRelease
Stary:5 http://dl.google.com/linux/chrome/deb stable InRelease
Stary:6 http://archive.canonical.com/ubuntu bionic InRelease
Stary:7 http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu bionic InRelease
Pobieranie:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Stary:9 http://repo.radeon.com/rocm/apt/debian xenial InRelease
Ign.:10 http://packages.linuxmint.com tricia InRelease
Ign.:11 https://linuxmint.com.ru/repo/xenial InRelease
Stary:12 http://packages.linuxmint.com tricia Release
Pobieranie:13 https://linuxmint.com.ru/repo/xenial Release [346 B]
Pobieranie:14 https://linuxmint.com.ru/repo/xenial Release.gpg [819 B]
Ign.:14 https://linuxmint.com.ru/repo/xenial Release.gpg
Czytanie list pakietów... Gotowe
W: Błąd GPG: https://linuxmint.com.ru/repo/xenial Release: Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 519B0BC12836B530
E: Repozytorium 'https://linuxmint.com.ru/repo/xenial Release' jest niepodpisane.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
maciej@maciej-Lenovo-G510:~$ sudo apt -y upgrade
apt
Usage: apt command [options]
apt help command [options]
Commands:
add-repository - Add entries to apt sources.list
autoclean - Erase old downloaded archive files
autoremove - Remove automatically all unused packages
build - Build binary or source packages from sources
build-dep - Configure build-dependencies for source packages
changelog - View a package's changelog
check - Verify that there are no broken dependencies
clean - Erase downloaded archive files
contains - List packages containing a file
content - List files contained in a package
deb - Install a .deb package
depends - Show raw dependency information for a package
dist-upgrade - Upgrade the system by removing/installing/upgrading packages
download - Download the .deb file for a package
edit-sources - Edit /etc/apt/sources.list with your preferred text editor
dselect-upgrade - Follow dselect selections
full-upgrade - Same as 'dist-upgrade'
held - List all held packages
help - Show help for a command
hold - Hold a package
install - Install/upgrade packages
list - List packages based on package names
policy - Show policy settings
purge - Remove packages and their configuration files
recommends - List missing recommended packages for a particular package
rdepends - Show reverse dependency information for a package
reinstall - Download and (possibly) reinstall a currently installed package
remove - Remove packages
search - Search for a package by name and/or expression
show - Display detailed information about a package
showhold - Same as 'held'
showsrc - Display all the source package records that match the given package name
source - Download source archives
sources - Same as 'edit-sources'
unhold - Unhold a package
update - Download lists of new/upgradable packages
upgrade - Perform a safe upgrade
version - Show the installed version of a package
maciej@maciej-Lenovo-G510:~$ sudo apt -y upgrade
apt
Usage: apt command [options]
apt help command [options]
Commands:
add-repository - Add entries to apt sources.list
autoclean - Erase old downloaded archive files
autoremove - Remove automatically all unused packages
build - Build binary or source packages from sources
build-dep - Configure build-dependencies for source packages
changelog - View a package's changelog
check - Verify that there are no broken dependencies
clean - Erase downloaded archive files
contains - List packages containing a file
content - List files contained in a package
deb - Install a .deb package
depends - Show raw dependency information for a package
dist-upgrade - Upgrade the system by removing/installing/upgrading packages
download - Download the .deb file for a package
edit-sources - Edit /etc/apt/sources.list with your preferred text editor
dselect-upgrade - Follow dselect selections
full-upgrade - Same as 'dist-upgrade'
held - List all held packages
help - Show help for a command
hold - Hold a package
install - Install/upgrade packages
list - List packages based on package names
policy - Show policy settings
purge - Remove packages and their configuration files
recommends - List missing recommended packages for a particular package
rdepends - Show reverse dependency information for a package
reinstall - Download and (possibly) reinstall a currently installed package
remove - Remove packages
search - Search for a package by name and/or expression
show - Display detailed information about a package
showhold - Same as 'held'
showsrc - Display all the source package records that match the given package name
source - Download source archives
sources - Same as 'edit-sources'
unhold - Unhold a package
update - Download lists of new/upgradable packages
upgrade - Perform a safe upgrade
version - Show the installed version of a package
maciej@maciej-Lenovo-G510:~$