More updates. Loading Ubuntu 20.04 onto a USB thumb drive and booting works. It uses the Nouveau driver and I get video. The problem is that this laptop has a GTX1650 graphics card which is the absolute newest hardware platform. As such, Nouveau has basically no support for any sort of acceleration at all. But, the display works and the card enumerates on the bus.
Here is what it looks like in dmesg when the nvidia 440 driver loads:
Code:
[ 1.089529] nvidia: loading out-of-tree module taints kernel.
[ 1.089535] nvidia: module license 'NVIDIA' taints kernel.
[ 1.089535] Disabling lock debugging due to kernel taint
[ 1.102749] input: SYNA7DB5:01 06CB:CD41 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-SYNA7DB5:01/0018:06CB:CD41.0001/input/input5
[ 1.102810] input: SYNA7DB5:01 06CB:CD41 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-SYNA7DB5:01/0018:06CB:CD41.0001/input/input6
[ 1.102853] hid-generic 0018:06CB:CD41.0001: input,hidraw0: I2C HID v1.00 Mouse [SYNA7DB5:01 06CB:CD41] on i2c-SYNA7DB5:01
[ 1.105075] checking generic (b0000000 7e9000) vs hw (b0000000 10000000)
[ 1.105076] fb0: switching to inteldrmfb from EFI VGA
[ 1.105119] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 1.106274] nvidia-nvlink: Nvlink Core is being initialized, major device number 238
[ 1.106616] nvidia 0000:01:00.0: enabling device (0106 -> 0107)
[ 1.106715] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[ 1.115240] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.115241] [drm] Driver supports precise vblank timestamp query.
[ 1.119939] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[ 1.155454] usb 1-14: new full-speed USB device number 3 using xhci_hcd
[ 1.155493] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 435.21 Sun Aug 25 08:17:57 CDT 2019
[ 1.155963] [drm] Initialized i915 1.6.0 20190822 for 0000:00:02.0 on minor 0
[ 1.161307] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[ 1.161318] ACPI: Video Device [PEGP] (multi-head: yes rom: yes post: no)
[ 1.161507] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/LNXVIDEO:00/input/input8
[ 1.166132] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 1.166273] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input9
[ 1.167365] fbcon: i915drmfb (fb0) is primary device
[ 1.167366] fbcon: Deferring console take-over
[ 1.167368] i915 0000:00:02.0: fb0: i915drmfb frame buffer device
[ 1.179941] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 435.21 Sun Aug 25 08:07:52 CDT 2019
[ 1.181098] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 1.198459] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20190816/nsarguments-59)
[ 1.254231] ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 1.258176] ata5.00: ATA-9: SanDisk Ultra II 480GB, X41100RL, max UDMA/133
[ 1.258177] ata5.00: 937703088 sectors, multi 1: LBA48 NCQ (depth 32), AA
[ 1.259791] ata5.00: configured for UDMA/133
[ 1.259953] scsi 4:0:0:0: Direct-Access ATA SanDisk Ultra II 00RL PQ: 0 ANSI: 5
[ 1.260207] sd 4:0:0:0: Attached scsi generic sg0 type 0
[ 1.260513] sd 4:0:0:0: [sda] 937703088 512-byte logical blocks: (480 GB/447 GiB)
[ 1.260557] sd 4:0:0:0: [sda] Write Protect is off
[ 1.260558] sd 4:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.260673] sd 4:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.312242] usb 1-14: New USB device found, idVendor=8087, idProduct=0aaa, bcdDevice= 0.02
[ 1.312243] usb 1-14: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.367017] sda: sda1 sda2
[ 1.367313] sd 4:0:0:0: [sda] Attached SCSI disk
[ 1.527236] tsc: Refined TSC clocksource calibration: 2399.999 MHz
[ 1.527239] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2298364cab5, max_idle_ns: 440795214892 ns
[ 1.527396] clocksource: Switched to clocksource tsc
[ 1.857657] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.857657] [drm] No driver support for vblank timestamp query.
[ 1.857710] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
Then there is a crash:
Code:
[ 3.110358] ------------[ cut here ]------------
[ 3.110525] WARNING: CPU: 2 PID: 588 at /var/lib/dkms/nvidia/435.21/build/nvidia/nv-pci.c:584 nv_pci_remove+0x357/0x380 [nvidia]
[ 3.110526] Modules linked in: fjes(-) acpi_pad mac_hid acer_wireless nvidia_uvm(O) nf_log_ipv6 ip6t_REJECT nf_reject_ipv6 xt_hl ip6t_rt nf_log_ipv4 nf_log_common ipt_REJECT nf_reject_ipv4 xt_LOG xt_multiport xt_limit xt_addrtype xt_tcpudp sch_fq_codel xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c parport_pc ip6table_filter ppdev ip6_tables iptable_filter lp bpfilter parport binder_linux ip_tables x_tables autofs4 nvidia_drm(PO) nvidia_modeset(PO) crct10dif_pclmul crc32_pclmul hid_generic ghash_clmulni_intel nvidia(PO) i915 i2c_algo_bit aesni_intel crypto_simd cryptd glue_helper drm_kms_helper syscopyarea sysfillrect sysimgblt i2c_hid fb_sys_fops ipmi_devintf hid ipmi_msghandler drm i2c_i801 intel_lpss_pci r8169 intel_lpss ahci idma64 realtek libahci virt_dma wmi video pinctrl_cannonlake pinctrl_intel
[ 3.110553] CPU: 2 PID: 588 Comm: systemd-udevd Tainted: P O 5.4.0-31-generic #35-Ubuntu
[ 3.110553] Hardware name: Acer Nitro AN517-51/Superb_CFS, BIOS V1.01 03/06/2019
[ 3.110713] RIP: 0010:nv_pci_remove+0x357/0x380 [nvidia]
[ 3.110714] Code: 48 c7 c7 e0 01 d0 c1 e8 17 a6 ff ff e9 2d fe ff ff 41 8b 94 24 70 04 00 00 48 c7 c6 08 91 ca c1 bf 04 00 00 00 e8 d9 8a 00 00 <0f> 0b e8 d2 90 00 00 eb f9 4c 89 e6 4c 89 ef e8 65 18 75 00 e9 10
[ 3.110715] RSP: 0018:ffffb3d100573d18 EFLAGS: 00010246
[ 3.110716] RAX: 0000000000000044 RBX: ffff90d55b132000 RCX: 0000000000000000
[ 3.110717] RDX: ffff90d55e2a7740 RSI: ffff90d55e2978c8 RDI: ffff90d55e2978c8
[ 3.110717] RBP: ffffb3d100573d58 R08: ffff90d55e2978c8 R09: 0000000000000004
[ 3.110718] R10: 0000000000000000 R11: 0000000000000001 R12: ffff90d547b1a000
[ 3.110718] R13: ffff90d54b523000 R14: ffff90d55b132000 R15: ffff90d55a1377a0
[ 3.110720] FS: 00007fbe01940880(0000) GS:ffff90d55e280000(0000) knlGS:0000000000000000
[ 3.110720] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3.110721] CR2: 00007fbe01821c07 CR3: 000000044b4a0005 CR4: 00000000003606e0
[ 3.110722] Call Trace:
[ 3.110726] pci_device_remove+0x3e/0xb0
[ 3.110729] device_release_driver_internal+0xf0/0x1d0
[ 3.110730] device_release_driver+0x12/0x20
[ 3.110731] pci_stop_bus_device+0x70/0xa0
[ 3.110733] pci_stop_and_remove_bus_device_locked+0x1b/0x30
[ 3.110735] remove_store+0x7b/0x90
[ 3.110736] dev_attr_store+0x17/0x30
[ 3.110738] sysfs_kf_write+0x3e/0x50
[ 3.110739] kernfs_fop_write+0xda/0x1b0
[ 3.110741] __vfs_write+0x1b/0x40
[ 3.110742] vfs_write+0xb9/0x1a0
[ 3.110743] ksys_write+0x67/0xe0
[ 3.110745] __x64_sys_write+0x1a/0x20
[ 3.110747] do_syscall_64+0x57/0x190
[ 3.110749] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 3.110751] RIP: 0033:0x7fbe01eb6057
[ 3.110752] Code: 64 89 02 48 c7 c0 ff ff ff ff eb bb 0f 1f 80 00 00 00 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24
[ 3.110753] RSP: 002b:00007ffdc3a37c28 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 3.110754] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fbe01eb6057
[ 3.110755] RDX: 0000000000000001 RSI: 00007ffdc3a381d0 RDI: 0000000000000006
[ 3.110755] RBP: 00007ffdc3a381d0 R08: 0000000000000001 R09: 0000000000000000
[ 3.110756] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
[ 3.110756] R13: 000055eed3bcc5b0 R14: 0000000000000001 R15: 00007fbe01f918a0
[ 3.110758] ---[ end trace 7495c417889fd792 ]---
Thereafter, some display related processes freeze and the kernel will ever 120 seconds warn me of this:
Code:
[ 243.061232] INFO: task systemd-udevd:589 blocked for more than 120 seconds.
[ 243.061792] Tainted: P W O 5.4.0-31-generic #35-Ubuntu
[ 243.062329] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.062867] systemd-udevd D 0 589 539 0x00000324
[ 243.062869] Call Trace:
[ 243.062873] __schedule+0x2e3/0x740
[ 243.062874] schedule+0x42/0xb0
[ 243.062875] schedule_preempt_disabled+0xe/0x10
[ 243.062875] __mutex_lock.isra.0+0x182/0x4f0
[ 243.062877] __mutex_lock_slowpath+0x13/0x20
[ 243.062877] mutex_lock+0x2e/0x40
[ 243.062879] pci_lock_rescan_remove+0x15/0x20
[ 243.062881] pci_stop_and_remove_bus_device_locked+0x13/0x30
[ 243.062882] remove_store+0x7b/0x90
[ 243.062884] dev_attr_store+0x17/0x30
[ 243.062885] sysfs_kf_write+0x3e/0x50
[ 243.062886] kernfs_fop_write+0xda/0x1b0
[ 243.062887] __vfs_write+0x1b/0x40
[ 243.062888] vfs_write+0xb9/0x1a0
[ 243.062889] ksys_write+0x67/0xe0
[ 243.062890] __x64_sys_write+0x1a/0x20
[ 243.062892] do_syscall_64+0x57/0x190
[ 243.062893] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 243.062894] RIP: 0033:0x7fbe01eb6057
[ 243.062897] Code: Bad RIP value.
[ 243.062897] RSP: 002b:00007ffdc3a37c28 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 243.062899] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fbe01eb6057
[ 243.062899] RDX: 0000000000000001 RSI: 00007ffdc3a381d0 RDI: 0000000000000006
[ 243.062899] RBP: 00007ffdc3a381d0 R08: 0000000000000001 R09: 0000000000000000
[ 243.062900] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
[ 243.062900] R13: 000055eed3bcc5b0 R14: 0000000000000001 R15: 00007fbe01f918a0
[ 243.062906] INFO: task gpu-manager:937 blocked for more than 120 seconds.
[ 243.063456] Tainted: P W O 5.4.0-31-generic #35-Ubuntu
[ 243.063991] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.064527] gpu-manager D 0 937 1 0x00000000
[ 243.064527] Call Trace:
[ 243.064529] __schedule+0x2e3/0x740
[ 243.064529] schedule+0x42/0xb0
[ 243.064530] schedule_preempt_disabled+0xe/0x10
[ 243.064531] __mutex_lock.isra.0+0x182/0x4f0
[ 243.064532] __mutex_lock_slowpath+0x13/0x20
[ 243.064533] mutex_lock+0x2e/0x40
[ 243.064534] control_store+0x28/0x90
[ 243.064535] dev_attr_store+0x17/0x30
[ 243.064535] sysfs_kf_write+0x3e/0x50
[ 243.064536] kernfs_fop_write+0xda/0x1b0
[ 243.064537] __vfs_write+0x1b/0x40
[ 243.064538] vfs_write+0xb9/0x1a0
[ 243.064538] ksys_write+0x67/0xe0
[ 243.064539] __x64_sys_write+0x1a/0x20
[ 243.064540] do_syscall_64+0x57/0x190
[ 243.064541] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 243.064542] RIP: 0033:0x7fc77653d057
[ 243.064543] Code: Bad RIP value.
[ 243.064544] RSP: 002b:00007ffe3b6bdd78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 243.064544] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fc77653d057
[ 243.064545] RDX: 0000000000000003 RSI: 0000561223f080e0 RDI: 0000000000000005
[ 243.064545] RBP: 0000561223f080e0 R08: 0000000000000001 R09: 00007fc776618220
[ 243.064545] R10: 0000561223efe010 R11: 0000000000000246 R12: 0000000000000003
[ 243.064546] R13: 0000561223f09e20 R14: 00007fc7766194a0 R15: 00007fc7766188a0
[ 243.064548] INFO: task nvidia-persiste:954 blocked for more than 120 seconds.
[ 243.065082] Tainted: P W O 5.4.0-31-generic #35-Ubuntu
[ 243.065647] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.066224] nvidia-persiste D 0 954 1 0x00000004
[ 243.066225] Call Trace:
[ 243.066226] __schedule+0x2e3/0x740
[ 243.066329] ? os_get_current_tick+0x30/0x60 [nvidia]
[ 243.066330] schedule+0x42/0xb0
[ 243.066331] schedule_timeout+0x203/0x2f0
[ 243.066440] ? rm_ioctl+0x63/0xb0 [nvidia]
[ 243.066441] __down+0x82/0xd0
[ 243.066442] ? _cond_resched+0x19/0x30
[ 243.066443] down+0x47/0x60
[ 243.066504] nvidia_ioctl+0x63a/0x8a0 [nvidia]
[ 243.066505] ? get_max_files+0x20/0x20
[ 243.066574] nvidia_frontend_unlocked_ioctl+0x3b/0x50 [nvidia]
[ 243.066575] do_vfs_ioctl+0x407/0x670
[ 243.066576] ksys_ioctl+0x67/0x90
[ 243.066577] __x64_sys_ioctl+0x1a/0x20
[ 243.066578] do_syscall_64+0x57/0x190
[ 243.066579] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 243.066580] RIP: 0033:0x7f30e546537b
[ 243.066582] Code: Bad RIP value.
[ 243.066582] RSP: 002b:00007fffc6ad80d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 243.066583] RAX: ffffffffffffffda RBX: 00007f30e5335920 RCX: 00007f30e546537b
[ 243.066583] RDX: 00007f30e5335920 RSI: 00000000ca0046c8 RDI: 0000000000000002
[ 243.066584] RBP: 00007f30e53358a0 R08: 00007f30e5335920 R09: 0000000000000000
[ 243.066584] R10: 00007f30e54ecac0 R11: 0000000000000246 R12: 00007fffc6ad832c
[ 243.066584] R13: 0000000000000000 R14: 00007f30e5336340 R15: 00007f30e5335870
So, looks to me that the nvidia driver in the kernel is crashing for some reason. I'm not sure how to resolve it. But, that's where I'm at in this process.
Bookmarks