You are not logged in.

#1 2016-09-22 19:38:49

Tharbad
Member
Registered: 2016-02-27
Posts: 333

[Solved] Changing video driver

Hi everyone,

It seems that in my initial installation I installed nvidia legacy drivers instaed of lts or current.
However when I try to install the correct version I'm asked to remove xorg-server (and KDE and many others with it).

Is there another way? Something like ubuntu driver manager?

Thanks

Last edited by Tharbad (2016-09-23 17:36:14)

Offline

#2 2016-09-22 19:58:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Changing video driver

Paste the full commands and output.

And no, there is no Ubuntu driver manager, in Arch you (and pacman) manage your system.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-09-22 20:07:35

Tharbad
Member
Registered: 2016-02-27
Posts: 333

Re: [Solved] Changing video driver

I used pacman -Qi

Name            : nvidia-340xx-libgl
Version         : 340.96-4
Description     : NVIDIA drivers libraries symlinks
Architecture    : x86_64
URL             : [url]http://www.nvidia.com/[/url]
Licenses        : custom
Groups          : None
Provides        : libgl  libgles  libegl  nvidia-libgl
Depends On      : nvidia-340xx-utils
Optional Deps   : None
Required By     : cairo  clementine  dosbox  freeglut  glu  libreoffice-still  libva  libva-vdpau-driver  mesa-demos
                  mplayer  mpv  nvidia-340xx  projectm  qt4  qt5-base  webkitgtk  webkitgtk2  xorg-server
Optional For    : None
Conflicts With  : libgl  libgles  libegl  nvidia-libgl
Replaces        : None
Installed Size  : 33.00 KiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : IDT 09:39:34 2016 Aug 28 Sun
Install Date    : IDT 16:04:32 2016 Aug 28 Sun
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature
Name            : nvidia-340xx
Version         : 340.96-15
Description     : NVIDIA drivers for linux, 340xx legacy branch
Architecture    : x86_64
URL             : [url]http://www.nvidia.com/[/url]
Licenses        : custom
Groups          : None
Provides        : None
Depends On      : linux>=4.7  linux<4.8  libgl  nvidia-340xx-utils=340.96
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : nvidia
Replaces        : None
Installed Size  : 4.70 MiB
Packager        : Tobias Powalowski <tpowa@archlinux.org>
Build Date      : IDT 12:29:30 2016 Aug 21 Sun
Install Date    : IDT 19:11:57 2016 Aug 26 Fri
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature
Name            : nvidia-340xx-utils
Version         : 340.96-4
Description     : NVIDIA drivers utilities
Architecture    : x86_64
URL             : [url]http://www.nvidia.com/[/url]
Licenses        : custom
Groups          : None
Provides        : nvidia-utils
Depends On      : xorg-server
Optional Deps   : gtk2: nvidia-settings [installed]
                  xorg-server-devel: nvidia-xconfig
                  opencl-nvidia-340xx: OpenCL support
Required By     : lib32-nvidia-340xx-utils  nvidia-340xx  nvidia-340xx-libgl
Optional For    : None
Conflicts With  : nvidia-utils  libglvnd
Replaces        : None
Installed Size  : 129.68 MiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : IDT 09:38:30 2016 Aug 28 Sun
Install Date    : IDT 16:04:32 2016 Aug 28 Sun
Install Reason  : Installed as a dependency for another package
Install Script  : Yes
Validated By    : Signature

Last edited by Tharbad (2016-09-23 11:00:19)

Offline

#4 2016-09-22 20:42:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Changing video driver

Read man pacman: that command is just provding information, it isn't removing/replacing anything...

And please use code, not quote, tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-09-22 21:36:42

NuSkool
Member
Registered: 2015-03-23
Posts: 298

Re: [Solved] Changing video driver

I've been through something similar to what you're describing when changing video drivers in an Arch install. man pacman is your friend.

You may find, pacman -Rdd useful, not sure though.

pacman -d option for -R transaction: "Specify this option twice to skip all dependency checks."  I initially missed this when quickly reading the man page.

Last edited by NuSkool (2016-09-22 21:46:43)


grep -m1 'model name' /proc/cpuinfo : AMD Ryzen 7 8745HS w/ Radeon 780M Graphics
grep -m1 'model name' /proc/cpuinfo : AMD Ryzen 5 PRO 2400GE w/ Radeon Vega Graphics grep -m1 'model
grep -m1 'model name' /proc/cpuinfo : AMD Ryzen 7 PRO 5850U with Radeon Graphics
grep -m1 cpu /proc/cpuinfo                 : MIPS 24Kc V7.4

Offline

#6 2016-09-23 10:59:40

Tharbad
Member
Registered: 2016-02-27
Posts: 333

Re: [Solved] Changing video driver

NuSkool wrote:

I've been through something similar to what you're describing when changing video drivers in an Arch install. man pacman is your friend.

You may find, pacman -Rdd useful, not sure though.

pacman -d option for -R transaction: "Specify this option twice to skip all dependency checks."  I initially missed this when quickly reading the man page.

It worked? The dependencies just switched?
I'll have to do this from a cmd tty, right?

jasonwryan wrote:

Read man pacman: that command is just provding information, it isn't removing/replacing anything...

I know. I used Qi to show the dependencies.

Last edited by Tharbad (2016-09-23 11:01:08)

Offline

#7 2016-09-23 11:17:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: [Solved] Changing video driver

The dependency is that the programs rely on some form of libgl, there are multiple providers of libgl depending on your driver, you switch out the provider of libgl. for the short duration of switching between different libgls for different drivers, programs don't care that libgl is missing for a second, already running programs have already loaded their needed version of libgl into memory, as long as you don't close and attempt to reopen them, they don't care that you switched out the libgl on the filesystem. After you switched drivers it would be sane to reboot so that all programs load the new and correct libgl implementation.

Offline

#8 2016-09-23 14:30:40

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [Solved] Changing video driver

pacman -Syu nvidia nvidia-utils nvidia-libgl

Say yes to replace. There is no reason to mess around with -R(dd).


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#9 2016-09-23 17:35:59

Tharbad
Member
Registered: 2016-02-27
Posts: 333

Re: [Solved] Changing video driver

Mr.Elendig wrote:
pacman -Syu nvidia nvidia-utils nvidia-libgl

Say yes to replace. There is no reason to mess around with -R(dd).

Already used -Rdd. Worked perfect.

Thanks everyone

Offline

Board footer

Powered by FluxBB