All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: vga_switcheroo: MIS-using the DIS command on a muxless system
       [not found]   ` <alpine.LNX.2.21.99.1801190836030.5225@mStation.localdomain>
@ 2018-01-19  9:41     ` Lukas Wunner
  2018-01-19 10:01       ` Enrico Mioso
  0 siblings, 1 reply; 2+ messages in thread
From: Lukas Wunner @ 2018-01-19  9:41 UTC (permalink / raw)
  To: Enrico Mioso; +Cc: David Airlie, Daniel Vetter, dri-devel

On Fri, Jan 19, 2018 at 08:38:20AM +0100, Enrico Mioso wrote:
> I forgot one last question. Is there any way I can force the system
> to switch to the ATI card without installing a graphical environment,
> just out of curiosity?

As you've observed correctly, your particular machine isn't capable of
muxing the display, it's a muxless model.  Nowadays a mux is only found
on MacBook Pros  (can switch at runtime) and a few gaming laptops (can
only switch in BIOS).

On supported (i.e., pre-retina) MacBook Pros, it is indeed possible to
switch to the discrete GPU without a graphical environment, in fact
no graphical environment is even allowed to run currently.

If by "force the system to switch" you're not referring to muxing the
display but rather exercising (and thus powering on) the discrete GPU,
I believe you do need a graphical environment to start a client with
DRI_PRIME.  Failing that, you can try to force the GPU out of runtime
suspend with "echo on > /sys/bus/pci/devices/0000:01:00.0/power/control".
(Use "echo auto" to re-enable automatic power management.)

Kind regards,

Lukas
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: vga_switcheroo: MIS-using the DIS command on a muxless system
  2018-01-19  9:41     ` vga_switcheroo: MIS-using the DIS command on a muxless system Lukas Wunner
@ 2018-01-19 10:01       ` Enrico Mioso
  0 siblings, 0 replies; 2+ messages in thread
From: Enrico Mioso @ 2018-01-19 10:01 UTC (permalink / raw)
  To: Lukas Wunner; +Cc: David Airlie, Daniel Vetter, dri-devel

Thank you very very much.
Sorry for the disturbance, to all.

Enrico
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-19 10:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <alpine.LNX.2.21.99.1801182123190.8539@mStation.localdomain>
     [not found] ` <20180118215958.GA25994@wunner.de>
     [not found]   ` <alpine.LNX.2.21.99.1801190836030.5225@mStation.localdomain>
2018-01-19  9:41     ` vga_switcheroo: MIS-using the DIS command on a muxless system Lukas Wunner
2018-01-19 10:01       ` Enrico Mioso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.