Using external monitor along side monitor on laptop with an eGPU?
I just switched to Linux again, but when i was using Windows, it used to work just fine. It connected to my external display (plugged into the eGPU) while still displaying my laptop display as a second monitor.
After switching to Linux(Pop_os 20.04), it only displays on my external monitor, and doesn't even detect my laptop's display, but i would like my laptop monitor to work as a second monitor.
I used egpu-switcher to set up my eGPU.
Any help would be awesome!
I had to enable Thunderbolt to work from boot-up in my BIOS in order to have it work properly in PopOS, and it does work with both displays. I'm on a Dell laptop, and using an AMD Card, but you might try checking for a similar setting in your BIOS.
@D4SH3 yeah I get that, but what I'm saying is, to get my external display to work correctly, I had to enable an option in my BIOS on my Dell laptop:
I had to turn on Thunderbolt boot support so the external display came online before my OS booted in order to have it consistently work properly. You may want to try checking for a similar option on your model of laptop.
@d4sh3, So I just fixed the same issue on my laptop. I used ubuntu 18.04 so some of these steps may differ for you.
If you have installed the requisite nvidia-drivers for your system, have you tried doing the switching as described here ?
In my case, the internal laptop display was not being detected (black screen/cursor) so I followed some of the instructions given here . In particular I noticed that my xorg.conf (generated by nvidia driver) had one device. so I manually added the second device in the conf file. In order to get the BusID I had to run
lspci | grep -e VGA -e 3D
The first field there gives the BusID but it has to be modified to hex as you may have seen in one of the egpu scripts you already tried. I referred to this post to get it right. so the extra sections I added were
# within the "ServerLayout" section
# add the line above
# In addition add the following sections
After changing the xorg.conf and rebooting the laptop, the laptop display was now detected and seems to be working fine for me. I subsequently removed the modified xorg.conf when I wanted to switch back to just my laptop display. I selected the right prime profile and rebooted the laptop and now the internal laptop display alone seems to be working fine too. Whats interesting is that this setup seems to be working even without the modified xorg.conf now. Almost like the nvidia driver had to be forced to display the screen one time and now it seems to be working without the xorg.conf
Anyway, hope this helps you in some way.