LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-24-2019, 08:17 AM   #1
chicken76
Member
 
Registered: Mar 2009
Distribution: Slackware
Posts: 121

Rep: Reputation: 2
Need advice on how to drive my monitors


I've a pretty common machine, a few years old, but still quite capable with regards to my needs: i7 3770, 16GB RAM, RX470 8GB, 2 monitors
I'm planning to switch (dual-boot with Winblows for a while) to Linux for everything I do.
The problem is, I do game on my computer.
The first thing I tried was the Windows VM with the discrete GPU passed-through. That didn't work (strange Code 12 error in device manager) and I abandoned the idea as it would have meant that I couldn't use both monitors in Linux (without rebooting).

So here I am, asking advice on how to drive the monitors. Do I connect both to the discrete GPU and disable the iGPU? Or do I connect one to the iGPU and the one that I game on, to the discrete GPU?
Is it wise enabling both GPUs? What I'm worried about, is possible incompatibilities between GPUs and their capabilities? How will X use them? If I run both GPUs, which one will decode a video for example, while I have a game running? Will it be the one it is displayed on, or the one with the most complete decoding capabilities? Same for a browser with hardware acceleration, will it slow down the game or run on the iGPU?

I'm not new to Linux, just to running it as a desktop.
Any thoughts are appreciated, pros-cons, previous experiences, etc.
 
Old 04-24-2019, 10:00 AM   #2
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: Kubuntu, Ubuntu, Debian, Proxmox.
Posts: 553

Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by chicken76 View Post
The first thing I tried was the Windows VM with the discrete GPU passed-through. That didn't work (strange Code 12 error in device manager) and I abandoned the idea as it would have meant that I couldn't use both monitors in Linux (without rebooting).
This probably is the best way to go, if you can make it work. It will let the Windows VM use the graphics card to the best effect, while the Linux host can rely on the iGPU.

UnRAID is proven for multiheaded gaming rigs, they have a graphics card per station along with a strong CPU and lots of RAM. The technique may be adaptable to your use.

Some virtualisation software (such as VirtualBox) offers 3D acceleration, but I doubt performance will be good.

If your monitors have multiple inputs, connect one to the iGPU and one to the graphics card and use the monitor controls to switch inputs as desired. If they don't have suitable inputs, then either physically plug and unplug cables or get a KVM.
 
Old 04-25-2019, 05:26 AM   #3
chicken76
Member
 
Registered: Mar 2009
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 2
@cantab

I shouldn't have to push any buttons or fiddle with cables just to have the windows I want on the display I want them on, in this age.
I understand your reasoning though, the best gaming experience is on Windows. There are a lot of hoops to jump through to get the games to run on Linux, and a good portion of them won't run at all (for various reasons, like DRM).
I am committed to the Linux path though. What will run, will run. For what won't, I'll other restart into winblows, or I'll stop playing altogether.

My question was: what happens in X.org when you have 2 GPUs, each with a monitor hooked up, but with very different capabilities? Can you choose which GPU renders each window / accelerate each application?
 
Old 04-26-2019, 03:24 AM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,523
Blog Entries: 1

Rep: Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239
Traditionally it has been pretty routine for the motherboard BIOS to limit GPU access to either the IGP or the PEG. This seems less common now than it used to be. With a more permissive BIOS you can designate which GPU and thus display should be primary or preferred and use both. It's mainly up to software how to use the available displays. With Xorg the default configuration is for there to be one extended desktop, called "screen", with each display utilized at its preferred mode. Usually this default places the primary display to the left of the slave, but reversing sides or over/under are readily possible.

When the difference between display capabilities boils down to pixel density, things can be difficult. Xorg allows use of only one logical density at a time, so object sizes between displays can vary from none at all to painfully disparate.

Choosing windows or screens on a per app basis I've never attempted.
 
Old 05-01-2019, 06:23 AM   #5
chicken76
Member
 
Registered: Mar 2009
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 2
@ mrmazda

I ended up disabling the iGPU and driving both monitors from the AMD GPU. I figured there would be fewer things that could confuse Xorg, even though having a bunch of websites open on the screen I'm not gaming on might slow down the games.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Fedora 25 with radeon HD4850 x2 and 4 monitors. 2 monitors remain foggy omniatronic Fedora 1 07-16-2017 04:42 AM
[SOLVED] RealVNC on 4 Monitors, Can only Access 2 Monitors u9wy Linux - Software 2 11-01-2012 09:14 AM
How HA monitors services or it just monitors connectivity? tanveer Linux - Networking 0 11-12-2008 02:37 AM
2 monitors, nvidia, problem with window-size (maximize uses both monitors) meximex Linux - Hardware 1 05-19-2004 04:37 AM
TV's, CRT Monitors, LCD Monitors... refresh rates and other questions MasterC General 13 05-12-2003 04:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration