Project

General

Profile

Bug #15116

X.Org does not start with some NVidia Maxwell and Pascal graphic cards

Added by goupille 8 months ago. Updated 15 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Hardware support
Target version:
Start date:
12/27/2017
Due date:
% Done:

10%

QA Check:
Feature Branch:
Type of work:
Research
Blueprint:
Starter:
Affected tool:

Description

Whoever is affected, please try https://nightly.tails.boum.org/build_Tails_ISO_bugfix-15116-newer-nouveau-xorg-driver/lastSuccessful/archive/build-artifacts/ and report back.

The original bug report was about GeForce GTX 970M.

Original report:

a user reported that that Tails doesn't start in normal mode on that computer (skylake inside : https://www.zotac.com/gb/product/mini_pcs/nen-steam-machine) with this error :

ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure, AE_NOT_FOUND (20170531/dswload-210)
ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20170531/psobject-252)
ACPI Exception: AE_NOT_FOUND, (SSDT:xh_rvp10) while loading table (20170531/tbxfload-228)
ACPI Error: 1 table load failures, 7 successful (20170531/tbxfload-246)

Ubuntu 16.04 and debian-live 9.3 are booting fine on this computer

the USB stick was installed with Tails installer on ubuntu and works fine on other computers.


Related issues

Related to Tails - Bug #11831: NVIDIA Maxwell series graphic card: X.Org doesn't start, or slow graphics operations Resolved 04/10/2017
Related to Tails - Bug #12438: Document workarounds for NVIDIA Maxwell series graphics cards Resolved 04/10/2017
Related to Tails - Bug #14910: NVIDIA Pascal series graphic card: slow graphics operations Fix committed 10/31/2017
Blocked by Tails - Bug #15132: devel branch FTBFS since aufs-dkms 4.14 is in sid Resolved 12/29/2017
Blocked by Tails - Bug #15270: devel branch FTBFS since torbrowser-launcher 0.2.9 entered sid Resolved 01/30/2018
Blocked by Tails - Bug #15372: devel branch FTBFS since apparmor/2.11.0-3+deb9u2 reached stretch-proposed-updates Resolved 03/03/2018
Blocked by Tails - Bug #15472: Rebase our Tor Browser AppArmor policy on top of torbrowser-launcher 0.2.9-2's Fix committed 03/28/2018
Blocked by Tails - Bug #15622: Upgrade to Linux 4.16+ in Tails 3.9 Fix committed 05/28/2018

Associated revisions

Revision 053ecf09 (diff)
Added by intrigeri 8 months ago

Known issues: acknowledge that not all recent NVIDIA graphic cards are supported (refs: #15116)

Revision a111e8b6 (diff)
Added by intrigeri 8 months ago

Add APT sources for Buster (refs: #15116).

Revision e6a3276c (diff)
Added by intrigeri 8 months ago

Install xserver-xorg-video-nouveau* from Buster (refs: #15116).

Once it's not installable anymore, we will need to either start maintaining
a backport for Stretch (either a Tails-specific one or an official one),
or to revert this change.

Revision a908d2b5 (diff)
Added by intrigeri 7 months ago

Known issues: add a dedicated section about NVIDIA Pascal and a link to the complete list of NVIDIA Maxwell cards (refs: #15116).

Revision f4e03f7b (diff)
Added by intrigeri 7 months ago

Known issues: don't try to maintain the list of NVIDIA Maxwell cards ourselves (refs: #15116).

Instead, point to a complete list of candidates for the documented worarounds.

And then I'll start a new list of adapters for which the documented workarounds
don't work.

Revision ff562e36 (diff)
Added by intrigeri 2 months ago

Install Mesa from stretch-backports (refs: #15116)

Revision 3bffbc81 (diff)
Added by intrigeri 2 months ago

Install libdrm* from stretch-backports (refs: #15116)

Mesa from stretch-backports depends on this newer libdrm.

Revision bb8a1acc (diff)
Added by intrigeri 2 months ago

Install binary packages built from src:libglvnd and src:llvm-toolchain-5.0 from stretch-backports (refs: #15116)

The graphics stack from stretch-backports depends on them.

Revision 4e11be9c (diff)
Added by intrigeri 2 months ago

Install binary packages built from src:libclc, src:vulkan and src:wayland-protocols-5.0 from stretch-backports (refs: #15116)

The graphics stack from stretch-backports depends on them:
https://lists.debian.org/debian-backports/2018/01/msg00055.html

Revision 6d883fcd (diff)
Added by intrigeri 18 days ago

Revert "Install xserver-xorg-video-nouveau* from Buster (refs: #15116)."

This reverts commit e6a3276c12939a4628aa346d0df440cefa162443.

Since https://release.debian.org/transitions/html/xserver1.20.html is over we
can't install xserver-xorg-video-nouveau from testing anymore.

Revision 86c031c7 (diff)
Added by intrigeri 16 days ago

Enable the bugfix-15116-newer-nouveau-xorg-driver APT overlay (refs: #15116).

Revision c2374acc (diff)
Added by intrigeri 15 days ago

Known issues: we need more test results for NVIDIA Pascal as well (refs: #15116)

Revision 100db5f4 (diff)
Added by intrigeri 15 days ago

Revert "Add APT sources for Buster (refs: #15116)."

This reverts commit a111e8b667f557c5e4f70187de16eae24c3fc27e.

Revision de36bb8c
Added by intrigeri 5 days ago

Merge branch 'bugfix/15116-newer-nouveau-xorg-driver' into devel (refs: #15116)

This does not fully fix #15116 but it improves things at least on some recent
NVIDIA graphics cards.

History

#1 Updated by goupille 8 months ago

The graphics on this computer is a NVidia Maxwell (GeForce GTX 970M).

Tails can completely start with with a low resolution with nouveau.modeset=0 set at boot, but the errors message are still displayed.

Tails can't start with nouveau.noaccel=1

#2 Updated by intrigeri 8 months ago

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

(received incomplete logs, see email)

#3 Updated by goupille 8 months ago

  • Assignee changed from goupille to intrigeri

#4 Updated by intrigeri 8 months ago

  • QA Check deleted (Info Needed)

#5 Updated by intrigeri 8 months ago

  • Subject changed from ACPI errors on a Zotac NEN mini pc to Tails Greeter does not start on a Zotac NEN mini pc
  • Category set to Hardware support

(The ACPI errors also appear when Tails boots successfully, thus retitling.)

#6 Updated by intrigeri 8 months ago

  • Related to Bug #11831: NVIDIA Maxwell series graphic card: X.Org doesn't start, or slow graphics operations added

#7 Updated by intrigeri 8 months ago

  • Related to Bug #12438: Document workarounds for NVIDIA Maxwell series graphics cards added

#8 Updated by intrigeri 8 months ago

  • Subject changed from Tails Greeter does not start on a Zotac NEN mini pc to X.Org does not start with NVidia Maxwell (GeForce GTX 970M)

The fact nouveau.modeset=0 makes X.Org start suggests this is a problem in the graphics stack (Linux, libdrm, X.Org).

#9 Updated by intrigeri 8 months ago

  • Description updated (diff)

#10 Updated by intrigeri 8 months ago

  • Description updated (diff)

#11 Updated by intrigeri 8 months ago

  • Status changed from New to Confirmed
  • Feature Branch set to bugfix/15116-newer-nouveau-xorg-driver

#12 Updated by intrigeri 8 months ago

  • Blocked by Bug #15132: devel branch FTBFS since aufs-dkms 4.14 is in sid added

#13 Updated by intrigeri 8 months ago

  • Status changed from Confirmed to In Progress
  • % Done changed from 0 to 10

Asked the OP to try an experimental ISO.

#14 Updated by intrigeri 8 months ago

#15 Updated by intrigeri 8 months ago

  • Target version set to Tails_3.6

If the newer nouveau driver helps, I'll consider getting it into our next major release.

#16 Updated by goupille 7 months ago

a user reported that the testing ISO fails to start without adding nouveau.modeset=0 with a NVIDIA GeForce 960M (the report was resent to you)

#17 Updated by intrigeri 7 months ago

  • Subject changed from X.Org does not start with NVidia Maxwell (GeForce GTX 970M) to X.Org does not start with some NVidia Maxwell and Pascal graphic cards
  • Description updated (diff)

#18 Updated by intrigeri 7 months ago

  • Related to Bug #14910: NVIDIA Pascal series graphic card: slow graphics operations added

#19 Updated by intrigeri 7 months ago

goupille wrote:

a user reported that the testing ISO fails to start without adding nouveau.modeset=0 with a NVIDIA GeForce 960M (the report was resent to you)

Thanks. Let's maintain a list of NVIDIA Maxwell and Pascal users who seem to be happy to try new stuff, so I can ask them to test whatever potential solution I find in the future. I see this time we have a contact address. Please add it to our shared repo (#14511) once it's ready :)

#20 Updated by goupille 7 months ago

intrigeri wrote:

Please add it to our shared repo (#14511) once it's ready :)

done :)

#21 Updated by goupille 7 months ago

I asked a user (with a Pascal gpu) to try ubuntu 17.10.1 (4.14 kernel) and here are the results :

- in legacy BIOS, the boot process hangs just after the ubuntu boot menu.
- in UEFI, the bott process finishes, Gnome is started but the seesion is unstable and hangs when logging out or shutting down.

with the experimental ISO posted above or tails 3.5, in legacy or UEFI, Tails boot process ends with

          [  OK  ] Started GNOME Display Manager.

#22 Updated by intrigeri 6 months ago

  • Blocked by Bug #15270: devel branch FTBFS since torbrowser-launcher 0.2.9 entered sid added

#23 Updated by intrigeri 6 months ago

  • Target version changed from Tails_3.6 to Tails_3.9

goupille wrote:

I asked a user (with a Pascal gpu) to try ubuntu 17.10.1 (4.14 kernel) and here are the results :

Thanks. Even bleeding edge Ubuntu does not support this hardware properly and I don't see how we could do better in Tails 3.6. Postponing to the following major release.

#24 Updated by intrigeri 6 months ago

#25 Updated by intrigeri 6 months ago

#26 Updated by intrigeri 5 months ago

#27 Updated by intrigeri 5 months ago

#28 Updated by intrigeri 5 months ago

  • Blocked by Bug #15372: devel branch FTBFS since apparmor/2.11.0-3+deb9u2 reached stretch-proposed-updates added

#29 Updated by intrigeri 5 months ago

#30 Updated by intrigeri 5 months ago

#31 Updated by emmapeel 3 months ago

The iso referenced on the description is not there anymore.

Does it mean it has been merged into Tails?

What should users with an NVIDIA Maxwell card should test? The user still needs to add
nouveau.modeset=0 to start.

It would be nice to refresh the description, as this ticket is referenced from the t.b.o/gdm page as needing tests: https://tails.boum.org/gdm/#index5h2

#32 Updated by intrigeri 3 months ago

The iso referenced on the description is not there anymore.

(There was not activity on the branch since a while so our CI system stopped building it. I've refreshed the branch so it builds again; although it might fail to build.)

Does it mean it has been merged into Tails?

No.

What should users with an NVIDIA Maxwell card should test?

The ISO from this branch once it builds again, but I'm not hopeful: see the most recent discussion on this ticket.

#33 Updated by intrigeri 2 months ago

Note to myself: something I could try is installing Mesa from stretch-backports on the topic branch. It might help in some cases.

#34 Updated by intrigeri 2 months ago

intrigeri wrote:

Note to myself: something I could try is installing Mesa from stretch-backports on the topic branch. It might help in some cases.

Done, let's see if it even builds.

#35 Updated by intrigeri 2 months ago

OK, so the topic branch now has (on top of xserver-xorg-video-nouveau from Buster, which it already had): Mesa + libdrm + friends from stretch-backports; Linux 4.16. There are good chances it improves things on some graphics hardware. It might even improve things a bit on some NVIDIA gear. I'll quickly test this on the bare metal computers I have around and then will send a call for testing (including the list of "NVIDIA testers" gathered by help desk).

Dear help desk: please keep maintaining your list of NVIDIA testers and add to it whenever you can! It'll be very useful here.

#36 Updated by intrigeri 2 months ago

Works smoothly on ThinPad X200 and HP EliteBook 840 G1.

#37 Updated by intrigeri 2 months ago

Note to myself: once https://release.debian.org/transitions/html/xserver1.20.html is over we won't be able to install xserver-xorg-video-nouveau from testing anymore and the branch will FTBFS. Once this happens, if we still need to gather feedback about this, I'll upload a backport to our custom APT repo. Also, then I'll create a new branch that updates the rest of the graphics stack (mesa, drm, etc.) to stretch-backports but installs the nouveau driver from Stretch: this will help us know where the main improvements come from, and thus decide whether we want to bother backporting the nouveau driver.

#38 Updated by intrigeri 2 months ago

#39 Updated by intrigeri about 2 months ago

  • Blocked by Bug #15472: Rebase our Tor Browser AppArmor policy on top of torbrowser-launcher 0.2.9-2's added

#40 Updated by intrigeri about 2 months ago

  • Blocked by Bug #15622: Upgrade to Linux 4.16+ in Tails 3.9 added

#42 Updated by 110100111011 about 1 month ago

I've just tested this ISO:

It works way better than Tails 3.8 or previous versions!

I'm using a GTX 1080, and earlier versions would have very slow graphics, I talked about that here a while ago already: https://labs.riseup.net/code/issues/14910

With this new version, those issues seem to be fixed, and it feels like the system finally uses the GPU to accelerate graphics. Theres also significantly less tearing, though it still feels as if VSync is missing. But way better than before.

I have not tested the modeset and noaccel commands, since as far as I remember those only made things worse. Since it seems to be quite perfect now without any extra commands, it's surely not needed to test those! If you still need anything else tested, let me know here.

#43 Updated by intrigeri about 1 month ago

I've just tested this ISO:

It works way better than Tails 3.8 or previous versions!
I'm using a GTX 1080, and earlier versions would have very slow graphics, […]

Excellent news, thanks for reporting! This might be just the report I needed to convince myself that it was worth applying the changes from bugfix/15116-newer-nouveau-xorg-driver in Tails 3.9. I'll come back to it early August and will make my final decision for 3.9 then.

#44 Updated by intrigeri 18 days ago

intrigeri wrote:

Note to myself: once https://release.debian.org/transitions/html/xserver1.20.html is over we won't be able to install xserver-xorg-video-nouveau from testing anymore and the branch will FTBFS.

This is now the case.

Once this happens, if we still need to gather feedback about this, I'll upload a backport to our custom APT repo.

I'll first check the feedback I've received since my last summary.

Also, then I'll create a new branch that updates the rest of the graphics stack (mesa, drm, etc.) to stretch-backports but installs the nouveau driver from Stretch: this will help us know where the main improvements come from, and thus decide whether we want to bother backporting the nouveau driver.

Done: bugfix/15116-update-graphics-stack, which I'll probably propose for Tails 3.9 if I don't have time to prepare a backport of the nouveau driver.

#45 Updated by intrigeri 18 days ago

  • Feature Branch changed from bugfix/15116-newer-nouveau-xorg-driver to bugfix/15116-update-graphics-stack, bugfix/15116-newer-nouveau-xorg-driver

#46 Updated by intrigeri 18 days ago

#47 Updated by intrigeri 16 days ago

Uploaded a backport so we have now:

  • bugfix/15116-update-graphics-stack: updates libdrm and mesa
  • bugfix/15116-newer-nouveau-xorg-driver: updates libdrm, mesa and the nouveau driver

#48 Updated by intrigeri 15 days ago

  • Target version changed from Tails_3.9 to Tails_3.11
  • Feature Branch deleted (bugfix/15116-update-graphics-stack, bugfix/15116-newer-nouveau-xorg-driver)

I've proposed to merge bugfix/15116-newer-nouveau-xorg-driver on #14910. I'm using #14910 since the only significant improvement that was reported on this branch is about the exact problem that other ticket, and not about "X.Org does not start". I don't know what else I can do here right now so I'll come back to it later.

#49 Updated by intrigeri 15 days ago

Also available in: Atom PDF