Skip to content

Instantly share code, notes, and snippets.

@Slabity
Created May 20, 2019 15:51
Show Gist options
  • Save Slabity/a12056cad101a0040b4f649ee47d8262 to your computer and use it in GitHub Desktop.
Save Slabity/a12056cad101a0040b4f649ee47d8262 to your computer and use it in GitHub Desktop.
1. Boot up a Linux console
* Virtual machine using VirtIO+Spice
2. Create a Framebuffer:
* Create Dumbbuffer and load image into it
3. Attach Framebuffer:
* Find Plane attached to the current CRTC+Connector
* Set Plane's FB_ID property to the framebuffer created
4. Delete Framebuffer
- At this point I am unable to change the Plane's FB_ID or CRTC_ID properties. EINVAL
- Both properties are set to zero
- VM only shows "Display disabled by guest"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment