Advertisement
Guest User

InstallingNVIDIAGPUsecTry

a guest
Jan 9th, 2023
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.85 KB | None | 0 0
  1. [stefan@stefan-pc~]$ pamac remove lib32-primus
  2. Preparing...
  3. Checking dependencies...
  4. Warning: bumblebee optionally requires lib32-primus: faster back-end for optirun
  5.  
  6. To remove (1):
  7. lib32-primus 20151110-5 multilib
  8.  
  9. Total removed size: 264,3 kB
  10.  
  11. Apply transaction ? [y/N] Y
  12. Removing lib32-primus (20151110-5)... [1/1]
  13. Transaction successfully finished.
  14. [stefan@stefan-pc~]$ pamac remove bumblebee
  15. Preparing...
  16. Checking dependencies...
  17. Error: Failed to prepare transaction:
  18. could not satisfy dependencies:
  19. - removing bumblebee breaks dependency 'bumblebee' required by primus
  20. [stefan@stefan-pc~]$ pamac --remove bumblebee
  21. Available actions:
  22. pamac --version
  23. pamac --help, -h [action]
  24. pamac search [options] <package(s)>
  25. pamac list [options] <package(s)>
  26. pamac info [options] <package(s)>
  27. pamac install [options] <package(s)>
  28. pamac reinstall [options] <package(s)>
  29. pamac remove [options] [package(s)]
  30. pamac checkupdates [options]
  31. pamac update,upgrade [options]
  32. pamac clone [options] <package(s)>
  33. pamac build [options] [package(s)]
  34. pamac clean [options]
  35. [stefan@stefan-pc~]$ mhwd --remove pci video-linux
  36. Error: You cannot perform this operation unless you are root!
  37. [stefan@stefan-pc~]$ sudo mhwd --remove pci video-linux
  38. [sudo] password for stefan:
  39. > Removing video-linux...
  40. Sourcing /etc/mhwd-x86_64.conf
  41. Has lib32 support: true
  42. Sourcing /var/lib/mhwd/local/pci/video-linux/MHWDCONFIG
  43. Processing classid: 0300
  44. Sourcing /var/lib/mhwd/scripts/include/0300
  45. Processing classid: 0380
  46. Processing classid: 0302
  47. checking dependencies...
  48. :: lib32-mesa optionally requires lib32-mesa-vdpau: for accelerated video playback
  49. :: lib32-vulkan-icd-loader optionally requires lib32-vulkan-driver: packaged vulkan driver
  50. :: libva optionally requires libva-mesa-driver: backend for AMD and Nvidia GPUs
  51. :: mesa optionally requires mesa-vdpau: for accelerated video playback
  52. :: mesa optionally requires libva-mesa-driver: for accelerated video playback
  53. :: steam optionally requires vulkan-driver: packaged vulkan driver
  54. :: steam optionally requires lib32-vulkan-driver: packaged vulkan driver (32 bit)
  55. :: vlc optionally requires libva-vdpau-driver: vdpau backend nvidia
  56. :: vulkan-icd-loader optionally requires vulkan-driver: packaged vulkan driver
  57.  
  58. Packages (15) lib32-libvdpau-1.5-1 libxvmc-1.0.13-1 lib32-libva-vdpau-driver-0.7.4-7 lib32-mesa-vdpau-22.3.1-1 lib32-vulkan-intel-22.3.1-1 lib32-vulkan-radeon-22.3.1-1 libva-mesa-driver-22.3.1-1 libva-vdpau-driver-0.7.4-6 mesa-vdpau-22.3.1-1 vulkan-intel-22.3.1-1 vulkan-radeon-22.3.1-1 xf86-video-amdgpu-22.0.0-1 xf86-video-ati-1:19.1.0.r15.g7a6a34af-1 xf86-video-intel-1:2.99.917+916+g31486f40-2 xf86-video-nouveau-1.0.17-2
  59.  
  60. Total Removed Size: 92,91 MiB
  61.  
  62. :: Do you want to remove these packages? [Y/n]
  63. :: Processing package changes...
  64. removing lib32-mesa-vdpau...
  65. removing lib32-libva-vdpau-driver...
  66. removing lib32-libvdpau...
  67. removing lib32-vulkan-radeon...
  68. removing lib32-vulkan-intel...
  69. removing mesa-vdpau...
  70. removing libva-vdpau-driver...
  71. removing libva-mesa-driver...
  72. removing vulkan-radeon...
  73. removing vulkan-intel...
  74. removing xf86-video-nouveau...
  75. removing xf86-video-intel...
  76. removing libxvmc...
  77. removing xf86-video-amdgpu...
  78. removing xf86-video-ati...
  79. :: Running post-transaction hooks...
  80. (1/1) Arming ConditionNeedsUpdate...
  81. xorg configuration symlink valid...
  82. > Successfully removed video-linux
  83. [stefan@stefan-pc~]$ mhwd --remove pci video-hybrid-intel-nvidia-470xx-prime
  84. Error: You cannot perform this operation unless you are root!
  85. [stefan@stefan-pc~]$ sudo mhwd --remove pci video-hybrid-intel-nvidia-470xx-prime
  86. > Removing video-hybrid-intel-nvidia-470xx-prime...
  87. Sourcing /etc/mhwd-x86_64.conf
  88. Has lib32 support: true
  89. Sourcing /var/lib/mhwd/local/pci/video-hybrid-intel-nvidia-470xx-prime/MHWDCONFIG
  90. Processing classid: 0300
  91. Sourcing /var/lib/mhwd/scripts/include/0300
  92. checking dependencies...
  93. :: bumblebee optionally requires nvidia: NVIDIA kernel driver
  94. :: ffmpeg optionally requires nvidia-utils: Nvidia NVDEC/NVENC support
  95. :: ffmpeg4.4 optionally requires nvidia-utils: Nvidia NVDEC/NVENC support
  96. :: lib32-vulkan-icd-loader optionally requires lib32-vulkan-driver: packaged vulkan driver
  97. :: steam optionally requires vulkan-driver: packaged vulkan driver
  98. :: steam optionally requires lib32-vulkan-driver: packaged vulkan driver (32 bit)
  99. :: vulkan-icd-loader optionally requires vulkan-driver: packaged vulkan driver
  100. warning: dependency cycle detected:
  101. warning: eglexternalplatform will be removed after its nvidia-470xx-utils dependency
  102.  
  103. Packages (8) egl-wayland-2:1.1.11-2 eglexternalplatform-1.1-2 libxnvctrl-470xx-470.161.03-1 lib32-nvidia-470xx-utils-470.161.03-1 linux510-nvidia-470xx-470.161.03-7 linux54-nvidia-470xx-470.161.03-5 nvidia-470xx-utils-470.161.03-1 nvidia-prime-1.0-4
  104.  
  105. Total Removed Size: 596,71 MiB
  106.  
  107. :: Do you want to remove these packages? [Y/n]
  108. :: Processing package changes...
  109. removing linux54-nvidia-470xx...
  110. removing linux510-nvidia-470xx...
  111. removing lib32-nvidia-470xx-utils...
  112. xorg configuration symlink valid...
  113. removing nvidia-prime...
  114. removing nvidia-470xx-utils...
  115. xorg configuration symlink valid...
  116. removing libxnvctrl-470xx...
  117. removing egl-wayland...
  118. removing eglexternalplatform...
  119. :: Running post-transaction hooks...
  120. (1/5) Reloading system manager configuration...
  121. (2/5) Reloading device manager configuration...
  122. (3/5) Arming ConditionNeedsUpdate...
  123. (4/5) Updating module dependencies...
  124. (5/5) Updating the desktop file MIME type cache...
  125. '/etc/X11/xorg.conf.d/90-mhwd.conf' symlink is invalid! Removing it...
  126. > Successfully removed video-hybrid-intel-nvidia-470xx-prime
  127. [stefan@stefan-pc~]$ sudo mhwd --remove pci video-modesetting
  128. > Removing video-modesetting...
  129. Sourcing /etc/mhwd-x86_64.conf
  130. Has lib32 support: true
  131. Sourcing /var/lib/mhwd/local/pci/video-modesetting/MHWDCONFIG
  132. Processing classid: 0300
  133. Sourcing /var/lib/mhwd/scripts/include/0300
  134. > Successfully removed video-modesetting
  135. [stefan@stefan-pc~]$ sudo mhwd --install video-hybrid-intel-nvidia-470xx-prime
  136. Error: invalid use of option: -i/--install
  137.  
  138. Usage: mhwd [OPTIONS] <config(s)>
  139.  
  140. --pci list only pci devices and driver configs
  141. --usb list only usb devices and driver configs
  142. -h/--help show help
  143. -v/--version show version of mhwd
  144. -f/--force force reinstallation
  145. -d/--detail show detailed info for -l/-li/-lh
  146. -l/--list list available configs for devices
  147. -la/--listall list all driver configs
  148. -li/--listinstalled list installed driver configs
  149. -lh/--listhardware list hardware information
  150. -i/--install <usb/pci> <config(s)> install driver config(s)
  151. -ic/--installcustom <usb/pci> <path> install custom config(s)
  152. -r/--remove <usb/pci> <config(s)> remove driver config(s)
  153. -a/--auto <usb/pci> <free/nonfree> <classid> auto install configs for classid
  154. --pmcachedir <path> set package manager cache path
  155. --pmconfig <path> set package manager config
  156. --pmroot <path> set package manager root
  157.  
  158. [stefan@stefan-pc~]$ mhwd --install video-hybrid-intel-nvidia-470xx-prime
  159. Error: invalid use of option: -i/--install
  160.  
  161. Usage: mhwd [OPTIONS] <config(s)>
  162.  
  163. --pci list only pci devices and driver configs
  164. --usb list only usb devices and driver configs
  165. -h/--help show help
  166. -v/--version show version of mhwd
  167. -f/--force force reinstallation
  168. -d/--detail show detailed info for -l/-li/-lh
  169. -l/--list list available configs for devices
  170. -la/--listall list all driver configs
  171. -li/--listinstalled list installed driver configs
  172. -lh/--listhardware list hardware information
  173. -i/--install <usb/pci> <config(s)> install driver config(s)
  174. -ic/--installcustom <usb/pci> <path> install custom config(s)
  175. -r/--remove <usb/pci> <config(s)> remove driver config(s)
  176. -a/--auto <usb/pci> <free/nonfree> <classid> auto install configs for classid
  177. --pmcachedir <path> set package manager cache path
  178. --pmconfig <path> set package manager config
  179. --pmroot <path> set package manager root
  180.  
  181. [stefan@stefan-pc~]$ mhwd --install pci video-hybrid-imhwd --install pci video-hybrid-intel-nvidia-470xx-prime
  182. Error: You cannot perform this operation unless you are root!
  183. [stefan@stefan-pc~]$ sudo mhwd --install pci video-hybrid-intel-nvidia-470xx-prime
  184. > Dependencies to install: video-modesetting
  185. > Installing dependency video-modesetting...
  186. Sourcing /etc/mhwd-x86_64.conf
  187. Has lib32 support: true
  188. Sourcing /var/lib/mhwd/db/pci/graphic_drivers/video-modesetting/MHWDCONFIG
  189. Processing classid: 0300
  190. Sourcing /var/lib/mhwd/scripts/include/0300
  191. :: Synchronizing package databases...
  192. core downloading...
  193. extra downloading...
  194. community downloading...
  195. multilib downloading...
  196. > Successfully installed dependency video-modesetting
  197. > Installing video-hybrid-intel-nvidia-470xx-prime...
  198. Sourcing /etc/mhwd-x86_64.conf
  199. Has lib32 support: true
  200. Sourcing /var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-470xx-prime/MHWDCONFIG
  201. Processing classid: 0300
  202. Sourcing /var/lib/mhwd/scripts/include/0300
  203. resolving dependencies...
  204. looking for conflicting packages...
  205. warning: dependency cycle detected:
  206. warning: eglexternalplatform will be installed before its nvidia-470xx-utils dependency
  207.  
  208. Packages (8) egl-wayland-2:1.1.11-2 eglexternalplatform-1.1-2 libxnvctrl-470xx-470.161.03-1 lib32-nvidia-470xx-utils-470.161.03-1 linux510-nvidia-470xx-470.161.03-7 linux54-nvidia-470xx-470.161.03-5 nvidia-470xx-utils-470.161.03-1 nvidia-prime-1.0-4
  209.  
  210. Total Installed Size: 596,71 MiB
  211.  
  212. :: Proceed with installation? [Y/n]
  213. :: Retrieving packages...
  214. eglexternalplatform-1.1-2-any downloading...
  215. checking keyring...
  216. checking package integrity...
  217. loading package files...
  218. checking for file conflicts...
  219. checking available disk space...
  220. :: Processing package changes...
  221. installing eglexternalplatform...
  222. installing egl-wayland...
  223. installing libxnvctrl-470xx...
  224. installing nvidia-470xx-utils...
  225. ==> If you run into trouble with CUDA not being available, run nvidia-modprobe first.
  226. Optional dependencies for nvidia-470xx-utils
  227. xorg-server-devel: nvidia-xconfig
  228. opencl-nvidia: OpenCL support
  229. installing nvidia-prime...
  230. installing lib32-nvidia-470xx-utils...
  231. Optional dependencies for lib32-nvidia-470xx-utils
  232. lib32-opencl-nvidia-470xx
  233. installing linux510-nvidia-470xx...
  234. installing linux54-nvidia-470xx...
  235. :: Running post-transaction hooks...
  236. (1/7) Creating system user accounts...
  237. (2/7) Reloading system manager configuration...
  238. (3/7) Reloading device manager configuration...
  239. (4/7) Arming ConditionNeedsUpdate...
  240. (5/7) Updating module dependencies...
  241. (6/7) Updating Kernel initcpios for Nvidia-DRM...
  242. ==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'default'
  243. -> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64.img
  244. ==> Starting build: 5.10.161-1-MANJARO
  245. -> Running build hook: [base]
  246. -> Running build hook: [udev]
  247. -> Running build hook: [autodetect]
  248. -> Running build hook: [modconf]
  249. -> Running build hook: [block]
  250. -> Running build hook: [keyboard]
  251. -> Running build hook: [keymap]
  252. -> Running build hook: [filesystems]
  253. ==> Generating module dependencies
  254. ==> Creating gzip-compressed initcpio image: /boot/initramfs-5.10-x86_64.img
  255. ==> Image generation successful
  256. ==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'fallback'
  257. -> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64-fallback.img -S autodetect
  258. ==> Starting build: 5.10.161-1-MANJARO
  259. -> Running build hook: [base]
  260. -> Running build hook: [udev]
  261. -> Running build hook: [modconf]
  262. -> Running build hook: [block]
  263. -> Running build hook: [keyboard]
  264. -> Running build hook: [keymap]
  265. -> Running build hook: [filesystems]
  266. ==> Generating module dependencies
  267. ==> Creating gzip-compressed initcpio image: /boot/initramfs-5.10-x86_64-fallback.img
  268. ==> Image generation successful
  269. ==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'default'
  270. -> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64.img
  271. ==> Starting build: 5.4.228-1-MANJARO
  272. -> Running build hook: [base]
  273. -> Running build hook: [udev]
  274. -> Running build hook: [autodetect]
  275. -> Running build hook: [modconf]
  276. -> Running build hook: [block]
  277. -> Running build hook: [keyboard]
  278. -> Running build hook: [keymap]
  279. -> Running build hook: [filesystems]
  280. ==> Generating module dependencies
  281. ==> Creating gzip-compressed initcpio image: /boot/initramfs-5.4-x86_64.img
  282. ==> Image generation successful
  283. ==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'fallback'
  284. -> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64-fallback.img -S autodetect
  285. ==> Starting build: 5.4.228-1-MANJARO
  286. -> Running build hook: [base]
  287. -> Running build hook: [udev]
  288. -> Running build hook: [modconf]
  289. -> Running build hook: [block]
  290. -> Running build hook: [keyboard]
  291. -> Running build hook: [keymap]
  292. -> Running build hook: [filesystems]
  293. ==> Generating module dependencies
  294. ==> Creating gzip-compressed initcpio image: /boot/initramfs-5.4-x86_64-fallback.img
  295. ==> Image generation successful
  296. (7/7) Updating the desktop file MIME type cache...
  297. nvidia-470xx-utils: install reason has been set to 'explicitly installed'
  298. nvidia-prime: install reason has been set to 'explicitly installed'
  299. lib32-nvidia-470xx-utils: install reason has been set to 'explicitly installed'
  300. linux510-nvidia-470xx: install reason has been set to 'explicitly installed'
  301. linux54-nvidia-470xx: install reason has been set to 'explicitly installed'
  302. xorg configuration file: '/etc/X11/mhwd.d/nvidia.conf'
  303. > Successfully installed video-hybrid-intel-nvidia-470xx-prime
  304.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement