Issue removing AMD PRO driver

Hello,
I did a stupid thing, I wanted to install the drivers "amd pro" to be able to encode with the encoder "amd vce" with handbreak, but manjaro is no longer usable, I have access but it bug. I install with the package "amdgpu-pro-installer.tar.gz" using the "PKGBUILD", but I do not know how to put back as before!

uninstall those drivers first, then reinstall drivers from mhwd

sudo mhwd -a pci free 0300

But that's what I do not know how to do, uninstall the amd pro driver.

post pacman -Qs amdgpu

it's ok for uninstall amd pro driver, but réinstall not work, driver already installed, and after reboot same bug probleme.

If you broke your setup by installing a third-party driver package then you might consider reinstalling Manjaro and chalking this up to experience.

really? There is no solution?

Do you know what changes you made and so can undo those changes?

Can you accurately share the steps you used to make the changes which might enable someone else to determine what went wrong?

If no to either of these then reinstalling is the best way forwards.

I simply installed this package:
aur.archlinux.org/packages/amdgpu-pro-libgl/

And what happened when you removed that package?

nothing special except that the screen resolution has changed.

And then did you run

?

yes!!

And then what?

no I did:
sudo mhwd -f -i pci video-linux
and
sudo mhwd -f -i pci vesa-linux
after reboot same probleme

are there some ancient instructions out there that actually suggest installing video-vesa to fix anything?

Not as far as I know. Everything for mhwd I've seen is as your provided command.

(Removing video-vesa on the other hand...)

why dont you post some actionable information.

???

along with

inxi -Fxxxza
mhwd -li
ls -laR /etc/X11 ; cat /etc/X11/xorg.conf.d/*.conf
1 Like

sorry, I had not understood, I thought this command was to remove the driver and so eventually the driver and is still installed.

[jb@jb-pc ~]$ pacman -Qs amdgpu
local/amdgpu-core-meta 19.30_855429-1 (Radeon_Software_for_Linux)
    Config file /etc/ld.so.conf.d/20-amdgpu.conf
local/amdgpu-pro-core-meta 19.30_855429-1 (Radeon_Software_for_Linux)
    Config file /etc/ld.so.conf.d/10-amdgpu-pro.conf
local/amdgpu-pro-libgl 19.30_855429-1 (Radeon_Software_for_Linux)
    AMDGPU Pro OpenGL driver
local/mhwd-amdgpu 1.2.1-1
    MHWD module-ids for amdgpu
local/opencl-amdgpu-pro-comgr 19.30_855429-1 (Radeon_Software_for_Linux)
    Code object manager (COMGR)
local/roct-amdgpu-pro 19.30_855429-1 (Radeon_Software_for_Linux)
    development environment for hsakmt-roct
local/xf86-video-amdgpu 19.0.1-1 (xorg-drivers)
    X.org amdgpu video driver
[jb@jb-pc ~]$ inxi -Fxxxza
System:
  Host: jb-pc Kernel: 5.2.11-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 9.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.2-x86_64 
  root=UUID=1247948a-d670-4e2c-957d-f0e39f1f4fca rw quiet 
  udev.log_priority=3 
  Desktop: KDE Plasma 5.16.4 tk: Qt 5.13.0 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop Mobo: Micro-Star model: B450M PRO-VDH PLUS (MS-7A38) 
  v: 7.0 serial: <filter> UEFI: American Megatrends v: 9.30 
  date: 03/06/2019 
CPU:
  Topology: Quad Core model: AMD Ryzen 3 3200G with Radeon Vega Graphics 
  bits: 64 type: MCP arch: Zen+ family: 17 (23) model-id: 18 (24) 
  stepping: 1 microcode: 8108102 L2 cache: 2048 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 28811 
  Speed: 2662 MHz min/max: 1400/3600 MHz boost: enabled Core speeds (MHz): 
  1: 2662 2: 2959 3: 2518 4: 2082 
  Vulnerabilities: Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, 
  STIBP: disabled, RSB filling 
Graphics:
  Device-1: AMD Picasso vendor: Micro-Star MSI driver: amdgpu v: kernel 
  bus ID: 38:00.0 chip ID: 1002:15d8 
  Display: x11 server: X.Org 1.20.5 driver: vesa compositor: kwin_x11 
  resolution: 1280x768~N/A 
  OpenGL: renderer: N/A v: N/A direct render: N/A 
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel 
  v: kernel bus ID: 38:00.1 chip ID: 1002:15de 
  Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 38:00.6 chip ID: 1022:15e3 
  Sound Server: ALSA v: k5.2.11-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Micro-Star MSI driver: r8168 v: 8.047.02-NAPI port: f000 
  bus ID: 1b:00.0 chip ID: 10ec:8168 
  IF: enp27s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 2.53 TiB used: 24.16 GiB (0.9%) 
  ID-1: /dev/nvme0n1 vendor: Kingston model: SKC2000M8250G 
  size: 232.89 GiB block size: physical: 512 B logical: 512 B 
  speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: S2681102 scheme: GPT 
  ID-2: /dev/sda vendor: Seagate model: ST3500418AS size: 465.76 GiB 
  block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  rotation: 7200 rpm serial: <filter> rev: CC44 scheme: MBR 
  ID-3: /dev/sdb vendor: Western Digital model: WD10EARS-22Y5B1 
  size: 931.51 GiB block size: physical: 4096 B logical: 512 B 
  speed: 3.0 Gb/s serial: <filter> rev: 0A80 scheme: MBR 
  ID-4: /dev/sdd type: USB vendor: Generic model: MassStorageClass 
  size: 29.81 GiB block size: physical: 512 B logical: 512 B 
  serial: <filter> rev: 1536 scheme: MBR 
  ID-5: /dev/sde type: USB vendor: Western Digital model: WD10JPVX-60JC3T0 
  size: 931.51 GiB block size: physical: 4096 B logical: 512 B 
  rotation: 5400 rpm serial: <filter> rev: 0302 scheme: MBR 
Partition:
  ID-1: / raw size: 117.19 GiB size: 114.85 GiB (98.00%) 
  used: 24.14 GiB (21.0%) fs: ext4 dev: /dev/nvme0n1p5 
Sensors:
  System Temperatures: cpu: 50.6 C mobo: N/A gpu: amdgpu temp: 50 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 262 Uptime: 1h 09m Memory: 15.42 GiB used: 1.70 GiB (11.0%) 
  Init: systemd v: 242 Compilers: gcc: 9.1.0 Shell: bash v: 5.0.9 
  running in: konsole inxi: 3.0.36 
[jb@jb-pc ~]$ mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
            video-vesa            2017.03.12                true            PCI
           video-linux            2018.05.04                true            PCI
         network-r8168            2016.04.20                true            PCI

[jb@jb-pc ~]$ ls -laR /etc/X11 ; cat /etc/X11/xorg.conf.d/*.conf
/etc/X11:
total 32
drwxr-xr-x  5 root root 4096 12 mars   2019 .
drwxr-xr-x 94 root root 4096 11 sept. 20:20 ..
drwxr-xr-x  2 root root 4096 11 sept. 20:17 mhwd.d
drwxr-xr-x  3 root root 4096 12 mars   2019 xinit
drwxr-xr-x  2 root root 4096 11 sept. 20:17 xorg.conf.d

/etc/X11/mhwd.d:
total 16
drwxr-xr-x 2 root root 4096 11 sept. 20:17 .
drwxr-xr-x 5 root root 4096 12 mars   2019 ..
-rw-r--r-- 1 root root  545 11 sept. 20:17 vesa.conf

/etc/X11/xinit:
total 28
drwxr-xr-x 3 root root 4096 12 mars   2019 .
drwxr-xr-x 5 root root 4096 12 mars   2019 ..
-rw-r--r-- 1 root root  739  4 mars   2019 xinitrc
drwxr-xr-x 2 root root 4096  6 sept. 21:58 xinitrc.d
-rw-r--r-- 1 root root   45  4 mars   2019 xserverrc

/etc/X11/xinit/xinitrc.d:
total 20
drwxr-xr-x 2 root root 4096  6 sept. 21:58 .
drwxr-xr-x 3 root root 4096 12 mars   2019 ..
-rwxr-xr-x 1 root root  318  9 nov.   2018 40-libcanberra-gtk-module.sh
-rwxr-xr-x 1 root root  203 18 août  10:43 50-systemd-user.sh

/etc/X11/xorg.conf.d:
total 16
drwxr-xr-x 2 root root 4096 11 sept. 20:17 .
drwxr-xr-x 5 root root 4096 12 mars   2019 ..
-rw-r--r-- 1 root root  266 30 août  21:18 00-keyboard.conf
lrwxrwxrwx 1 root root   25 11 sept. 20:17 90-mhwd.conf -> /etc/X11/mhwd.d/vesa.conf
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "fr"
        Option "XkbModel" "pc105"
EndSection
##
## Generated by mhwd - Manjaro Hardware Detection
##
 
 
Section "Device"
    Identifier  "Device0"
    Driver      "vesa"
    BusID       "PCI:56:0:0"
        Option      "DRI"    "true"
EndSection
 
 
Section "DRI"
        Group  "video"
        Mode   0666
EndSection
 
 
Section "Extensions"
    Option "Composite" "Enable"
    Option "RENDER"    "Enable"
EndSection
 
 
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

I advance! I successfully uninstalled the AMD PRO driver! (for you it's nothing, but for me it's huge lol)
Everything works ALMOST as before, now the problem is that my screen is no longer recognized, and therefore the resolution is blocked

Forum kindly sponsored by Bytemark