Feature #7394

Evaluate xserver-xorg-video-modesetting for KMS support in QEMU and others

Added by intrigeri 2014-06-11 06:40:06 . Updated 2014-11-16 11:25:08 .

Status:
Resolved
Priority:
High
Assignee:
Category:
Virtualization
Target version:
Start date:
2014-06-11
Due date:
% Done:

0%

Feature Branch:
feature/kms-for-cirrus-etc
Type of work:
Research
Blueprint:

Starter:
0
Affected tool:
Deliverable for:

Description

It would be good to support KMS for more video adapters in Tails, especially to allow migrating to GNOME Classic in Jessie (Feature #7311), and to make our upcoming custom Plymouth theme (Feature #5948) work on a broader range of hardware. This would also generally improve the user story we provide to people who use Tails in virtual machines, e.g. with the QEMU (virtual) Cirrus video adapter.


Subtasks


Related issues

Related to Tails - Feature #5948: Custom plymouth theme Confirmed
Related to Tails - Feature #7564: Try GNOME Shell in Jessie or sid with llvmpipe in libvirt/qemu Resolved 2014-07-11
Has duplicate Tails - Bug #7565: Try gnome-shell in Jessie or sid VM with cirrus KMS Duplicate 2014-07-11

History

#1 Updated by intrigeri 2014-06-11 06:41:44

  • related to Feature #7311: Investigate using GNOME Shell for Jessie added

#2 Updated by intrigeri 2014-06-11 06:42:14

#3 Updated by intrigeri 2014-06-11 06:42:52

  • Target version set to Tails_2.0

#4 Updated by intrigeri 2014-06-21 09:36:58

  • Target version deleted (Tails_2.0)
  • Parent task set to Bug #7423

#5 Updated by intrigeri 2014-06-21 09:38:35

  • Priority changed from Normal to High

Setting priority to the same value as other pre-Jessie-freeze tasks.

#6 Updated by intrigeri 2014-06-21 09:43:19

  • related to deleted (Feature #7311: Investigate using GNOME Shell for Jessie)

#7 Updated by intrigeri 2014-06-21 09:44:11

  • related to Feature #7311: Investigate using GNOME Shell for Jessie added

#8 Updated by intrigeri 2014-07-11 14:31:29

  • related to deleted (Feature #7311: Investigate using GNOME Shell for Jessie)

#9 Updated by intrigeri 2014-07-11 14:35:01

#10 Updated by intrigeri 2014-07-11 14:36:08

  • has duplicate Bug #7565: Try gnome-shell in Jessie or sid VM with cirrus KMS added

#11 Updated by intrigeri 2014-07-11 14:38:38

#12 Updated by intrigeri 2014-07-12 10:07:06

  • related to Feature #7564: Try GNOME Shell in Jessie or sid with llvmpipe in libvirt/qemu added

#13 Updated by alant 2014-07-12 15:05:41

GNOME shell starts on default sid with libvirt qemu/kvm with spice/cirrus but it doesn’t use the KMS driver even though cirrusdrmfb (fb0) is primary device. glxinfo | grep renderer still outputs Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits).

#14 Updated by alant 2014-07-12 18:21:15

Please note xserver-xorg-video-modesetting is installed.

$ dpkg -l xserver-xorg-video-modesetting
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                   Version          Architecture     Description
+++-======================-================-================-==================================================
ii  xserver-xorg-video-mod 0.9.0-1          amd64            X.Org X server -- Generic modesetting driver

#15 Updated by alant 2014-07-13 11:09:37

I get the same results in fedora 20 live VM with cirrus graphics on a debian sid qemu/kvm host: cirrus kvs kernel module is used, modesetting xorg video driver is used, but glxinfo still outputs llvmpipe as 3D accelerator.

#16 Updated by intrigeri 2014-07-27 19:52:35

alant wrote:
> I get the same results in fedora 20 live VM with cirrus graphics on a debian sid qemu/kvm host: cirrus kvs kernel module is used, modesetting xorg video driver is used, but glxinfo still outputs llvmpipe as 3D accelerator.

OK, then it might be expected that llvmpipe is still used. And the remaining questions are:

  • is it fast enough?
  • are things worse, or better, if the modesetting xorg driver is not available?

#17 Updated by intrigeri 2014-08-26 01:11:07

  • Assignee changed from intrigeri to alant
  • QA Check set to Info Needed

alant wrote:
> GNOME shell starts on default sid with libvirt qemu/kvm with spice/cirrus but it doesn’t use the KMS driver even though cirrusdrmfb (fb0) is primary device.

I can’t reproduce that on current sid: the journal tells me that the modesetting X.Org video driver is used, in preference to the cirrus one. In any case, on my system, the resulting VM is fast enough.

Alan, can you still reproduce the “doesn’t use the KMS driver” part in your environment?

> glxinfo | grep renderer still outputs Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits).

Same here (except s/128/256).

Also, note that the same sid VM, with a Cirrus virtual video adapter, and without the modesetting driver, also supports GNOME Shell. However, I see many ugly display artifacts that I can’t see with the modesetting driver, which tends to confirm IMO that we should indeed ship the modesetting driver. Additionally, task-desktop Depends xserver-xorg-video-all, which itself Depends xserver-xorg-video-modesetting, so I see no reason to diverge from Debian in this respect.

Hence, I’m going to ensure we install the modesetting driver on feature/jessie.

#18 Updated by intrigeri 2014-08-26 01:20:00

  • Status changed from Confirmed to Resolved
  • Assignee deleted (alant)
  • QA Check deleted (Info Needed)

intrigeri wrote:
> Hence, I’m going to ensure we install the modesetting driver on feature/jessie.

It’s already the case, as we pull xserver-xorg-video-all.

#19 Updated by sajolida 2014-11-16 11:25:08

  • Category changed from Hardware support to Virtualization