I'm struggling to figure this out and I'm hoping someone can provide me with some advice or at least point me in the right direction.
I've got a 2010 Macbook Pro (7,1) that I'm trying to get stable on Xubuntu. Most things are running fine, the issue I'm running into is that I can't get the Nvidia display and PCI bridge to register correctly, so when I suspend the device, it is unresponsive when I bring it back up and I end up having to hard reset it.
My PCI register values pre-attempt are: MCP89 [GeForce 320M] -- "04:00.0" 04b is 07 (as it should be) MCP89 PCI Express Bridge -- "00:17.0" 3e.b is 02 (should be 08)
My PCI register values post attempt are: MCP89 [GeForce 320M] -- "04:00.0" 04b is 07 (as it should be) MCP89 PCI Express Bridge -- "00:17.0" 3e.b is 0a (different, but should be 08)
The output from my lshw --businfo -class bridge -class display command is:
Bus info Device Class Description ======================================================== pci@0000:00:00.0 bridge MCP89 HOST Bridge pci@0000:00:03.0 bridge MCP89 LPC Bridge pci@0000:00:0e.0 bridge NVIDIA Corporation pci@0000:00:15.0 bridge NVIDIA Corporation pci@0000:00:16.0 bridge NVIDIA Corporation pci@0000:00:17.0 bridge MCP89 PCI Express Bridge pci@0000:04:00.0 display MCP89 [GeForce 320M]
The contents of my 01_enable_vga.conf is:
cat << EOF insmod setpci setpci -s "00:17.0" 3e.b=8 setpci -s "04:00.0" 04.b=7 EOF
The contents of my current dmesg shortly after boot is:
[ 0.000000] efi: EFI v1.10 by Apple [ 0.000000] efi: ACPI=0xbf96a000 ACPI 2.0=0xbf96a014 SMBIOS=0xbf71a000 [ 0.046985] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns [ 0.334057] pci 0000:04:00.0: BAR 1: assigned to efifb [ 0.340118] Registered efivars operations [ 0.708530] efifb: probing for efifb [ 0.708554] efifb: No BGRT, not showing boot graphics [ 0.708558] efifb: framebuffer at 0xc0010000, using 6400k, total 6400k [ 0.708561] efifb: mode is 1280x800x32, linelength=8192, pages=1 [ 0.708564] efifb: scrolling: redraw [ 0.708567] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0 [ 0.712633] fb0: EFI VGA frame buffer device [ 0.981620] EFI Variables Facility v0.08 2004-May-17 [ 1.394155] [Firmware Bug]: ACPI(IGPU) defines _DOD but not _DOS [ 7.812178] fb0: switching to nouveaufb from EFI VGA
I've tried 18.04 LTS, and setpci works correctly there, but then I can't get my Broadcom wireless card to work even with the proprietary drivers. 18.04 is also less ideal, as I'd like to be on 20.04 when it releases later this month.
I've also tried the 20.04 LTS Beta (which is the currently installed version) and am having the same issues as 19.10.
Please let me know if there's anything else I can provide to help figure this issue out. I appreciate any help. Thanks!