View previous topic :: View next topic |
Author |
Message |
dandennison84 n00b
Joined: 07 Feb 2013 Posts: 34 Location: Omaha, NE
|
Posted: Tue Aug 08, 2023 5:06 pm Post subject: [SOLVED] Dual monitor setup/Dual Video (Nvidia) |
|
|
Hello again. Continuing on my gentoo journey, I have a new problem to solve. I have a second monitor I connect via HDMI when I'm at my desk. My first issue to solve is an xrandr problem. When I run startx, I have a call to xrandr for my 2 monitors in xinitrc before I run awesomewm. It never works. If I run the same xrandr command on the command line, it does work, but only if I run the command twice. Go figure.
Last edited by dandennison84 on Wed Aug 09, 2023 9:54 pm; edited 2 times in total |
|
Back to top |
|
|
dandennison84 n00b
Joined: 07 Feb 2013 Posts: 34 Location: Omaha, NE
|
Posted: Wed Aug 09, 2023 3:52 pm Post subject: |
|
|
So a bit more research got me a solution. My problem is Nvidia's optimus technology for 2 graphics card. I disabled it in bios and now both monitors work!
Code: |
lspci
00:02.0 VGA compatible controller: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01)
01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] (rev a1)
xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x49 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 7 associated providers: 1 name:modesetting
Provider 1: id: 0x274 cap: 0x2, Sink Output crtcs: 4 outputs: 6 associated providers: 1 name:NVIDIA-G0
|
My setup also has BIOS settings for nvidia optimus as well. Basically it allows switching between the 2 video cards automatically. Other info on my system: Awesome WM running picom for transparency, desktop profile, originally nouveau and i915 set for VIDEO_CARDs.
My problem. I have an HDMI monitor that I hook up from time to time. Works on fine on Windows, did not work out-of-the-box in my nouveau setup.
Configuration 1: Nouveau with BIOS Optimus enabled. No amount of fiddling gave me a fuinctioning 2nd monitor. Transparency works.
Configuration 2: Nouveau with BIOS Optimus disabled. Both monitors work perfectly. Transparency no longer works.
Configuration 3: Nvidia with BIOS Optimus disabled. Booting freezes and black screen only. Not functional.
Configuration 4: Nvidia with BIOS Optimus enabled: Functioning 2nd monitor. Transparency works.
Config 4 works but it was a lot more work. Swapping out from nouveau to nvidia was not trivial. Had to go into the live CD a few times to get it working. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|