Dual boot monitor issue

I am dual boot windows and Manjaro.
my second monitor was no detecin while using xrandr as i searched for solution i installed optimus manager i installed it ran and switched from integrated gpu to nvidia gpu then reboot from that time only if i connect my sceond monitor i am getting login display and able to login after logging in both my laptop monitor and second monitor are working fine but if i start my laptop with connecting it second monitor on boot i am just getting black screen. i tried to fix it i change back to inegrated gpu and disabled optimus manager but now when i boot my laptop i am getting black screen and if connect my second monitor i am getting a display anybody know what to do??

Please show respect for other Members by editing your post, and correcting both grammar and spelling.

Keep in mind, this is a Support forum and not Social Media – Please do not write as if you were chatting to a friend on Zuckbook.

Tip: A great wall of text is seldom appreciated; try to break it up with empty lines to form paragraphs.


The information below contains links to help you; use them. The How to Request Support link provides guidelines on formatting code and command output, along with other helpful information.

One of the first things needed is system information; see the inxi command below to generate the command output needed.


Welcome to the Manjaro community

As a new or infrequent forum user, please take some time to familiarise yourself with Forum requirements, and the many ways to use the forum to your benefit:


Update Announcements:

The Update Announcements contain important information and a Known Issues and Solutions section that should generally be checked before posting a request for support.


System Information:

Output of this command (formatted according to forum requirements) may be useful for those wishing to help:

inxi --filter --verbosity=8

or the short form:

inxi -zv8

Be prepared to provide more information and outputs from other commands whenever asked.


Required Reading:

Resources:


Regards.