Re: [Touch-packages] [Bug 1871268] Re: Installation fails due to useless immediate configuration error when "Install Third-Party Drivers" is selected

2021-02-04 Thread Leon Pappas
I went along withe the whole mokutil route to get the NVidia drivers to 
work but that failed to rectify the problem.

The GUI started having huge issues (Second monitor stopped working. GUI 
would freeze and need a reboot). Tried reverting back to Nouveau and in 
the process lost my server.. Gui stopped working completely.

Luckily I could still access the drive contents. and installed on a new 
drive. Still not working 100% Second screen is detected but does not 
work. I get a black screen with a white mouse pointer. I can drag a 
window onto the monitor but if I release it it's gone. (I can't see 
where it is to drag it back)

On 2021/02/04 20:37, Alf Haakon Lund wrote:
> Even though the installer crashed, powering off the machine and
> restarting sent me to a 'Perform MOK management' menu where I had to
> input my chosen password from the relevant step in the installation
> process. After that rebooting took me to the Grub menu and I could
> successfully start Ubuntu Studio.
>
> After login there was a short flickering on the screen which I suspect
> could be the NVIDIA driver failing and falling back to the intel HD
> Graphics 530.
>

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1871268

Title:
  Installation fails due to useless immediate configuration error when
  "Install Third-Party Drivers" is selected

Status in Ubuntu CD Images:
  Fix Released
Status in apt package in Ubuntu:
  Fix Released
Status in apt source package in Bionic:
  In Progress
Status in apt source package in Focal:
  Fix Released
Status in apt source package in Groovy:
  Fix Released
Status in apt package in Debian:
  Unknown

Bug description:
  [Impact]
  Installations that really succeeded would then fail because APT could not 
immediately configure a package. Which is a pointless way to fail at that 
point, because everything did work out anyway.

  We have two changes that help address this:

  * The first one stops immediately configuring multi-arch siblings
  (e.g. libc6:i386 when it's configuring libc6:amd64). This was not
  necessary, and caused all the libc6:i386 failures here.

  * The second change sort of also supersedes the first one: It just
  ignores any errors from immediate configuration, relying on the fact
  that it's checked and rectified at a later point if there are
  unconfigured packages (which is what made all those failures happen
  spuriously after having successfully installed everything).

  [Test case]
  We have one test case in EIPP format in the Debian bug 973305 which was only 
helped by the second change, not the first one. Run /usr/lib/apt/planners < 
eipp.log and check there are no errors.

  TODO: It's unclear if the APT from proposed installed in the live
  session will fix the installer, needs investigation, but would make a
  useful test case.

  [Regression potential]
  It's imaginable that we missed something somewhere and some path that checked 
for a set error doesn't check it anymore, and we report success when we hit an 
error, but it seems unlikely.

  Behavior of --simulate changes. This used to fail before as well, and
  will now only produce a warning. We don't believe that is a reason of
  concern.

  [Groovy SRU]
  The groovy SRU is a sync of the 2.1.11 micro release from Debian unstable 
which also incorporates changes to the documentation: A typo fix, replacing 
focal with groovy in examples, and minor Dutch manual pages translation updates.

  We do not have test cases for the documentation changes, and we do not
  consider there to be a huge regression potential. As long as they
  build, they should be readable - maybe some words are wrong in the
  translation, who knows.

  [Original bug report]
  Test Case
  1. Install Ubuntu Desktop on hardware with an nVidia card and select to 
install 3rd party drivers
  2. Proceed with installation

  The following error message is displayed in /var/log/syslog
  /plugininstall.py: Verifying downloads ...
  /plugininstall.py: Failed to find package object for 
/cdrom//pool/main/g/gcc-defaults/gcc_9.3.0-1ubuntu2_amd64.deb: "Version: 
'9.3.0-1ubuntu2' not found."
  /plugininstall.py: Failed to find package object for 
/cdrom//pool/main/libx/libxcrypt/libcrypt-dev_4.4.10-10ubuntu4_amd64.deb: 
"Version: '4.4.10-10ubuntu4' not found."
  /plugininstall.py: Failed to find package object for 
/cdrom//pool/main/g/gcc-defaults/g++_9.3.0-1ubuntu2_amd64.deb: "Version: 
'9.3.0-1ubuntu2' not found."
  /plugininstall.py: Failed to find package object for 
/cdrom//pool/main/z/zlib/zlib1g_1.2.11.dfsg-2ubuntu1_i386.deb: "Version: 
'1.2.11.dfsg-2ubuntu1' not found."
  /plugininstall.py: Failed to find package object for 
/cdrom//pool/main/libx/libxau/libxau6_1.0.9-0ubuntu1_i386.deb: "Version: 
'1.0.9-0ubuntu1' not found."
  /plugininstall.py: Failed to find package object for 

Re: [Touch-packages] [Bug 1871268] Re: Installation fails due to useless immediate configuration error when "Install Third-Party Drivers" is selected

2021-01-16 Thread Leon Pappas
I don't believe that this is fixed.  I am still getting errors:

[   88.448840] [ cut here ]
[   88.448842] nouveau :01:00.0: timeout
[   88.448887] WARNING: CPU: 3 PID: 1177 at
/build/linux-hwe-5.4-hNUtrM/linux-hwe-5.4-5.4.0/drivers/gpu/drm/nouveau/nvkm/falcon/v1.c:313
nvkm_falcon_v1_clear_interrupt+0xe6/0x100 [nouveau]
[   88.448887] Modules linked in: cmac bnep snd_hda_codec_hdmi
snd_soc_hdac_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_dmic
snd_sof_pci snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda
snd_sof_intel_byt snd_sof_intel_ipc snd_sof snd_sof_xtensa_dsp
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi ledtrig_audio
snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine nls_iso8859_1 joydev
hid_multitouch 8250_dw mei_hdcp intel_rapl_msr x86_pkg_temp_thermal
intel_powerclamp coretemp kvm_intel snd_hda_intel snd_intel_dspcfg uvcvideo
kvm iwlmvm snd_seq_midi snd_seq_midi_event snd_hda_codec videobuf2_vmalloc
rapl input_leds snd_hda_core snd_rawmidi mac80211 videobuf2_memops btusb
snd_hwdep videobuf2_v4l2 btrtl videobuf2_common asus_nb_wmi btbcm asus_wmi
btintel intel_cstate libarc4 serio_raw sparse_keymap wmi_bmof videodev
snd_seq snd_pcm bluetooth iwlwifi mc snd_seq_device snd_timer snd
processor_thermal_device mei_me ecdh_generic intel_rapl_common
intel_lpss_pci ecc
[   88.448901]  cfg80211 intel_lpss idma64 mei virt_dma soundcore
intel_soc_dts_iosf intel_pch_thermal int3403_thermal int340x_thermal_zone
mac_hid int3400_thermal acpi_pad asus_wireless acpi_thermal_rel
sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4
algif_skcipher af_alg dm_crypt hid_generic usbhid nouveau i915
crct10dif_pclmul crc32_pclmul mxm_wmi ghash_clmulni_intel ttm i2c_algo_bit
aesni_intel drm_kms_helper crypto_simd syscopyarea sysfillrect nvme
sysimgblt cryptd fb_sys_fops glue_helper drm r8169 ahci nvme_core realtek
libahci i2c_hid wmi video hid pinctrl_cannonlake pinctrl_intel
[   88.448913] CPU: 3 PID: 1177 Comm: gnome-shell Not tainted
5.4.0-62-generic #70~18.04.1-Ubuntu
[   88.448914] Hardware name: ASUSTeK COMPUTER INC. TUF Gaming
FX705GE_FX705GE/FX705GE, BIOS FX705GE.302 11/16/2018
[   88.448929] RIP: 0010:nvkm_falcon_v1_clear_interrupt+0xe6/0x100 [nouveau]
[   88.448930] Code: 45 b0 48 8b 40 10 48 8b 78 10 48 8b 5f 50 48 85 db 74
1b e8 3c 35 d6 c7 48 89 da 48 89 c6 48 c7 c7 ba c7 af c0 e8 2a 7f 70 c7
<0f> 0b eb a8 48 8b 1f eb e0 e8 fc 81 70 c7 66 90 66 2e 0f 1f 84 00
[   88.448930] RSP: 0018:b912c1447a08 EFLAGS: 00010282
[   88.448931] RAX:  RBX: 9b3ad8cfdb70 RCX:
0006
[   88.448931] RDX: 0007 RSI: 0096 RDI:
9b3add8d78c0
[   88.448932] RBP: b912c1447a58 R08: 03e9 R09:
0004
[   88.448932] R10: 002c R11: 0001 R12:
9b3aca5aab00
[   88.448933] R13: 0010 R14: ff92 R15:

[   88.448933] FS:  7ff79ae03ac0() GS:9b3add8c()
knlGS:
[   88.448934] CS:  0010 DS:  ES:  CR0: 80050033
[   88.448934] CR2: 00c42085b000 CR3: 000850710002 CR4:
003606e0
[   88.448935] Call Trace:
[   88.448950]  nvkm_falcon_clear_interrupt+0x15/0x20 [nouveau]
[   88.448972]  acr_r352_bootstrap+0x9f/0x290 [nouveau]
[   88.448993]  acr_r352_reset+0x39/0x250 [nouveau]
[   88.449014]  nvkm_secboot_reset+0x31/0x70 [nouveau]
[   88.449037]  gf100_gr_init_ctxctl+0x268/0x700 [nouveau]
[   88.449060]  gf100_gr_init+0x563/0x590 [nouveau]
[   88.449082]  gf100_gr_init_+0x90/0x120 [nouveau]
[   88.449104]  nvkm_gr_init+0x1d/0x20 [nouveau]
[   88.449117]  nvkm_engine_init+0x6b/0x1d0 [nouveau]
[   88.449131]  nvkm_subdev_init+0xb3/0x1d0 [nouveau]
[   88.449133]  ? _cond_resched+0x19/0x40
[   88.449146]  nvkm_engine_ref.part.0+0x4a/0x70 [nouveau]
[   88.449159]  nvkm_engine_ref+0x13/0x20 [nouveau]
[   88.449171]  nvkm_ioctl_new+0x277/0x2c0 [nouveau]
[   88.449194]  ? nvkm_fifo_chan_child_del+0xa0/0xa0 [nouveau]
[   88.449216]  ? gf100_gr_dtor+0xe0/0xe0 [nouveau]
[   88.449229]  nvkm_ioctl+0x11d/0x280 [nouveau]
[   88.449252]  nvkm_client_ioctl+0x12/0x20 [nouveau]
[   88.449264]  nvif_client_ioctl+0x2c/0x30 [nouveau]
[   88.449286]  usif_ioctl+0x657/0x760 [nouveau]
[   88.449307]  nouveau_drm_ioctl+0xac/0xc0 [nouveau]
[   88.449309]  do_vfs_ioctl+0xa9/0x640
[   88.449310]  ? handle_mm_fault+0xcb/0x210
[   88.449311]  ksys_ioctl+0x75/0x80
[   88.449312]  __x64_sys_ioctl+0x1a/0x20
[   88.449313]  do_syscall_64+0x57/0x190
[   88.449315]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   88.449316] RIP: 0033:0x7ff797ec0317
[   88.449317] Code: b3 66 90 48 8b 05 71 4b 2d 00 64 c7 00 26 00 00 00 48
c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05
<48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 41 4b 2d 00 f7 d8 64 89 01 48
[   88.449317] RSP: 002b:7ffe9a44a418 EFLAGS: 0246 ORIG_RAX:
0010
[   88.449318] RAX: ffda RBX: 0038 RCX:

Re: [Touch-packages] [Bug 1871268] Re: Installation fails due to useless immediate configuration error when "Install Third-Party Drivers" is selected

2021-01-16 Thread Leon Pappas
There definitely seems to be an issue here:


[   88.448840] [ cut here ]
[   88.448842] nouveau :01:00.0: timeout
[   88.448887] WARNING: CPU: 3 PID: 1177 at
/build/linux-hwe-5.4-hNUtrM/linux-hwe-5.4-5.4.0/drivers/gpu/drm/nouveau/nvkm/falcon/v1.c:313
nvkm_falcon_v1_clear_interrupt+0xe6/0x100 [nouveau]
[   88.448887] Modules linked in: cmac bnep snd_hda_codec_hdmi
snd_soc_hdac_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_dmic
snd_sof_pci snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda
snd_sof_intel_byt snd_sof_intel_ipc snd_sof snd_sof_xtensa_dsp
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi ledtrig_audio
snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine nls_iso8859_1 joydev
hid_multitouch 8250_dw mei_hdcp intel_rapl_msr x86_pkg_temp_thermal
intel_powerclamp coretemp kvm_intel snd_hda_intel snd_intel_dspcfg uvcvideo
kvm iwlmvm snd_seq_midi snd_seq_midi_event snd_hda_codec videobuf2_vmalloc
rapl input_leds snd_hda_core snd_rawmidi mac80211 videobuf2_memops btusb
snd_hwdep videobuf2_v4l2 btrtl videobuf2_common asus_nb_wmi btbcm asus_wmi
btintel intel_cstate libarc4 serio_raw sparse_keymap wmi_bmof videodev
snd_seq snd_pcm bluetooth iwlwifi mc snd_seq_device snd_timer snd
processor_thermal_device mei_me ecdh_generic intel_rapl_common
intel_lpss_pci ecc
[   88.448901]  cfg80211 intel_lpss idma64 mei virt_dma soundcore
intel_soc_dts_iosf intel_pch_thermal int3403_thermal int340x_thermal_zone
mac_hid int3400_thermal acpi_pad asus_wireless acpi_thermal_rel
sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4
algif_skcipher af_alg dm_crypt hid_generic usbhid nouveau i915
crct10dif_pclmul crc32_pclmul mxm_wmi ghash_clmulni_intel ttm i2c_algo_bit
aesni_intel drm_kms_helper crypto_simd syscopyarea sysfillrect nvme
sysimgblt cryptd fb_sys_fops glue_helper drm r8169 ahci nvme_core realtek
libahci i2c_hid wmi video hid pinctrl_cannonlake pinctrl_intel
[   88.448913] CPU: 3 PID: 1177 Comm: gnome-shell Not tainted
5.4.0-62-generic #70~18.04.1-Ubuntu
[   88.448914] Hardware name: ASUSTeK COMPUTER INC. TUF Gaming
FX705GE_FX705GE/FX705GE, BIOS FX705GE.302 11/16/2018
[   88.448929] RIP: 0010:nvkm_falcon_v1_clear_interrupt+0xe6/0x100 [nouveau]
[   88.448930] Code: 45 b0 48 8b 40 10 48 8b 78 10 48 8b 5f 50 48 85 db 74
1b e8 3c 35 d6 c7 48 89 da 48 89 c6 48 c7 c7 ba c7 af c0 e8 2a 7f 70 c7
<0f> 0b eb a8 48 8b 1f eb e0 e8 fc 81 70 c7 66 90 66 2e 0f 1f 84 00
[   88.448930] RSP: 0018:b912c1447a08 EFLAGS: 00010282
[   88.448931] RAX:  RBX: 9b3ad8cfdb70 RCX:
0006
[   88.448931] RDX: 0007 RSI: 0096 RDI:
9b3add8d78c0
[   88.448932] RBP: b912c1447a58 R08: 03e9 R09:
0004
[   88.448932] R10: 002c R11: 0001 R12:
9b3aca5aab00
[   88.448933] R13: 0010 R14: ff92 R15:

[   88.448933] FS:  7ff79ae03ac0() GS:9b3add8c()
knlGS:
[   88.448934] CS:  0010 DS:  ES:  CR0: 80050033
[   88.448934] CR2: 00c42085b000 CR3: 000850710002 CR4:
003606e0
[   88.448935] Call Trace:
[   88.448950]  nvkm_falcon_clear_interrupt+0x15/0x20 [nouveau]
[   88.448972]  acr_r352_bootstrap+0x9f/0x290 [nouveau]
[   88.448993]  acr_r352_reset+0x39/0x250 [nouveau]
[   88.449014]  nvkm_secboot_reset+0x31/0x70 [nouveau]
[   88.449037]  gf100_gr_init_ctxctl+0x268/0x700 [nouveau]
[   88.449060]  gf100_gr_init+0x563/0x590 [nouveau]
[   88.449082]  gf100_gr_init_+0x90/0x120 [nouveau]
[   88.449104]  nvkm_gr_init+0x1d/0x20 [nouveau]
[   88.449117]  nvkm_engine_init+0x6b/0x1d0 [nouveau]
[   88.449131]  nvkm_subdev_init+0xb3/0x1d0 [nouveau]
[   88.449133]  ? _cond_resched+0x19/0x40
[   88.449146]  nvkm_engine_ref.part.0+0x4a/0x70 [nouveau]
[   88.449159]  nvkm_engine_ref+0x13/0x20 [nouveau]
[   88.449171]  nvkm_ioctl_new+0x277/0x2c0 [nouveau]
[   88.449194]  ? nvkm_fifo_chan_child_del+0xa0/0xa0 [nouveau]
[   88.449216]  ? gf100_gr_dtor+0xe0/0xe0 [nouveau]
[   88.449229]  nvkm_ioctl+0x11d/0x280 [nouveau]
[   88.449252]  nvkm_client_ioctl+0x12/0x20 [nouveau]
[   88.449264]  nvif_client_ioctl+0x2c/0x30 [nouveau]
[   88.449286]  usif_ioctl+0x657/0x760 [nouveau]
[   88.449307]  nouveau_drm_ioctl+0xac/0xc0 [nouveau]
[   88.449309]  do_vfs_ioctl+0xa9/0x640
[   88.449310]  ? handle_mm_fault+0xcb/0x210
[   88.449311]  ksys_ioctl+0x75/0x80
[   88.449312]  __x64_sys_ioctl+0x1a/0x20
[   88.449313]  do_syscall_64+0x57/0x190
[   88.449315]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   88.449316] RIP: 0033:0x7ff797ec0317
[   88.449317] Code: b3 66 90 48 8b 05 71 4b 2d 00 64 c7 00 26 00 00 00 48
c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05
<48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 41 4b 2d 00 f7 d8 64 89 01 48
[   88.449317] RSP: 002b:7ffe9a44a418 EFLAGS: 0246 ORIG_RAX:
0010
[   88.449318] RAX: ffda RBX: 0038 RCX:
7ff797ec0317
[