Accidentally installed aur packages for "mhwd-nvidia"

hi,
I’m stuck on packages installed on the aur for MHWD-nvidia.
What can I do to revert to normal nvidia config ? I don’t know what to do.
Thanks for any advices.

Hi @Astalacoucougnasse,

Are you able to boot into your system or not?

yes I can boot to my os. I’m writing from a kde session. @Mirdarthos I still can use my CPU to control the screen. Do I need to remove that nvidia card first or I peraphs need to do some other operations to go back to normal state ?

In that case it should be relatively easy…theoretically anyway

(This is all in a terminal emulator BTW.)

  1. Uninstall the current, wrong package:
pamac remove mhwd-nvidia

Do not reboot afterwards.

  1. Install the package from the repository:
pamac install mhwd-nvidia
  1. Perform a forced Nvidia driver reinstall, by first removing it:
mhwd --remove pci nonfree video-nvidia

…and then reinstalling it:

mhwd --install --pci nonfree video-nvidia
  1. If done successfully, re-sync your system:
pamac upgrade && pamac upgrade --aur --devel || echo -e '\033[0;91mThere was an error upgrading the system. AUR packages not upgraded.\e[0m'

This will update your system and ONLY if that was successful update any AUR packages.

a Reminder: While use of the AUR is possible, it’s neither recommended nor supported.

I recommend pamac instead of pacman, especially for newcomers as pamac was developed by Manajaro (developers) for Manjaro and just takes care of more thing than pacman. For example:

  1. Try a reboot now.

If it worked, feel free to heap on the praise. If it didn’t, well, then I’m not here!

1 Like

It says it breaks the dependency mhdwd-nvidia>=455 required by mhwd-db

Then remove those as well, being careful not to interrupt the process by any means it’s until completed.

I erased the original xorg nvidia.conf
here’s a sample of the actual

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 535.104.05

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG Electronics BK550Y"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GTX 1630"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    30
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "1920x1080_60 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       30
    EndSubSection
EndSection

and it looks like I cannot boot on another kernel. Maybe my graphic card has a problem ?

Than I’d suggest recovering from a chroot environment. See

Might be, but we need more error codes to be able to diagnose.

Edit:

It might simply also be that the other kernels need reinstallation from the working one. See

Simply install mhwd-nvidia and replace it with the installed one from the AUR?

pamac install mhwd-nvidia
1 Like

hi, It is ignored as I have accidentally installed mhwd module ids from the aur.
I don’t remember installing such package??

https://aur.archlinux.org/packages/mhwd-nvidia

I’m stuck right now…

Then please show us where you stuck. In the first place, your interpretation is not necessary. The error message usually says more in context.

You actually said it:

and mhwd-nvidia is the offcial repos and in the AUR. So?