Re: [PATCH 3/3] Capture cable events created by Alienware GFX Amplifier.

From: Greg KH
Date: Thu May 28 2015 - 16:36:13 EST


On Thu, May 28, 2015 at 01:50:02PM -0500, Mario Limonciello wrote:
>
>
> On 05/28/2015 01:30 PM, Greg KH wrote:
> >On Wed, May 27, 2015 at 06:46:05PM -0500, Mario Limonciello wrote:
> >Then fix the GPU drivers.
> >
> >Fix the GPU drivers.
> >
> >Fix the GPU drivers.
> >
> >Nope, fix the GPU drivers.
> >
> >With a fix for the GPU drivers? Great, that's the only acceptable
> >solution.
> >
> >thanks,
> >
> >greg k-h
> Thanks for the feedback, point taken that you don't want to see the system
> restart when the xGPU is removed from the system. Can you please help to
> advise me the flow you would realistically like to see here? I'm looking
> for the best experience for the end user with what the situation is with the
> Xorg architecture.

I suggest asking about xorg specifics to the xorg developers, they know
this much better than kernel developers do :)

> Also, there's two factors I'd like to draw attention to that the Other OS
> can support.
>
> 1) It supports something called Heterogenous graphics. That means that you
> can actually have a GPU from Intel, NVIDIA, and AMD all in the system at the
> same time with acceleration active. If one drops off the bus, the OS moves
> the apps rendering to that GPU over (or kills them if they can't be moved).
> Xorg supports having multiple GPU's via Xinerama, but HW acceleration is
> disabled. No one on a gaming PC would actually use Xinerama.
> So you can-not simultaneously use an NVIDIA, AMD and Intel GPU in a gaming
> PC on Linux's Xorg architecture. Even if you got to the ideal scenario of
> using all 3 GPU's with open source drivers, this is still a problem for
> Linux w/ Xorg.

Take it up with the xorg developers, but I think this might already
work, as there are laptops that do allow switching between gpus pretty
easily. Well, "easily" is relative, it depends on the specific laptop.

But in no case is the solution "reboot the box", never do that.

> 2) If the xGPU is the active GPU on the system and someone removes the cable
> what should happen? Remember, you can only have one GPU active in Xorg.

Again, take this up with the xorg developers, this isn't a kernel
limitation from what I can tell.

best of luck,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/