From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3FC8913829C for ; Thu, 9 Jun 2016 21:20:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE03C14322; Thu, 9 Jun 2016 21:20:22 +0000 (UTC) Received: from acheron.yagibdah.de (acheron.yagibdah.de [185.55.75.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EF1F21419A for ; Thu, 9 Jun 2016 21:20:20 +0000 (UTC) Received: from heimdali.yagibdah.de ([192.168.3.20]) by acheron.yagibdah.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.85) (envelope-from ) id 1bB7NC-0006yf-DK for gentoo-user@lists.gentoo.org; Thu, 09 Jun 2016 23:20:18 +0200 Received: from lee by heimdali.yagibdah.de with local (Exim 4.85) (envelope-from ) id 1bB7NC-0008Vs-BR for gentoo-user@lists.gentoo.org; Thu, 09 Jun 2016 23:20:18 +0200 From: lee To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] how to use two graphics cards with one display In-Reply-To: <20160606234153.8006fbfe01cb43456b1e8f54@gentoo.org> (Andrew Savchenko's message of "Mon, 6 Jun 2016 23:41:53 +0300") Date: Thu, 09 Jun 2016 23:16:37 +0200 Organization: my virtual residence Message-ID: <87h9d29i6i.fsf@heimdali.yagibdah.de> References: <87h9d7bkvc.fsf@heimdali.yagibdah.de> <20160606234153.8006fbfe01cb43456b1e8f54@gentoo.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Mail-Followup-To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain X-Archives-Salt: 2ebf1e06-8b62-4e65-8f07-dd069a060988 X-Archives-Hash: 9fc92c74cddd06459eda9d0540f76f35 Andrew Savchenko writes: > Hi, > > On Sun, 05 Jun 2016 19:34:15 +0200 lee wrote: >> Hi, >> >> is there a way to reasonably use two graphics cards with a single >> display? >> >> SLI won't work because it's retarded in requiring the GPUs to be the >> same, which they aren't --- not to mention that the cards would be too >> far away from each other in the slots for a bridge to fit. >> >> So what I'm thinking of is like using one card as a default and being >> able to use the other one to play a video in some window on the same >> display, preferably managed by the same fvwm, with the window optionally >> being fullscreen in size. I'd like to do that because the card I have >> isn't powerful enough to play a video while an open gl application is >> running at the same time. >> >> I'll probably get a better card once prices come down a bit, but it >> might have the same problem, and why would I want to waste an otherwise >> perfectly good graphics card. > > Yes, but it depends on your hardware setup. What's yours and why > you need such unusual thing: connect two video cards to a single > monitor, or do you mean by display X display spawn over multiple > monitors? a single monitor > In case of laptops such configuration is quite common: they may > have two video cards with single switchable output: intel card is > used for general work to save power and nvidia card is used for > applications, requiring high GPU performance. Switching is done > using sys-power/bbswitch. But looks like this is not your case, > since you are talking about card replacement, since most laptop GPU > cards are not replaceable. Right, it's not a laptop, and I don't want to switch between different cards. > If you want a multihead setup using two cards, this is trivial using > either xinerama or X screens depending on your taste. That is only simple when you have multiple monitors. > As far as I understand your e-mail, you are trying to mux video > outputs of two GPU cards to a single monitor (excuse me if I'm > wrong, but it is hard to understand what your hardware is), this is > also doable if your monitor supports dual input (most modern > monitors do). This way separate X screens may be used to achive > your goal. (Xinerama setup is also possible, but GL acceleration > will be limited to abilities of the weakest card). Exactly, but I don't want to use the picture-in-picture feature of the monitor, and I don't want separate X screens, and I don't have room to fit another monitor on my desk. I simply want to use one of the graphics cards to handle an application that uses open gl and the other one to play a video. > But honestly I don't get why you need this: if you have a powerful > GPU and it is not a laptop, where power consumption is critical, > why just don't use that card? Most cards have multiple outputs, so > it is not a problem to setup multihead with a single card either. The GPU isn't quite powerful enough for some of what I'm doing. Otherwise, it's a perfectly good card. So I need to get a better graphics card, and once I do, it would be a pity to have the current one laying around uselessly. I wouldn't get much if I tried to sell it, so I rather keep it in case I need a spare. Buying another one which is the same, to use SLI, won't help, either. IIUC, it takes some processing power to decode a video, so why not use one of the cards for just that? Multiple cards should be able to work together.