---
categories:
- KDE
- openSUSE
comments: true
date: "2017-08-07T14:49:35Z"
tags:
- KDE
- openSUSE
- wayland
title: There can never be enough testing
disable_share: true
---

As you may already know (if you don't, please check [these](https://www.dennogumi.org/2016/02/where-are-my-noble-gases-i-need-more-noble-gases/) [older posts](https://www.dennogumi.org/2016/02/adding-wayland-to-the-gas-mixture/)) openQA, the automated testing system used by openSUSE runs daily tests on the latest KDE software from git. It works well and uncovered [a number](https://bugs.kde.org/show_bug.cgi?id=383191) [of bugs](http://bugs.kde.org/383114). However, it only tested X11. With Wayland starting to become usable, and some developers even [switching to Wayland full time](https://blog.martin-graesslin.com/blog/), it was a notable shortcoming. Until now.

Why would openQA not run on Wayland? The reason lies in the video driver. openQA runs its tests in a virtual machine (KVM) which uses the "cirrus" virtual hardware for video display. This virtualized video card does not expose an interface capable of interfacing with the kernel's Direct Rendering Manager (DRM), which is required by kwin_wayland, causing a crash. To fix it, "virtio", which presents a way for the guest OS to properly interface with the host's hardware, is needed. Virtio can be used to emulate many parts of the VM's hardware, including the video card. That would mean a working DRM interface, and a working Wayland session!

However, openQA tests did not handle the case where virtio was needed. This is where one of [our previously-sung heroes](https://www.dennogumi.org/2016/10/the-heroes-we-deserve/), Fabian Vogt, comes into play. He [added support](https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/3351) for running Wayland tests in openQA using virtio. This means now that the Argon and Krypton live images now undergo [an additional series of tests](https://openqa.opensuse.org/tests/latest?distri=opensuse&flavor=Krypton-Live&test=krypton-live-wayland) which are performed under Wayland. And of course, [actual bugs](http://bugs.kde.org/382789) have been found already.

Last but not least, now the groundwork has been laid down to do proper Wayland testing on vanilla Tumbleweed as well. openQA should be probably churning out results soon. Exciting times ahead!
