Black Screen when Nvidia connected, Software and Updates don't see card anymore, GDC used, GT 1030 fan running

I have a Dell Latitude e5420 connected with a GDC using a Geforce GT 1030. The computer could detect the card and install the driver through Software and Updates–now the computer doesn’t detect the card.
When starting the computer with the ExpressCard attached, I get a black screen with no text or display. I read that a workaround is to hot plug the ExpressCard after logging out, then logging back in–this worked and allowed me to choose the driver in Software and Updates, This method doesn’t work anymore–the computer no longer detects the card.
I have attached multiple logs and have downloaded the *.run file.
The process I have followed is:

purge nvidia-*
sudo sh ~/Graphics/NVIDIA-Linux-x86_64-510.68.02.run -b
restart
purge nvidia-*
````Preformatted text`
Checked Software and Updates to see if card was detected
[nvidia-installer.log|attachment](upload://7mjEyg7vfSAYRkWaa8AFcGUbGrO.log) (943 Bytes)
[nvidia-uninstall.log|attachment](upload://fcj6FbJiXBYithSeV5ZEPTlVoxM.log) (436 Bytes)
[20140823nvidia-prime-upstart.log|attachment](upload://tPO5YAB4g3dL7RO1I5728Knp93a.log) (55 Bytes)
[prime-supported.log|attachment](upload://cE7w63SIb2TiDOeKUMjJjGz2LGc.log) (30 Bytes)
[Xorg.0.log|attachment](upload://3QW1UZ1e2jMeFpGW9LKbM1vdEsd.log) (38.2 KB)

Thanks for the help.  I have attached multiple logs in hope that they provide a quick answer.

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.
Please use the upload button to attach. Horizontal bar with upward arrow in the line of formatting options.

Hi. I think this laptop (technically a notebook–Latitude e5420) cannot have the display use the Nvidia GT 1030. I think that I can only use the onboard Intel 3000. I saw the GDC connecting by way of the ExpressCard and thought that I could power the display with it. I think that I cannot change to the 1030 for added power because of what I read on other sites:

Solved: Disabling Onboard Graphics

The system will not function with the Intel GPU disabled - the nVidia GPU is not a true discrete video chip - it is a co-processor. Only the Intel GPU has a connection to the display screen - all video data passes through it on its way to the display, so there is no way to disable it and have a functional system.

Before I waste anymore time, what I want is to be able to have the screen for this Latitude be powered by, or have additional power, from the Nvidia GT 1030. According to the quoted post, this seems to be impossible–generix, I’m sure your much better at finding information about these things, so is it impossible to have the screen for this Latitude e5420 with 8GB of memory have the graphics the GT1030 is capable of? I really want to use Space Engine and go to Titan where I’ll see Saturn in the sky, and Mars for the Valles Marinaris.

The post you linked is irrelevant. To get what you want, basically you just need to enable the egpu for graphcs use and enable prime.
If you have any /etc/X11/xorg.conf created, delete it. Then create /etc/X11/xorg.conf.d/10-nvidia-egpu.conf only containing

Section "OutputClass"
    Identifier "nvidia-egpu"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowExternalGpus" "True"
EndSection

After reboot, the gpu should be in offload, aka on-demand mode
https://download.nvidia.com/XFree86/Linux-x86_64/495.44/README/primerenderoffload.html
If you want the nvidia gpu render everything, change it to

Section "OutputClass"
    Identifier "nvidia-egpu"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowExternalGpus" "True"
    Option     "PrimaryGpu" "yes"
EndSection

If anything fails

,

I have the Nvidia driver 510 installed through Additional Drivers (see attachment); I also have the *.run file (also a screenshot)–which should I use? I created the file as you said, choosing the version for always running the Nvidia (see (screenshot). I am unsure how to run the nvidia-bug-report.sh.
I read from the article you linked:

If the server didn’t create a GPU screen automatically, ensure that the nvidia_drm kernel module is loaded. This should normally happen by default, but you can confirm by running lsmod | grep nvidia_drm to see if the kernel module is loaded. Run modprobe nvidia_drm to load it.

So, thinking that I had a black screen with no text, I thought that the server didn’t create a GPU screen automatically and ran the lsmod | grep nvidia_drm I received no answer from this command (also a screenshot).



The black screen always occurs when the machine is booting and the ExpressCard/Nvidia GPU is attached; if I wait, there are no graphics.

Again:
Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.
Please use the upload button to attach. Horizontal bar with upward arrow in the line of formatting options.

nvidia-bug-report.log.gz (7.5 MB)

May 07 22:49:22 anthony-Latitude-E5420 kernel: NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR0 is 0M @ 0x0 (PCI:0000:03:00.0)

The express card slot doesn’t have enough resources to drive a gpu. Please uninstall the driver, then provide a dmesg output right after reboot and dis-/reconnecting the egpu.

To uninstall the driver I ran :

sudo apt purge nvidia-*

And then rebooted. While the machine was booting, programs automatically started: the terminal, Web browser, and evolution. Here is the output of dmesg after reboot, without trying to install a driver for the egpu at all–just with the ExpressCard connected.

[    0.773763] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing: 61482aa2830d0ab2ad5af10b7250da9033ddcef0'
[    0.774280] zswap: loaded using pool lzo/zbud
[    0.774479] Key type ._fscrypt registered
[    0.774481] Key type .fscrypt registered
[    0.774482] Key type fscrypt-provisioning registered
[    0.778235] Key type encrypted registered
[    0.778243] AppArmor: AppArmor sha1 policy hashing enabled
[    0.778251] ima: No TPM chip found, activating TPM-bypass!
[    0.778257] Loading compiled-in module X.509 certificates
[    0.779166] Loaded X.509 cert 'Build time autogenerated kernel key: 60d8ae168976e8da9176b1a7b39dd86a29d1fa2c'
[    0.779169] ima: Allocated hash algorithm: sha1
[    0.779177] ima: No architecture policies found
[    0.779189] evm: Initialising EVM extended attributes:
[    0.779190] evm: security.selinux
[    0.779191] evm: security.SMACK64
[    0.779192] evm: security.SMACK64EXEC
[    0.779193] evm: security.SMACK64TRANSMUTE
[    0.779194] evm: security.SMACK64MMAP
[    0.779194] evm: security.apparmor
[    0.779195] evm: security.ima
[    0.779196] evm: security.capability
[    0.779197] evm: HMAC attrs: 0x1
[    0.779501] PM:   Magic number: 6:668:339
[    0.779790] RAS: Correctable Errors collector initialized.
[    1.074989] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.094994] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    1.231009] tsc: Refined TSC clocksource calibration: 2494.334 MHz
[    1.231025] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x23f45126d86, max_idle_ns: 440795256522 ns
[    1.231072] clocksource: Switched to clocksource tsc
[    1.231668] usb 1-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
[    1.231690] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.232328] hub 1-1:1.0: USB hub found
[    1.232651] hub 1-1:1.0: 6 ports detected
[    1.251747] usb 2-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
[    1.251768] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.252326] hub 2-1:1.0: USB hub found
[    1.252635] hub 2-1:1.0: 6 ports detected
[    1.355077] ata2.00: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.355096] ata2.01: SATA link down (SStatus 0 SControl 300)
[    1.357571] ata2.00: ATA-9: HGST HTS545050A7E680, GR2OA350, max UDMA/133
[    1.357575] ata2.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[    1.362292] ata2.00: configured for UDMA/133
[    1.539011] usb 2-1.1: new full-speed USB device number 3 using ehci-pci
[    1.651375] usb 2-1.1: New USB device found, idVendor=046d, idProduct=c52f, bcdDevice=30.00
[    1.651399] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.651401] usb 2-1.1: Product: USB Receiver
[    1.651403] usb 2-1.1: Manufacturer: Logitech
[    1.731000] usb 2-1.2: new full-speed USB device number 4 using ehci-pci
[    1.841091] usb 2-1.2: New USB device found, idVendor=2563, idProduct=0575, bcdDevice= 1.00
[    1.841098] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.841101] usb 2-1.2: Product: Wireless Gamepad
[    1.841102] usb 2-1.2: Manufacturer: ShanWan
[    1.919022] ata1.01: failed to resume link (SControl 0)
[    2.079070] ata1.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    2.079089] ata1.01: SATA link down (SStatus 4 SControl 0)
[    2.081910] ata1.00: ATA-8: WDC WD3200BPVT-75ZEST0, 01.01A01, max UDMA/133
[    2.081917] ata1.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 0/32)
[    2.087028] ata1.00: configured for UDMA/133
[    2.087296] scsi 0:0:0:0: Direct-Access     ATA      WDC WD3200BPVT-7 1A01 PQ: 0 ANSI: 5
[    2.087767] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    2.087892] sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[    2.087899] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    2.087919] sd 0:0:0:0: [sda] Write Protect is off
[    2.087923] scsi 1:0:0:0: Direct-Access     ATA      HGST HTS545050A7 A350 PQ: 0 ANSI: 5
[    2.087923] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    2.087959] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.088142] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    2.088199] sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    2.088202] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    2.088215] sd 1:0:0:0: [sdb] Write Protect is off
[    2.088219] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    2.088243] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.119923]  sda: sda1
[    2.148515]  sdb: sdb1 sdb2 sdb3
[    2.151051] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.187311] sd 1:0:0:0: [sdb] Attached SCSI disk
[    2.189888] Freeing unused decrypted memory: 2036K
[    2.190317] Freeing unused kernel image (initmem) memory: 2900K
[    2.190376] Write protecting the kernel read-only data: 30720k
[    2.190933] Freeing unused kernel image (text/rodata gap) memory: 2036K
[    2.191292] Freeing unused kernel image (rodata/data gap) memory: 1788K
[    2.248967] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    2.248969] x86/mm: Checking user space page tables
[    2.303812] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    2.303820] Run /init as init process
[    2.303822]   with arguments:
[    2.303823]     /init
[    2.303824]     splash
[    2.303825]   with environment:
[    2.303826]     HOME=/
[    2.303827]     TERM=linux
[    2.303828]     BOOT_IMAGE=/boot/vmlinuz-5.13.0-40-generic
[    2.444661] wmi_bus wmi_bus-PNP0C14:00: WQBC data block query control method not found
[    2.449230] sdhci: Secure Digital Host Controller Interface driver
[    2.449236] sdhci: Copyright(c) Pierre Ossman
[    2.453999] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20210331/utaddress-204)
[    2.454011] ACPI: OSL: Resource conflict; ACPI support missing from driver?
[    2.454016] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20210331/utaddress-204)
[    2.454023] ACPI: OSL: Resource conflict; ACPI support missing from driver?
[    2.454025] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20210331/utaddress-204)
[    2.454031] ACPI: OSL: Resource conflict; ACPI support missing from driver?
[    2.454033] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20210331/utaddress-204)
[    2.454039] ACPI: OSL: Resource conflict; ACPI support missing from driver?
[    2.454041] lpc_ich: Resource conflict(s) found affecting gpio_ich
[    2.455433] sdhci-pci 0000:09:00.1: SDHCI controller found [1217:8321] (rev 5)
[    2.455705] mmc0 bounce up to 128 segments into one, max segment size 65536 bytes
[    2.456263] mmc0: SDHCI controller on PCI [0000:09:00.1] using DMA
[    2.496501] hid: raw HID events driver (C) Jiri Kosina
[    2.501937] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt
[    2.505189] usbcore: registered new interface driver usbhid
[    2.505194] usbhid: USB HID core driver
[    2.513332] cryptd: max_cpu_qlen set to 1000
[    2.513719] i801_smbus 0000:00:1f.3: Accelerometer lis3lv02d is present on SMBus but its address is unknown, skipping registration
[    2.513725] i2c i2c-0: 2/2 memory slots populated (from DMI)
[    2.515088] firewire_ohci 0000:09:00.0: added OHCI v1.10 device as card 0, 8 IR + 8 IT contexts, quirks 0x10
[    2.519114] i2c i2c-0: Successfully instantiated SPD at 0x50
[    2.540858] AVX version of gcm_enc/dec engaged.
[    2.540888] AES CTR mode by8 optimization enabled
[    2.541114] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/0003:046D:C52F.0001/input/input7
[    2.542243] random: fast init done
[    2.543673] hid-generic 0003:046D:C52F.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1d.0-1.1/input0
[    2.544128] input: Logitech USB Receiver Consumer Control as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.1/0003:046D:C52F.0002/input/input8
[    2.603133] hid-generic 0003:046D:C52F.0002: input,hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1d.0-1.1/input1
[    2.603368] input: ShanWan Wireless Gamepad as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:2563:0575.0003/input/input11
[    2.603455] hid-generic 0003:2563:0575.0003: input,hidraw2: USB HID v1.11 Gamepad [ShanWan Wireless Gamepad] on usb-0000:00:1d.0-1.2/input0
[    2.604551] checking generic (d0000000 410000) vs hw (e0c00000 400000)
[    2.604557] checking generic (d0000000 410000) vs hw (d0000000 10000000)
[    2.604559] fb0: switching to inteldrmfb from VESA VGA
[    2.604691] i915 0000:00:02.0: vgaarb: deactivate vga console
[    2.607877] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    2.628724] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[    2.629936] ACPI: video: Video Device [VID] (multi-head: yes  rom: no  post: no)
[    2.635320] logitech-djreceiver 0003:046D:C52F.0001: hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1d.0-1.1/input0
[    2.635663] acpi device:38: registered as cooling_device4
[    2.636116] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input12
[    2.651063] fbcon: i915drmfb (fb0) is primary device
[    2.651067] fbcon: Deferring console take-over
[    2.651070] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[    2.657479] ACPI BIOS Error (bug): Could not resolve symbol [\_PR.CPU0._PPC], AE_NOT_FOUND (20210331/psargs-330)

[    2.657496] 
               Initialized Local Variables for Method [PPCE]:
[    2.657498]   Local0: (____ptrval____) <Obj>           Integer 0000000000000000

[    2.657505] Initialized Arguments for Method [PPCE]:  (2 arguments defined for method invocation)
[    2.657506]   Arg0:   (____ptrval____) <Obj>           Integer 0000000000000000
[    2.657511]   Arg1:   (____ptrval____) <Obj>           Integer 0000000000000000

[    2.657517] ACPI Error: Aborting method \_PR.PPCE due to previous error (AE_NOT_FOUND) (20210331/psparse-529)
[    2.657525] ACPI Error: Aborting method \EV3 due to previous error (AE_NOT_FOUND) (20210331/psparse-529)
[    2.657531] ACPI Error: Aborting method \SMIE due to previous error (AE_NOT_FOUND) (20210331/psparse-529)
[    2.657537] ACPI Error: Aborting method \NEVT due to previous error (AE_NOT_FOUND) (20210331/psparse-529)
[    2.657543] ACPI Error: Aborting method \_SB.PCI0.LPCB.ECDV._Q66 due to previous error (AE_NOT_FOUND) (20210331/psparse-529)
[    2.751467] logitech-djreceiver 0003:046D:C52F.0002: hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1d.0-1.1/input1
[    2.812460] logitech-djreceiver 0003:046D:C52F.0002: device of type eQUAD step 4 DJ (0x04) connected on slot 1
[    2.812955] input: Logitech Wireless Mouse PID:4055 Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.1/0003:046D:C52F.0002/0003:046D:4055.0004/input/input13
[    2.813142] input: Logitech Wireless Mouse PID:4055 Consumer Control as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.1/0003:046D:C52F.0002/0003:046D:4055.0004/input/input14
[    2.813248] hid-generic 0003:046D:4055.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech Wireless Mouse PID:4055] on usb-0000:00:1d.0-1.1/input1:1
[    2.902717] input: Logitech Wireless Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.1/0003:046D:C52F.0002/0003:046D:4055.0004/input/input18
[    2.902865] logitech-hidpp-device 0003:046D:4055.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech Wireless Mouse] on usb-0000:00:1d.0-1.1/input1:1
[    3.022983] firewire_core 0000:09:00.0: created device fw0: GUID 03462f21384fc000, S400
[    3.704546] input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio1/input/input6
[    4.279867] EXT4-fs (sdb3): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    5.013172] random: crng init done
[    9.092422] systemd[1]: Inserted module 'autofs4'
[    9.965508] systemd[1]: systemd 245.4-4ubuntu3.15 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[    9.983086] systemd[1]: Detected architecture x86-64.
[   10.058419] systemd[1]: Set hostname to <anthony-Latitude-E5420>.
[   15.214095] systemd[1]: Created slice system-modprobe.slice.
[   15.214396] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[   15.214704] systemd[1]: Created slice User and Session Slice.
[   15.214786] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   15.215040] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   15.215095] systemd[1]: Reached target User and Group Name Lookups.
[   15.215114] systemd[1]: Reached target Remote File Systems.
[   15.215127] systemd[1]: Reached target Slices.
[   15.215282] systemd[1]: Listening on Syslog Socket.
[   15.215389] systemd[1]: Listening on fsck to fsckd communication Socket.
[   15.215448] systemd[1]: Listening on initctl Compatibility Named Pipe.
[   15.215666] systemd[1]: Listening on Journal Audit Socket.
[   15.215770] systemd[1]: Listening on Journal Socket (/dev/log).
[   15.215893] systemd[1]: Listening on Journal Socket.
[   15.216009] systemd[1]: Listening on udev Control Socket.
[   15.216105] systemd[1]: Listening on udev Kernel Socket.
[   15.217177] systemd[1]: Mounting Huge Pages File System...
[   15.218285] systemd[1]: Mounting POSIX Message Queue File System...
[   15.219528] systemd[1]: Mounting Kernel Debug File System...
[   15.220733] systemd[1]: Mounting Kernel Trace File System...
[   15.222340] systemd[1]: Starting Journal Service...
[   15.223679] systemd[1]: Starting Set the console keyboard layout...
[   15.225589] systemd[1]: Starting Create list of static device nodes for the current kernel...
[   15.225691] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[   15.276459] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[   15.276522] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[   15.352794] systemd[1]: Starting Load Kernel Modules...
[   15.353996] systemd[1]: Starting Remount Root and Kernel File Systems...
[   15.355422] systemd[1]: Starting udev Coldplug all Devices...
[   15.356470] systemd[1]: Starting Uncomplicated firewall...
[   15.358418] systemd[1]: Mounted Huge Pages File System.
[   15.358605] systemd[1]: Mounted POSIX Message Queue File System.
[   15.358759] systemd[1]: Mounted Kernel Debug File System.
[   15.358930] systemd[1]: Mounted Kernel Trace File System.
[   15.359487] systemd[1]: Finished Create list of static device nodes for the current kernel.
[   15.425858] systemd[1]: Started Journal Service.
[   15.540373] EXT4-fs (sdb3): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[   16.182959] Adding 2097148k swap on /swapfile.  Priority:-2 extents:6 across:2260988k FS
[   16.331728] lp: driver loaded but no devices found
[   16.380203] systemd-journald[321]: Received client request to flush runtime journal.
[   16.460827] ppdev: user-space parallel port driver
[   16.504627] bpfilter: Loaded bpfilter_umh pid 347
[   16.504948] Started bpfilter
[   16.578646] parport_pc 00:04: [io  0x0378-0x037b]
[   16.578659] parport_pc 00:04: [io  0x0278-0x027b]
[   16.578666] parport_pc 00:04: [io  0x03bc-0x03bf]
[   16.578672] parport_pc 00:04: [io  0x0378-0x037b]
[   16.578765] parport_pc 00:04: [irq 7]
[   16.580906] parport_pc 00:04: activated
[   16.580910] parport_pc 00:04: reported by Plug and Play ACPI
[   16.908843] IPMI message handler: version 39.2
[   16.966841] ipmi device interface
[   17.963581] loop0: detected capacity change from 0 to 8
[   17.983334] loop1: detected capacity change from 0 to 113680
[   18.096701] loop2: detected capacity change from 0 to 113696
[   18.217800] loop3: detected capacity change from 0 to 126760
[   18.300671] loop4: detected capacity change from 0 to 126776
[   18.507745] loop5: detected capacity change from 0 to 337424
[   18.531241] loop6: detected capacity change from 0 to 133552
[   18.784810] loop7: detected capacity change from 0 to 89352
[   18.919309] loop8: detected capacity change from 0 to 91496
[   18.995306] loop9: detected capacity change from 0 to 32
[   19.067300] loop10: detected capacity change from 0 to 32
[   19.151177] loop11: detected capacity change from 0 to 31072
[   19.215352] loop12: detected capacity change from 0 to 27680
[   20.862075] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.4)
[   21.069258] dell-smbios A80593CE-A997-11DA-B012-B622A1EF5492: WMI SMBIOS userspace interface not supported(0), try upgrading to a newer BIOS
[   21.374583] input: Dell WMI hotkeys as /devices/platform/PNP0C14:00/wmi_bus/wmi_bus-PNP0C14:00/9DBB5994-A997-11DA-B012-B622A1EF5492/input/input19
[   21.822373] at24 0-0050: supply vcc not found, using dummy regulator
[   21.822988] at24 0-0050: 256 byte spd EEPROM, read-only
[   22.114344] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 163840 ms ovfl timer
[   22.114349] RAPL PMU: hw unit of domain pp0-core 2^-16 Joules
[   22.114351] RAPL PMU: hw unit of domain package 2^-16 Joules
[   22.114353] RAPL PMU: hw unit of domain pp1-gpu 2^-16 Joules
[   23.485568] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   23.486153] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   25.664123] dell_laptop: Using i8042 filter function for receiving events
[   27.144035] intel_rapl_common: Found RAPL domain package
[   27.144041] intel_rapl_common: Found RAPL domain core
[   27.144042] intel_rapl_common: Found RAPL domain uncore
[   27.144049] intel_rapl_common: RAPL package-0 domain package locked by BIOS
[   27.163348] wl: loading out-of-tree module taints kernel.
[   27.163355] wl: module license 'MIXED/Proprietary' taints kernel.
[   27.163357] Disabling lock debugging due to kernel taint
[   27.165780] wl: module verification failed: signature and/or required key missing - tainting kernel
[   27.325191] wlan0: Broadcom BCM4727 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334)

[   27.468749] wl 0000:02:00.0 wlp2s0: renamed from wlan0
[   27.544973] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   27.983833] snd_hda_codec_idt hdaudioC0D0: autoconfig for 92HD90BXX: line_outs=1 (0xe/0x0/0x0/0x0/0x0) type:line
[   27.983840] snd_hda_codec_idt hdaudioC0D0:    speaker_outs=1 (0xd/0x0/0x0/0x0/0x0)
[   27.983843] snd_hda_codec_idt hdaudioC0D0:    hp_outs=1 (0xb/0x0/0x0/0x0/0x0)
[   27.983845] snd_hda_codec_idt hdaudioC0D0:    mono: mono_out=0x0
[   27.983846] snd_hda_codec_idt hdaudioC0D0:    inputs:
[   27.983848] snd_hda_codec_idt hdaudioC0D0:      Dock Mic=0xf
[   27.983849] snd_hda_codec_idt hdaudioC0D0:      Internal Mic=0x11
[   27.983851] snd_hda_codec_idt hdaudioC0D0:      Mic=0xa
[   28.098571] input: HDA Intel PCH Dock Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input20
[   28.098671] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input21
[   28.098765] input: HDA Intel PCH Dock Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input22
[   28.098855] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input23
[   28.099162] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input24
[   28.099251] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input25
[   28.099329] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input26
[   33.769243] usb 2-1.2: USB disconnect, device number 4
[   34.030995] usb 2-1.2: new full-speed USB device number 5 using ehci-pci
[   34.153494] usb 2-1.2: New USB device found, idVendor=045e, idProduct=028e, bcdDevice= 1.10
[   34.153502] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   34.153504] usb 2-1.2: Product: Xbox360 For Windows
[   34.153506] usb 2-1.2: Manufacturer: ShanWan
[   34.153507] usb 2-1.2: SerialNumber: 10F36D6
[   34.889460] input: Microsoft X-Box 360 pad as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input27
[   34.889675] usbcore: registered new interface driver xpad
[   36.201463] audit: type=1400 audit(1652030472.932:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=982 comm="apparmor_parser"
[   36.201473] audit: type=1400 audit(1652030472.932:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=982 comm="apparmor_parser"
[   36.214927] audit: type=1400 audit(1652030472.948:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ippusbxd" pid=980 comm="apparmor_parser"
[   36.237668] audit: type=1400 audit(1652030472.968:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=981 comm="apparmor_parser"
[   36.237678] audit: type=1400 audit(1652030472.968:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=981 comm="apparmor_parser"
[   36.237681] audit: type=1400 audit(1652030472.968:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=981 comm="apparmor_parser"
[   36.405027] audit: type=1400 audit(1652030473.136:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=989 comm="apparmor_parser"
[   36.451988] audit: type=1400 audit(1652030473.184:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-senddoc" pid=987 comm="apparmor_parser"
[   36.508779] audit: type=1400 audit(1652030473.240:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/tcpdump" pid=988 comm="apparmor_parser"
[   36.531342] audit: type=1400 audit(1652030473.264:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cups-browsed" pid=978 comm="apparmor_parser"
[   62.406426] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[   65.071321] vboxdrv: Found 4 processor cores
[   65.091176] vboxdrv: TSC mode is Invariant, tentative frequency 2494320189 Hz
[   65.091183] vboxdrv: Successfully loaded version 6.1.32_Ubuntu r149290 (interface 0x00320000)
[   65.249717] VBoxNetFlt: Successfully started.
[   65.578064] VBoxNetAdp: Successfully started.
[   66.203388] kauditd_printk_skb: 28 callbacks suppressed
[   66.203392] audit: type=1400 audit(1652030502.936:40): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=1192 comm="cups-browsed" capability=23  capname="sys_nice"
[   70.303330] loop13: detected capacity change from 0 to 8
[  151.119639] logitech-hidpp-device 0003:046D:4055.0004: HID++ 4.5 device connected.
[  184.862533] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:01:f8:2c:18:ee:e3:c9:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[  291.813495] input: Microsoft X-Box 360 pad 0 as /devices/virtual/input/input28
[  309.888018] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:01:f8:2c:18:ee:e3:c9:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[  347.202348] pci 0000:03:00.0: [10de:1d01] type 00 class 0x030000
[  347.202428] pci 0000:03:00.0: reg 0x10: [mem 0x00000000-0x00ffffff]
[  347.202476] pci 0000:03:00.0: reg 0x14: [mem 0x00000000-0x0fffffff 64bit pref]
[  347.202532] pci 0000:03:00.0: reg 0x1c: [mem 0x00000000-0x01ffffff 64bit pref]
[  347.202552] pci 0000:03:00.0: reg 0x24: [io  0x0000-0x007f]
[  347.202577] pci 0000:03:00.0: reg 0x30: [mem 0x00000000-0x0007ffff pref]
[  347.203203] pci 0000:03:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:1c.2 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[  347.203413] pci 0000:03:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[  347.203420] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[  347.203521] pci 0000:03:00.1: [10de:0fb8] type 00 class 0x040300
[  347.203573] pci 0000:03:00.1: reg 0x10: [mem 0x00000000-0x00003fff]
[  347.204125] pci_bus 0000:01: Allocating resources
[  347.204131] pcieport 0000:00:1c.0: bridge window [io  0x1000-0x0fff] to [bus 01] add_size 1000
[  347.204136] pcieport 0000:00:1c.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 01] add_size 200000 add_align 100000
[  347.204142] pcieport 0000:00:1c.0: bridge window [mem 0x00100000-0x000fffff] to [bus 01] add_size 200000 add_align 100000
[  347.204155] pci_bus 0000:02: Allocating resources
[  347.204163] pcieport 0000:00:1c.1: bridge window [io  0x1000-0x0fff] to [bus 02] add_size 1000
[  347.204168] pcieport 0000:00:1c.1: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 02] add_size 200000 add_align 100000
[  347.204179] pci_bus 0000:03: Allocating resources
[  347.204203] pci_bus 0000:09: Allocating resources
[  347.204229] pcieport 0000:00:1c.5: bridge window [io  0x1000-0x0fff] to [bus 09] add_size 1000
[  347.204233] pcieport 0000:00:1c.5: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 09] add_size 200000 add_align 100000
[  347.204246] pcieport 0000:00:1c.0: BAR 14: assigned [mem 0xcfa00000-0xcfbfffff]
[  347.204255] pcieport 0000:00:1c.0: BAR 15: assigned [mem 0xcfc00000-0xcfdfffff 64bit pref]
[  347.204261] pcieport 0000:00:1c.1: BAR 15: assigned [mem 0xcfe00000-0xcfffffff 64bit pref]
[  347.204267] pcieport 0000:00:1c.5: BAR 15: assigned [mem 0xe0a00000-0xe0bfffff 64bit pref]
[  347.204273] pcieport 0000:00:1c.0: BAR 13: assigned [io  0x4000-0x4fff]
[  347.204278] pcieport 0000:00:1c.1: BAR 13: assigned [io  0x5000-0x5fff]
[  347.204283] pcieport 0000:00:1c.5: BAR 13: assigned [io  0x6000-0x6fff]
[  347.204295] pci 0000:03:00.0: BAR 1: no space for [mem size 0x10000000 64bit pref]
[  347.204298] pci 0000:03:00.0: BAR 1: failed to assign [mem size 0x10000000 64bit pref]
[  347.204304] pci 0000:03:00.0: BAR 3: no space for [mem size 0x02000000 64bit pref]
[  347.204307] pci 0000:03:00.0: BAR 3: failed to assign [mem size 0x02000000 64bit pref]
[  347.204310] pci 0000:03:00.0: BAR 0: no space for [mem size 0x01000000]
[  347.204313] pci 0000:03:00.0: BAR 0: failed to assign [mem size 0x01000000]
[  347.204317] pci 0000:03:00.0: BAR 6: assigned [mem 0xe1000000-0xe107ffff pref]
[  347.204321] pci 0000:03:00.1: BAR 0: assigned [mem 0xe1080000-0xe1083fff]
[  347.204332] pci 0000:03:00.0: BAR 5: assigned [io  0x2000-0x207f]
[  347.204470] pci 0000:03:00.1: D0 power state depends on 0000:03:00.0
[  347.204757] snd_hda_intel 0000:03:00.1: enabling device (0000 -> 0002)
[  347.204879] snd_hda_intel 0000:03:00.1: Disabling MSI
[  347.204888] snd_hda_intel 0000:03:00.1: Handle vga_switcheroo audio client
[  347.499246] nouveau 0000:03:00.0: enabling device (0000 -> 0001)
[  347.499337] nouveau 0000:03:00.0: unable to map PRI
[  347.499345] nouveau: probe of 0000:03:00.0 failed with error -12
[  348.218141] snd_hda_intel 0000:03:00.1: azx_get_response timeout, switching to polling mode: last cmd=0x001f000f
[  349.226140] snd_hda_intel 0000:03:00.1: azx_get_response timeout, switching to single_cmd mode: last cmd=0x001f000f
[  349.233180] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1c.2/0000:03:00.1/sound/card1/input29
[  349.233363] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1c.2/0000:03:00.1/sound/card1/input30
[  349.233494] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1c.2/0000:03:00.1/sound/card1/input31
[  349.233623] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1c.2/0000:03:00.1/sound/card1/input32
[  349.233751] input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1c.2/0000:03:00.1/sound/card1/input33
[  354.876247] pci_bus 0000:01: Allocating resources
[  354.876260] pci_bus 0000:02: Allocating resources
[  354.876273] pci_bus 0000:03: Allocating resources
[  354.876293] pci_bus 0000:09: Allocating resources
anthony@anthony-Latitude-E5420:~$ 

pci 0000:03:00.0: BAR 1: no space
pci 0000:03:00.0: BAR 3: no space

Unfortunately, the early dmesg are cut off, so I can’t see how much resources the bios allows but this likely won’t work. Please try setting kernel parameter
pci=realloc
and create a new
sudo dmesg >dmesg.txt
after boot and attch it.

Hey, thanks for all your help.
dmesg.txt (69.4 KB)

[ 0.208903] pci 0000:00:1c.2: PCI bridge to [bus 03-08]
[ 0.208907] pci 0000:00:1c.2: bridge window [io 0x2000-0x2fff]
[ 0.208914] pci 0000:00:1c.2: bridge window [mem 0xe1000000-0xe19fffff]
[ 0.208919] pci 0000:00:1c.2: bridge window [mem 0xe0000000-0xe09fffff 64bit pref]

Sorry, won’t work. The upstream pci bridge only has two memory windows of 10MB but to drive a gpu, about 300MB are needed. You could check your bios for a switch but I guess you won’t find any.

BTW, pci=realloc has to be added to kernel cmdline, not sysctl

Looks like this device needs a bios hack via loading modified acpi tables to have the needed mem resource available:
https://www.techinferno.com/index.php?/topic/7583-14-dell-e5420-gtx5704gbpsc-ec2-pe4c-21a-win81-thedeatheffect/
https://www.techinferno.com/index.php?/topic/5874-guide-dsdt-override-to-fix-error-12/

bios hack sounds like a major risk-taking. I think I’m going to buy a used computer from Ebay and put my Nvidia in it; for the os and to get things the way they are on this computer, I’ll run a restore operation from Lucky Backup. Sound good to you? Any suggestions? About the bios hack, if I mess up, I ruin my laptop, correct?

Please try the followin kernel parameters instead
pci=assign-busses,hpbussize=0x10,hpmmiosize=32M,hpmmioprefsize=512M,nocrs,realloc
https://askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter

I added the grub edit and have attached a screenshot.

Here is the process I ran through:
Grub edit
Restart
Connect ExpressCard
Install Nvidia 510 through Additional Drivers
Used System Profiler to show Intel Graphics still active
Restart
3 beeps when booting; usually no beeps
Restart and remove ExpressCard (since I have a black screen when EC is attached
Purge Nvidia

Please uninstall the nvidia driver and provide a dmesg output after boot.

dmesg.txt (77.7 KB)

I connected the ExpressCard to the machine and so Noveau was auto-selected; if I connect the ExpressCard when the machine is booting, I get a blank screen.

The dmesg is from a boot without the kernel parameters set. I suspect you forgot to run
sudo update-grub
after changing grub config.