suspend/*_rotation_after_suspend_*_graphics failed with intel graphic

Bug #1995944 reported by Scott Hu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Expired
Undecided
Unassigned

Bug Description

graphics/*_switch_card_* change to intel graphic only then reboot that triggers the pm_test.py script, which respawns Checkbox as root.
It's a problem which have to run as the current user, not root.

stderr
------
X Error of failed request: BadMatch (invalid parameter attributes)
  Major opcode of failed request: 139 (RANDR)
  Minor opcode of failed request: 7 (RRSetScreenSize)
  Serial number of failed request: 22
  Current serial number in output stream: 23
Traceback (most recent call last):
  File "/tmp/nest-2jy426wc.eaa0136a0c9823ca6ddf5bd2892a41cd834761194e4f7bd7e584c0eff371f85a/rotation_test.py", line 53, in <module>
    exit(main())
  File "/tmp/nest-2jy426wc.eaa0136a0c9823ca6ddf5bd2892a41cd834761194e4f7bd7e584c0eff371f85a/rotation_test.py", line 47, in main
    subprocess.check_call(
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['xrandr', '--output', 'XWAYLAND0', '--rotation', 'right']' returned non-zero exit status 1.

Revision history for this message
Scott Hu (huntu207) wrote :
Revision history for this message
Maksim Beliaev (beliaev-maksim) wrote :

Bug was migrated to GitHub: https://github.com/canonical/checkbox/issues/251.
Bug is no more monitored here.

Changed in plainbox-provider-checkbox:
status: New → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.