2018-09-11 05:24:18 |
Hui Wang |
description |
Steps:
1. Make a usb stick.
2. Boot from the usb stick in the boot menu.
Actual result:
System hang at the Plymouth before entering the phase 1.
Expected result:
System can be installed smoothly. |
BugLink: https://bugs.launchpad.net/bugs/1791569
This patch is in the 4.18 already, no need to send it to cosmic.
Due to the context conflict, if we want to apply this patch as it is, we
need to apply a large amount of patches ahead of this patch, it is possible
to introduce some regression. So I made some change in this patch, it is
some differnt from the orignal patch, but they have the same logic, and it
can be applied to bionic kernel.
[Impact]
We have 2 nvidia graphic cards, and the nouveau driver in the bionic kernel can't
work well with both of these 2 cards, one of the cards hang during the boot
process, we compared the output of lspci and vbios version of these 2 cards, they
are same; and according to nivida's reply, it is possible that they have some
difference on computational units (https://devtalk.nvidia.com/default/topic/1038973/
linux/2-same-quadro-p1000-cards-but-only-one-can-install-ubuntu-/), and kernel-4.18
fixed this problem, through bisect, this patch was found.
[Fix]
backport a upstream patch to fix this problem. without this patch, the number of tpc
(texture process cluster) is hardcoded to be 5 for some nv graphic families, but
in practice, the tpc number of many families is not 5. And the p1000 grphic card belong
to gp107 family, it is 3 intead of 5.
[Test Case]
tested this patch with P1000, P2000, P620 and P500 graphic cards, all work well as before.
[Regression Potential]
Very low, this patch comes from upstream, and I have tested it with many nv graphic
cards, they all worked well as before. |
|