Re: Problem with xorg tryng to dual head setup with two graphics cards (intel and nvidia)
Date: Tue, 26 Jul 2022 15:55:17 UTC
On 2022-07-26 03:08, Mario Marietto wrote: > Hello to everyone. > > What I'm trying to do is to correctly configure the file xorg.conf because > I want to use two gpus at the same time connected to two different monitors > while using FreeBSD 13.1. It could be useful when I want to make some 3d > modelling using Blender on the first monitor / gpu [nvidia 1060 or Intel > UHD graphics 630] and using the second one (nvidia 1060 or Intel UHD > graphics 630) to watch some tutorials. I've also got a third gpu (geforce > RTX 2080 ti) ,but I want to keep it free to be passed through on a bhyve > virtual machine. On the BIOS I've configured the Nvidia Geforce 1060 as the > GPU with which the PC boots. So,this is the scheme that I want to follow : > > > 1) monitor AOC -> hdmi cable ---> gpu nvidia geforce 1060 > > 2) monitor Samsung SynchMaster ---> hdmi cable ---> gpu intel 'CoffeeLake-S > GT2 [UHD Graphics 630]' > > 3) gpu geforce RTX 2080 ti without monitor,used only to be passed thru with > bhyve > > > Actually I'm using this xorg.conf : > https://pastebin.ubuntu.com/p/DhW6RHS3zb/ > > instead this is the Xorg.0.log file : > https://pastebin.ubuntu.com/p/YtdPq9fngQ/ -------8<-------8<----- > > Anyway,I don't have a solution. Do you ? No. This is going to be a challenge. While I don't have a magic incantation. I have a couple things that will hopefully move you closer to your mark. But before that; is there any reason you can't simply daisy chain your 2 monitors to one card to get the horizontal real estate you're after? Anyway. You have mentioned nothing regarding the (graphics related) drivers you're loading during boot. Which drivers are you loading, and how are you loading them? What do they report when attempting to load them? Any errors? On the configuration front; xorg.conf(5) has gone out of style. Configuration of Xorg(1) is now done only as needed. IOW unless something doesn't just work out of the box. Don't create a configuration for it. In your case, you'll probably want to start by creating config files for the cards you're interested in. They should be placed in: /usr/local/etc/X11/xorg.conf.d/ The naming is pretty much freestyle. In your case I might suggest; driver-nvidia.conf for the geforce 1060 && driver-intel.conf for the UHD Graphics 630. The contents should be: Section "Device" Identifier "Card0" Driver "nvidia" BusID "PCI:1:0:0" EndSection for the nvidia, and: Section "Device" Identifier "Card0" Driver "intel" BusID "PCI:0:2:0" EndSection for the Intel. /var/log/Xorg.0.log is your friend. A great deal of info needed to tweak your setup can be derived from the output of this log. For testing purposes; I'd recommend starting Xorg(1) thusly: Xorg -retro . It's better than attempting to set/load up a Desktop environment. As you will only be dealing with a couple of variables, rather than an entire DE, which can bring in it's own challenges. In this case with Xorg -retro, if X starts correctly, you'll simply see a diagonal grid and a mouse pointer. To bail out of the session, simply send a CTL+ALT+F1 to return to your initial console, and then send a Ctrl+C to end/terminate X. Look at /var/log/Xorg.0.log for clues and tweak add configs as required. HTH --Chris