From Fedora Project Wiki

Revision as of 08:40, 24 October 2016 by Sumantrom (talk | contribs)


This test case tests the multiple desktop functionality in Hybrid gpu machines where both gpus have some video outputs connected with all open source drivers booted with XORG


  1. Download Fedora 25 Beta or latest nightly

How to test

  1. Boot in default/Wayland mode
  2. In terminal execute sudo xrandr --listproviders
  3. Powermanagemt, the discrete GPU should by suspended / "Dynamic Off"when the laptop is booted and no external monitors are connected, this can be tested by as root doing:sudo cat /sys/kernel/debug/vgaswitcheroo/switch
  4. Do all external monitor connectors work, VGA / mini-display-port, HDMI,display-port over USB-C, etc. The user should try plugging in a monitor to

all of them (one at a time) configure the monitor in its native resolution in gnome-control-center and check that the picture is as expected and that e.g. dragging a terminal to that monitor works and is smooth.

  1. Check for power management and for overheating issues
  2. Check for hotkey of brightness
  3. Close all running applications
  4. Check suspend/resume with the external display connected
  5. Check suspending without the external display connected followed by resume with the external display connected
  6. Check suspending with the external display connected followed by resume without the external display connected

Expected Results

  1. The first command should show 2 providers, with per provider a line like this: Provider 0: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 3 associated providers: 0 name:modesetting
  2. Powermanagement should give you the output to be 0:IGD:+:Pwr:0000:00:02.0 1:DIS: :DynOff:0000:01:00.0 Notice that the Discrete GPU (DIS) is marked as DynOff, that is what we want
  3. Now if the user plugs in an external monitor on e.g a HMDI connector,and then configures it in gnome-control-center so that it shows a picture and then waits 15 seconds and then again (as root) does:cat /sys/kernel/debug/vgaswitcheroo/switch
  4. We expect the DIS line to have changed to On, if it has not then the tested connector is hooked up to the integrated GPU (IGD) and the user should try another connector.Once the user has found an external connector which is attached to the DIS GPU he should unplug the monitor, wait 15 seconds and

after that the DIS GPU should be in DynOff again.

  1. The suspend/resume tests should go fine
  2. The hotkeys should function as supposed to
  3. There should not be any over heating