Nvidia prime leads to black screen

Thank you
ok I will do fresh install then install Prime by this tutorial [HowTo] Set up PRIME with NVIDIA proprietary driver
then run Pacman -Syu, then run this optimus-manager,
@Librewish But do I have to remove Nvidia x server settings?

no need to setup prime if you use optimus-manager

Ok thank you I will try this now and get back here

IMPORTANT : make sure you do not have any configuration file conflicting with the ones autogenerated by optimus-manager. In particular, remove everything related to displays or GPUs in /etc/X11/xorg.conf, /etc/X11/xorg.conf.d/ and also in /etc/X11/mhwd.d/. Avoid running nvidia-xconfig or using the Save to X Configuration file in the Nvidia control panel. If you need to apply specific options to your Xorg config, see the Optimus_Manager#Configuration.

If you have bumblebee installed on your system, uninstall it or at least make sure the bumblebeed service is disabled. Finally, make sure the bbswitch module is not loaded at boot time (check /etc/modules-load.d/).

Ok thank you, I will do this with fresh install then straight to optimus-manager I will make sure to remove those files.

this is what I got how to fix this

explaining what youve done to arrive at this issue would help. i saw that you were going to try and do a fresh install and then try optimus-manager, did you do this? if so at what point did :point_up: happen?
more description=more helpful answers

ok thanks, first of all my bios is set to UEFI and secure boot is disabled, after fresh install I booted into the system with nouveau.modeset=0 pressed f10 , then installed yaourt then used pamac and searched for optimus-manager (it depended on bbswitch and asked to choose betwenn linux3xx linux4xx and I choose linux419 since my the system runs kernel version 419 I learned this from about system) , i installed it, then enbaled optimus service and started optimus service then per optimus manager instructions then I used hardware configuration to install invidia-video then reboot and greeted with the black screen above.
I set the default gpu to intel with optimus manager

if your not able to get to a graphical desktop on your current install, you can use manjaro-chroot that comes with the live installer.
boot the live installer like you would if you were installing, connect to network and follow instruction in the manjaro wiki on how to manjaro-chroot in so you can provide information thats needed to be able to assist you.
this will help you with what info to provide:

1 Like

Well. I think it’s at least fair to let @Librewish to help troubleshoot this, since he hasbeen running optimus-manager for some time (and continously suggests that to everyone!.. :rofl:)

3 Likes

oh, i dont have any idea how optimus-manager even works, im happy in the land of PRIME but i figured at the very least a graphical environment that he would be able to work from and provide needed outputs would be helpful to both himself and anyone thats helping

2 Likes

I couldn’t get it to work , I reinstalled from scratch again , I will use intel gpu for now thank you guys .

This looks very much like the result of a partial upgrade, that is, you haven’t upgraded fully but installed now software vesions anyway.

I did a full upgrade using pacman -Syu

Yup, though you may have updated from an out-of-date mirror.

$ pacman -Qo /usr/lib/libmount.so.1
/usr/lib/libmount.so.1 is owned by libutil-linux 2.33-2

$ pacman -Qi libutil-linux
Name            : libutil-linux
Version         : 2.33-2
Description     : util-linux runtime libraries
Architecture    : x86_64
URL             : https://www.kernel.org/pub/linux/utils/util-linux/
Licenses        : GPL2
Groups          : None
Provides        : libblkid.so=1-64  libfdisk.so=1-64  libmount.so=1-64  libsmartcols.so=1-64  libuuid.so=1-64
Depends On      : None
Optional Deps   : None
Required By     : btrfs-progs  cryptsetup  e2fsprogs  glib2  gptfdisk  libnm  libsm  lvm2  ndctl  parted  util-linux  wget  xfsprogs
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 1400.00 KiB
Packager        : Christian Hesse <arch@eworm.de>
Build Date      : Wed 07 Nov 2018 12:57:56 GMT
Install Date    : Sat 10 Nov 2018 00:33:46 GMT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

This should all be fixable from a chroot: https://wiki.manjaro.org/index.php/Restore_the_GRUB_Bootloader#Chroot_into_your_existing_Manjaro_Installation

Get logged in, refresh your mirrors, run a full update again:

pacman-mirrors -f3
pacman -Syyu

I just run those commands after already done update, here is the outcome

[dragon@dragon-pc ~]$ pacman -Qo /usr/lib/libmount.so.1
/usr/lib/libmount.so.1 is owned by libutil-linux 2.33-2
[dragon@dragon-pc ~]$ pacman -Qi libutil-linux
Name            : libutil-linux
Version         : 2.33-2
Description     : util-linux runtime libraries
Architecture    : x86_64
URL             : https://www.kernel.org/pub/linux/utils/util-linux/
Licenses        : GPL2
Groups          : None
Provides        : libblkid.so=1-64  libfdisk.so=1-64  libmount.so=1-64  libsmartcols.so=1-64
                  libuuid.so=1-64
Depends On      : None
Optional Deps   : None
Required By     : btrfs-progs  cryptsetup  e2fsprogs  glib2  gptfdisk  libnm  libsm  lvm2  ndctl
                  parted  util-linux  wget  xfsprogs
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 1400.00 KiB
Packager        : Christian Hesse <arch@eworm.de>
Build Date      : Wed 07 Nov 2018 03:57:56 PM +03
Install Date    : Wed 05 Dec 2018 10:17:33 PM +03
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature
[dragon@dragon-pc ~]$ pacman-mirrors -f3
.: ERROR Must have root privileges
[dragon@dragon-pc ~]$ sudo pacman-mirrors -f3
[sudo] password for dragon: 
::INFO Downloading mirrors from repo.manjaro.org
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  1.638 South_Africa   : http://manjaro.mirror.ac.za/
  ..... South_Africa   : ftp://manjaro.mirror.ac.za/

::ERROR ftp error: error_perm("550 Can't change directory to stable/core/x86_64: No such file or directory") 'ftp://manjaro.mirror.ac.za/'

  0.661 Netherlands    : http://ftp.snt.utwente.nl/pub/linux/manjaro/
  1.508 Netherlands    : ftp://ftp.snt.utwente.nl/pub/linux/manjaro/
  1.100 Russia         : https://mirror.yandex.ru/mirrors/manjaro/
::INFO Writing mirror list
::Russia          : https://mirror.yandex.ru/mirrors/manjaro/stable
::Netherlands     : http://ftp.snt.utwente.nl/pub/linux/manjaro/stable
::South_Africa    : http://manjaro.mirror.ac.za/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
[dragon@dragon-pc ~]$ pacman -Syyu
error: you cannot perform this operation unless you are root.
[dragon@dragon-pc ~]$ sudo pacman -Syyu
:: Synchronizing package databases...
 core                              147.4 KiB   546K/s 00:00 [################################] 100%
 extra                            1827.2 KiB  1481K/s 00:01 [################################] 100%
 community                           5.1 MiB  1378K/s 00:04 [################################] 100%
 multilib                          185.0 KiB  2.26M/s 00:00 [################################] 100%
 blackarch                           2.2 MiB  1121K/s 00:02 [################################] 100%
 blackarch.sig                     566.0   B  0.00B/s 00:00 [################################] 100%
:: Starting full system upgrade...
warning: ipscan: local (3.5.3-2) is newer than community (3.5.3-1)
warning: package-query: local (1.9-3) is newer than extra (1.9-2)
warning: python-jsbeautifier: local (1.8.9-1) is newer than community (1.8.8-1)
warning: python2-jsbeautifier: local (1.8.9-1) is newer than community (1.8.8-1)
 there is nothing to do
[dragon@dragon-pc ~]$

From your login prompt it appears you are able to log in to the installed system. This is at odds with the screenshot you posted above where you were “dropped into an emergency shell”.

If your system is in a different state to what you have told us then we can’t help you.

These third-party repos are targeted at Arch, not at Manjaro. This one in particular is known to cause issues.

1 Like

You didn’t read my previous post , I already installed from scratch. my problem is that the animations are not smooth and they are a bit laggy with video-linux drivers

Oh, so this isn’t a problem any more. Good.

1 Like