Closed liarokapisv closed 10 months ago
I don't think this is a duplicate because I also tried without the home-manager module and the issue persists for me. I updated the broken branch in my nix-config to reflect this. The issue also persists if I pin the versions of everything except from the nixosSystem
's nixpkgs
version, which does not affect home-manager.
A couple of questions
Does GPU acceleration work outside of hyprland?
Do the kernel logs indicate any GPU driver problems?
Does GPU acceleration outside of hyprland?
I am not sure what is the most useful way to test this. Run sway or another compositor/manager ?
Do the kernel logs indicate any GPU driver problems?
Not as far as I can tell. After the update I do get a seemingly unrelated new error about the wifi.
IOMFB::PropMgr::getVal(IOMFB::RuntimeProperty) [P = IOMFB::RuntimePropertyType::boolean]: WARNING - type mismatch on [ 1.406331] apple-dcp 38bc00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:10490: set_run_mode_safe: deferring: 2 -> 4 [ 1.406338] apple-dcp 38bc00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:10395: virtual IOMFBStatus IOMFB::UPPipeDCP_H13P::ready_for_run_mode_change(IOMFB::AppleRegisterStream *): initiating deferred run mod [ 1.406397] apple-dcp 38bc00000.dcp: RTKit: syslog message: M3Hal_v1.cpp:197: IOMFB: load APT M3 IMem : size 0x7960 [ 1.406550] apple-dcp 38bc00000.dcp: RTKit: syslog message: M3Hal_v1.cpp:197: IOMFB: load APT M3 DMem : size 0x70ac [ 1.406689] apple-dcp 38bc00000.dcp: RTKit: syslog message: CAHandler.cpp:188: IOMFB load_ca_data: Unrecognized data version 0 (expected 1 or 2) [ 1.407377] apple-dcp 38bc00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:14085: IOMFB Int RTBandwidth: program_M3_rt_config: Using Dashboard 28e3d0988 [ 1.407444] apple-dcp 38bc00000.dcp: RTKit: syslog message: UPTSQManager.cpp:133: IOMFB: clearing M3 reset [ 1.407520] apple-dcp 38bc00000.dcp: RTKit: syslog message: UPTSQ_Hal_v1.cpp:349: IOMFB: timebase_offset = 4 [ 1.421167] apple-dcp 38bc00000.dcp: RTKit: syslog message: UPTSQManager.cpp:105: IOMFB: switch to normal mode succeeded [ 1.421638] apple-dcp 38bc00000.dcp: RTKit: syslog message: eoInterfaceIOAV.cpp:296: IOMFB: VideoInterfaceIOAV::power_on: m_power_ctrl->setPower( 1 ) [ 1.427626] apple-dcp 38bc00000.dcp: RTKit: syslog message: MMailboxHandler.cpp:214: pcc firmware: MailBox Printf is enabled in BLM Pipe Line Init [ 1.427809] apple-dcp 38bc00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:17179: handle_stage1_enable blm_en 1 ltm_en 0 [ 1.439040] Console: switching to colour frame buffer device 189x59 [ 1.458783] dwc3 f02280000.usb: Adding to iommu group 7 [ 1.464239] apple-drm soc:display-subsystem: [drm] fb0: appledrmfb frame buffer device [ 2.010067] pcie-apple 590000000.pcie: host bridge /soc/pcie@590000000 ranges: [ 2.010093] pcie-apple 590000000.pcie: MEM 0x05a0000000..0x05bfffffff -> 0x05a0000000 [ 2.010105] pcie-apple 590000000.pcie: MEM 0x05c0000000..0x05ffffffff -> 0x00c0000000 [ 2.010196] pcie-apple 590000000.pcie: invalid resource (null) [ 2.212778] apple-isp: CISP_CMD_CONFIG_GET: [ 2.212787] apple-isp: 00000000 00000003 016e3600 00000001 0000000a 00000000 00000001 [ 2.212909] apple-isp 384000000.isp: found sensor 558 CC2244512ADPNTVF3 on ch 0 [ 2.212915] apple-isp: ch: CISP_CMD_CH_INFO_GET: 0 [ 2.212919] apple-isp: ch: 00000000 0000010d 00000000 07dc0001 0005008c 00010007 00000006 00000001 [ 2.212924] apple-isp: ch: 00000558 00000009 00001410 00000002 00000000 00000000 00000000 00000000 [ 2.212927] apple-isp: ch: 00000000 00000000 00000000 00050000 00000001 00000000 00000004 00000020 [ 2.212931] apple-isp: ch: 00000006 00000000 00004680 00000040 00000001 00000002 00004000 00000040 [ 2.212935] apple-isp: ch: 00000001 00000000 00000000 00000036 00000000 00000000 000f4240 434300a0 [ 2.212939] apple-isp: ch: 34343232 41323135 544e5044 00334656 00000000 00000008 00000000 00000000 [ 2.212942] apple-isp: ch: 00000001 00000000 00000100 00000000 00000000 00000000 00000000 00ff0000 [ 2.212945] apple-isp: ch: 00000c00 00000000 0000001c 00000680 00000004 00000004 00000000 00000000 [ 2.212948] apple-isp: ch: 00000000 00000000 00000000 00000000 07800000 00000780 [ 2.213099] apple-isp: ps: CISP_CMD_CH_CAMERA_CONFIG_GET: 0 [ 2.213103] apple-isp: ps: 00000000 00000106 00000000 00000000 07800780 07800780 00000000 00001df8 [ 2.213106] apple-isp: ps: 00000100 00000001 00000040 00000040 00000040 00000040 00000040 00000040 [ 2.213110] apple-isp: ps: 00000003 00000040 00000040 00000005 00000000 0100041e 00000001 00000000 [ 2.213114] apple-isp: ps: 0bdebefc 00000006 00000007 00000000 00000009 000f4240 00000012 00000000 [ 2.213120] apple-isp: ps: 00008000 00000014 00000015 00000000 00000000 00000000 00000780 00000780 [ 2.213124] apple-isp: ps: 00010000 00000000 d3e00000 00000040 0000001f 00000000 00000000 00000000 [ 2.213128] apple-isp: ps: 00000780 00000780 00000100 00000000 00000000 00000780 00000780 [ 2.213270] apple-isp: ps: CISP_CMD_CH_CAMERA_CONFIG_GET: 1 [ 2.213273] apple-isp: ps: 00000000 00000106 00000000 00000001 08700780 08700780 00000000 00001df8 [ 2.213280] apple-isp: ps: 00000100 00000001 00000040 00000040 00000040 00000040 00000040 00000040 [ 2.213283] apple-isp: ps: 00000003 00000040 00000040 00000005 00000000 0100041e 00000001 00000000 [ 2.213287] apple-isp: ps: 0bdebefc 00000006 00000007 00000000 00000009 000f4240 00000012 00000000 [ 2.213290] apple-isp: ps: 00008000 00000014 00000015 00000000 00000000 00000000 00000780 00000438 [ 2.213294] apple-isp: ps: 00010001 00000000 d3e00000 00000040 0000001f 00000000 00000000 00000000 [ 2.213297] apple-isp: ps: 00000780 00000870 00000100 00000000 00000000 00000780 00000438 [ 2.213411] apple-isp: ps: CISP_CMD_CH_CAMERA_CONFIG_GET: 2 [ 2.213415] apple-isp: ps: 00000000 00000106 00000000 00000002 0f000438 0f000438 00000000 00001df8 [ 2.213418] apple-isp: ps: 00000100 00000001 00000040 00000040 00000040 00000040 00000040 00000040 [ 2.213422] apple-isp: ps: 00000003 00000040 00000040 00000005 00000000 0100041e 00000001 00000000 [ 2.213425] apple-isp: ps: 0bdebefc 00000006 00000007 00000000 00000009 000f4240 0000000d 00000000 [ 2.213428] apple-isp: ps: 00008000 00000014 00000015 00000000 00000000 00000000 00000438 00000780 [ 2.213432] apple-isp: ps: 00010001 00000000 d3e00000 00000040 0000001f 00000000 00000000 00000000 [ 2.213435] apple-isp: ps: 00000438 00000f00 00000100 00000000 00000000 00000438 00000780 [ 2.213570] apple-isp: ps: CISP_CMD_CH_CAMERA_CONFIG_GET: 3 [ 2.213575] apple-isp: ps: 00000000 00000106 00000000 00000003 0a6006e0 0a6006e0 00000000 00001df8 [ 2.213578] apple-isp: ps: 00000100 00000001 00000040 00000040 00000040 00000040 00000040 00000040 [ 2.213582] apple-isp: ps: 00000003 00000040 00000040 00000005 00000000 0100041e 00000001 00000000 [ 2.213585] apple-isp: ps: 0bdebefc 00000006 00000007 00000000 00000009 000f4240 00000010 00000000 [ 2.213589] apple-isp: ps: 00008000 00000014 00000015 00000000 00000000 00000000 000006e0 00000530 [ 2.213596] apple-isp: ps: 00010001 00000000 d3e00000 00000040 0000001f 00000000 00000000 00000000 [ 2.213599] apple-isp: ps: 000006e0 00000a60 00000100 00000000 00000000 000006e0 00000530 [ 2.213734] apple-isp: ps: CISP_CMD_CH_CAMERA_CONFIG_GET: 4 [ 2.213739] apple-isp: ps: 00000000 00000106 00000000 00000004 0dc00530 0dc00530 00000000 00001df8 [ 2.213743] apple-isp: ps: 00000100 00000001 00000040 00000040 00000040 00000040 00000040 00000040 [ 2.213746] apple-isp: ps: 00000003 00000040 00000040 00000005 00000000 0100041e 00000001 00000000 [ 2.213750] apple-isp: ps: 0bdebefc 00000006 00000007 00000000 00000009 000f4240 0000000e 00000000 [ 2.213756] apple-isp: ps: 00008000 00000014 00000015 00000000 00000000 00000000 00000530 000006e0 [ 2.213760] apple-isp: ps: 00010001 00000000 d3e00000 00000040 0000001f 00000000 00000000 00000000 [ 2.213764] apple-isp: ps: 00000530 00000dc0 00000100 00000000 00000000 00000530 000006e0 [ 2.213896] apple-isp: ps: CISP_CMD_CH_CAMERA_CONFIG_GET: 5 [ 2.213901] apple-isp: ps: 00000000 00000106 00000000 00000005 0c200610 0c200610 00000000 00001df8 [ 2.213905] apple-isp: ps: 00000100 00000001 00000040 00000040 00000040 00000040 00000040 00000040 [ 2.213908] apple-isp: ps: 00000003 00000040 00000040 00000005 00000000 0100041e 00000001 00000000 [ 2.213915] apple-isp: ps: 0bdebefc 00000006 00000007 00000000 00000009 000f4240 0000000f 00000000 [ 2.213919] apple-isp: ps: 00008000 00000014 00000015 00000000 00000000 00000000 00000610 00000610 [ 2.213923] apple-isp: ps: 00010001 00000000 d3e00000 00000040 0000001f 00000000 00000000 00000000 [ 2.213927] apple-isp: ps: 00000610 00000c20 00000100 00000000 00000000 00000610 00000610 [ 2.223658] pcie-apple 590000000.pcie: invalid resource (null) [ 2.236780] apple-isp 384000000.isp: apple-isp probe! [ 2.439661] pcie-apple 590000000.pcie: ECAM at [mem 0x590000000-0x590ffffff] for [bus 00-04] [ 2.439823] pcie-apple 590000000.pcie: PCI host bridge to bus 0000:00 [ 2.439828] pci_bus 0000:00: root bus resource [bus 00-04] [ 2.439832] pci_bus 0000:00: root bus resource [mem 0x5a0000000-0x5bfffffff pref] [ 2.439837] pci_bus 0000:00: root bus resource [mem 0x5c0000000-0x5ffffffff] (bus address [0xc0000000-0xffffffff]) [ 2.439859] pci 0000:00:00.0: [106b:100c] type 01 class 0x060400 [ 2.439948] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold [ 2.440234] pci 0000:00:01.0: [106b:100c] type 01 class 0x060400 [ 2.440316] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold [ 2.442219] pci 0000:01:00.0: [14e4:4433] type 00 class 0x028000 [ 2.442245] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit] [ 2.442263] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00ffffff 64bit] [ 2.442413] pci 0000:01:00.0: supports D1 D2 [ 2.442416] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 2.442731] pci 0000:01:00.1: [14e4:5f71] type 00 class 0x028000 [ 2.442757] pci 0000:01:00.1: reg 0x10: [mem 0x00000000-0x00007fff 64bit] [ 2.442773] pci 0000:01:00.1: reg 0x18: [mem 0x00000000-0x003fffff 64bit] [ 2.442905] pci 0000:01:00.1: supports D1 D2 [ 2.442909] pci 0000:01:00.1: PME# supported from D0 D1 D2 D3hot D3cold [ 2.445566] pci_bus 0000:01: busn_res: [bus 01-04] end is updated to 01 [ 2.445752] pci 0000:02:00.0: [17a0:9755] type 00 class 0x080501 [ 2.445781] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x00000fff] [ 2.445986] pci 0000:02:00.0: supports D1 D2 [ 2.445989] pci 0000:02:00.0: PME# supported from D1 D2 D3hot D3cold [ 2.448562] pci_bus 0000:02: busn_res: [bus 02-04] end is updated to 02 [ 2.448586] pci 0000:00:00.0: BAR 14: assigned [mem 0x5c0000000-0x5c17fffff] [ 2.448593] pci 0000:00:01.0: BAR 14: assigned [mem 0x5c1800000-0x5c18fffff] [ 2.448600] pci 0000:01:00.0: BAR 2: assigned [mem 0x5c0000000-0x5c0ffffff 64bit] [ 2.448616] pci 0000:01:00.1: BAR 2: assigned [mem 0x5c1000000-0x5c13fffff 64bit] [ 2.448630] pci 0000:01:00.0: BAR 0: assigned [mem 0x5c1400000-0x5c140ffff 64bit] [ 2.448645] pci 0000:01:00.1: BAR 0: assigned [mem 0x5c1410000-0x5c1417fff 64bit] [ 2.448659] pci 0000:00:00.0: PCI bridge to [bus 01] [ 2.448664] pci 0000:00:00.0: bridge window [mem 0x5c0000000-0x5c17fffff] [ 2.448672] pci 0000:02:00.0: BAR 0: assigned [mem 0x5c1800000-0x5c1800fff] [ 2.448680] pci 0000:00:01.0: PCI bridge to [bus 02] [ 2.448685] pci 0000:00:01.0: bridge window [mem 0x5c1800000-0x5c18fffff] [ 2.448735] OF: /soc/pcie@590000000: no iommu-map translation for id 0x0 on (null) [ 2.448990] pcieport 0000:00:00.0: PME: Signaling with IRQ 105 [ 2.449119] pcieport 0000:00:00.0: AER: enabled with IRQ 105 [ 2.449258] OF: /soc/pcie@590000000: no iommu-map translation for id 0x8 on (null) [ 2.449474] pcieport 0000:00:01.0: PME: Signaling with IRQ 107 [ 2.450034] pcieport 0000:00:01.0: AER: enabled with IRQ 107 [ 2.453762] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 2.454365] sdhci: Secure Digital Host Controller Interface driver [ 2.454368] sdhci: Copyright(c) Pierre Ossman [ 2.456106] sdhci-pci 0000:02:00.0: Adding to iommu group 8 [ 2.456282] sdhci-pci 0000:02:00.0: SDHCI controller found [17a0:9755] (rev 1) [ 2.456302] sdhci-pci 0000:02:00.0: enabling device (0000 -> 0002) [ 2.457142] mmc0: SDHCI controller on PCI [0000:02:00.0] using ADMA 64-bit [ 2.463096] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 2.468737] usbcore: registered new interface driver brcmfmac [ 2.468907] brcmfmac 0000:01:00.0: Adding to iommu group 9 [ 2.468978] brcmfmac 0000:01:00.0: enabling device (0000 -> 0002) [ 2.470130] Bluetooth: Core ver 2.22 [ 2.470145] NET: Registered PF_BLUETOOTH protocol family [ 2.470147] Bluetooth: HCI device and connection manager initialized [ 2.470151] Bluetooth: HCI socket layer initialized [ 2.470154] Bluetooth: L2CAP socket layer initialized [ 2.470158] Bluetooth: SCO socket layer initialized [ 2.470930] hci_bcm4377 0000:01:00.1: Adding to iommu group 9 [ 2.474543] macsmc-rtc macsmc-rtc: registered as rtc0 [ 2.482852] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4387c2-pcie for chip BCM4387/7 [ 2.483606] brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac4387c2-pcie.apple,maldives-TPHN-u-4.7-X3.bin failed with error -2 [ 2.483935] brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac4387c2-pcie.apple,maldives-TPHN-u-4.7.bin failed with error -2 [ 2.483992] brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac4387c2-pcie.apple,maldives-TPHN-u.bin failed with error -2 [ 2.484199] brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac4387c2-pcie.apple,maldives-TPHN.bin failed with error -2 [ 2.484297] brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac4387c2-pcie.apple,maldives-X3.bin failed with error -2 [ 2.500521] macsmc-rtc macsmc-rtc: setting system clock to 2024-01-03T13:06:41 UTC (1704287201) [ 2.500597] leds_pwm led-controller: failed to read period for kbd_backlight, default to off [ 2.500749] snd-soc-macaudio sound: macaudio_probe! [ 2.508812] snd-soc-macaudio sound: adding routes for 'mca-i2s-2' [ 2.510287] input: MacBook Pro J314 Headphone Jack as /devices/platform/sound/sound/card0/input5 [ 2.591027] brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac4387c2-pcie.sig failed with error -2 [ 2.650107] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 2.650119] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 2.650292] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238ffcd hci version 0x110 quirks 0x0000000000000010 [ 2.650321] xhci-hcd xhci-hcd.0.auto: irq 112, io mem 0xb02280000 [ 2.650408] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 2.650412] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [ 2.650416] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.1 Enhanced SuperSpeed [ 2.650525] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05 [ 2.650532] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.650536] usb usb1: Product: xHCI Host Controller [ 2.650539] usb usb1: Manufacturer: Linux 6.5.0-asahi xhci-hcd [ 2.650541] usb usb1: SerialNumber: xhci-hcd.0.auto [ 2.650777] hub 1-0:1.0: USB hub found [ 2.650790] hub 1-0:1.0: 1 port detected [ 2.650952] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.651002] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05 [ 2.651006] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.651009] usb usb2: Product: xHCI Host Controller [ 2.651012] usb usb2: Manufacturer: Linux 6.5.0-asahi xhci-hcd [ 2.651014] usb usb2: SerialNumber: xhci-hcd.0.auto [ 2.651200] hub 2-0:1.0: USB hub found [ 2.651212] hub 2-0:1.0: 1 port detected [ 2.679584] hci_bcm4377 0000:01:00.1: enabling device (0000 -> 0002) [ 2.809009] alg: No test for hmac(md4) (hmac(md4-generic)) [ 2.891491] usb 1-1: new high-speed USB device number 2 using xhci-hcd [ 3.020917] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice= 6.55 [ 3.020921] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 3.020922] usb 1-1: Product: USB2.1 Hub [ 3.020924] usb 1-1: Manufacturer: GenesysLogic [ 3.026499] hub 1-1:1.0: USB hub found [ 3.026774] hub 1-1:1.0: 4 ports detected [ 3.134606] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd [ 3.149366] usb 2-1: New USB device found, idVendor=05e3, idProduct=0626, bcdDevice= 6.55 [ 3.149369] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 3.149371] usb 2-1: Product: USB3.1 Hub [ 3.149372] usb 2-1: Manufacturer: GenesysLogic [ 3.154824] hub 2-1:1.0: USB hub found [ 3.155153] hub 2-1:1.0: 4 ports detected [ 3.321646] Bluetooth: hci0: HCI LE Coded PHY feature bit is set, but its usage is not supported. [ 3.545505] brcmfmac: brcmf_c_process_txcap_blob: TxCap blob found, loading [ 3.548423] brcmfmac: brcmf_c_process_cal_blob: Calibration blob provided by platform, loading [ 3.565506] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4387/7 wl0: May 27 2023 01:34:59 version 20.96.31.0.8.7.148 FWID 01-126f2c4c ```
IOMFB::PropMgr::getVal(IOMFB::RuntimeProperty) [P = IOMFB::RuntimePropertyType::boolean]: WARNING - type mismatch on [ 1.494123] apple-dcp 38bc00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:10490: set_run_mode_safe: deferring: 2 -> 4 [ 1.494145] apple-dcp 38bc00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:10395: virtual IOMFBStatus IOMFB::UPPipeDCP_H13P::ready_for_run_mode_change(IOMFB::AppleRegisterStream *): initiating deferred run mod [ 1.494191] apple-dcp 38bc00000.dcp: RTKit: syslog message: M3Hal_v1.cpp:197: IOMFB: load APT M3 IMem : size 0x7960 [ 1.494344] apple-dcp 38bc00000.dcp: RTKit: syslog message: M3Hal_v1.cpp:197: IOMFB: load APT M3 DMem : size 0x70ac [ 1.494486] apple-dcp 38bc00000.dcp: RTKit: syslog message: CAHandler.cpp:188: IOMFB load_ca_data: Unrecognized data version 0 (expected 1 or 2) [ 1.497159] apple-dcp 38bc00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:14085: IOMFB Int RTBandwidth: program_M3_rt_config: Using Dashboard 28e3d0988 [ 1.497210] apple-dcp 38bc00000.dcp: RTKit: syslog message: UPTSQManager.cpp:133: IOMFB: clearing M3 reset [ 1.497276] apple-dcp 38bc00000.dcp: RTKit: syslog message: UPTSQ_Hal_v1.cpp:349: IOMFB: timebase_offset = 4 [ 1.509942] apple-dcp 38bc00000.dcp: RTKit: syslog message: UPTSQManager.cpp:105: IOMFB: switch to normal mode succeeded [ 1.510359] apple-dcp 38bc00000.dcp: RTKit: syslog message: eoInterfaceIOAV.cpp:296: IOMFB: VideoInterfaceIOAV::power_on: m_power_ctrl->setPower( 1 ) [ 1.515478] apple-dcp 38bc00000.dcp: RTKit: syslog message: MMailboxHandler.cpp:214: pcc firmware: MailBox Printf is enabled in BLM Pipe Line Init [ 1.517133] apple-dcp 38bc00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:17179: handle_stage1_enable blm_en 1 ltm_en 0 [ 1.517156] apple-dcp 38bc00000.dcp: set_digital_out_mode finished:8377 [ 1.543547] Console: switching to colour frame buffer device 189x59 [ 1.560929] hci_bcm4377 0000:01:00.1: enabling device (0000 -> 0002) [ 1.568808] apple-drm soc:display-subsystem: [drm] fb0: appledrmfb frame buffer device [ 1.886459] dwc3 f02280000.usb: Adding to iommu group 11 [ 2.208608] apple-isp: CISP_CMD_CONFIG_GET: [ 2.208621] apple-isp: 00000000 00000003 016e3600 00000001 0000000a 00000000 00000001 [ 2.208745] apple-isp 384000000.isp: found sensor 558 CC2244512ADPNTVF3 on ch 0 [ 2.208753] apple-isp: ch: CISP_CMD_CH_INFO_GET: 0 [ 2.208760] apple-isp: ch: 00000000 0000010d 00000000 07dc0001 0005008c 00010007 00000006 00000001 [ 2.208767] apple-isp: ch: 00000558 00000009 00001410 00000002 00000000 00000000 00000000 00000000 [ 2.208774] apple-isp: ch: 00000000 00000000 00000000 00050000 00000001 00000000 00000004 00000020 [ 2.208780] apple-isp: ch: 00000006 00000000 00004680 00000040 00000001 00000002 00004000 00000040 [ 2.208786] apple-isp: ch: 00000001 00000000 00000000 00000036 00000000 00000000 000f4240 434300a0 [ 2.208793] apple-isp: ch: 34343232 41323135 544e5044 00334656 00000000 00000008 00000000 00000000 [ 2.208799] apple-isp: ch: 00000001 00000000 00000100 00000000 00000000 00000000 00000000 00ff0000 [ 2.208828] apple-isp: ch: 00000c00 00000000 0000001c 00000680 00000004 00000004 00000000 00000000 [ 2.208834] apple-isp: ch: 00000000 00000000 00000000 00000000 07800000 00000780 [ 2.208988] apple-isp: ps: CISP_CMD_CH_CAMERA_CONFIG_GET: 0 [ 2.208995] apple-isp: ps: 00000000 00000106 00000000 00000000 07800780 07800780 00000000 00001df8 [ 2.209002] apple-isp: ps: 00000100 00000001 00000040 00000040 00000040 00000040 00000040 00000040 [ 2.209010] apple-isp: ps: 00000003 00000040 00000040 00000005 00000000 0100041e 00000001 00000000 [ 2.209017] apple-isp: ps: 0bdebefc 00000006 00000007 00000000 00000009 000f4240 00000012 00000000 [ 2.209023] apple-isp: ps: 00008000 00000014 00000015 00000000 00000000 00000000 00000780 00000780 [ 2.209029] apple-isp: ps: 00010000 00000000 d3e00000 00000040 0000001f 00000000 00000000 00000000 [ 2.209035] apple-isp: ps: 00000780 00000780 00000100 00000000 00000000 00000780 00000780 [ 2.209173] apple-isp: ps: CISP_CMD_CH_CAMERA_CONFIG_GET: 1 [ 2.209180] apple-isp: ps: 00000000 00000106 00000000 00000001 08700780 08700780 00000000 00001df8 [ 2.209186] apple-isp: ps: 00000100 00000001 00000040 00000040 00000040 00000040 00000040 00000040 [ 2.209194] apple-isp: ps: 00000003 00000040 00000040 00000005 00000000 0100041e 00000001 00000000 [ 2.209200] apple-isp: ps: 0bdebefc 00000006 00000007 00000000 00000009 000f4240 00000012 00000000 [ 2.209206] apple-isp: ps: 00008000 00000014 00000015 00000000 00000000 00000000 00000780 00000438 [ 2.209212] apple-isp: ps: 00010001 00000000 d3e00000 00000040 0000001f 00000000 00000000 00000000 [ 2.209218] apple-isp: ps: 00000780 00000870 00000100 00000000 00000000 00000780 00000438 [ 2.209352] apple-isp: ps: CISP_CMD_CH_CAMERA_CONFIG_GET: 2 [ 2.209359] apple-isp: ps: 00000000 00000106 00000000 00000002 0f000438 0f000438 00000000 00001df8 [ 2.209365] apple-isp: ps: 00000100 00000001 00000040 00000040 00000040 00000040 00000040 00000040 [ 2.209373] apple-isp: ps: 00000003 00000040 00000040 00000005 00000000 0100041e 00000001 00000000 [ 2.209379] apple-isp: ps: 0bdebefc 00000006 00000007 00000000 00000009 000f4240 0000000d 00000000 [ 2.209385] apple-isp: ps: 00008000 00000014 00000015 00000000 00000000 00000000 00000438 00000780 [ 2.209391] apple-isp: ps: 00010001 00000000 d3e00000 00000040 0000001f 00000000 00000000 00000000 [ 2.209397] apple-isp: ps: 00000438 00000f00 00000100 00000000 00000000 00000438 00000780 [ 2.209529] apple-isp: ps: CISP_CMD_CH_CAMERA_CONFIG_GET: 3 [ 2.209535] apple-isp: ps: 00000000 00000106 00000000 00000003 0a6006e0 0a6006e0 00000000 00001df8 [ 2.209541] apple-isp: ps: 00000100 00000001 00000040 00000040 00000040 00000040 00000040 00000040 [ 2.209550] apple-isp: ps: 00000003 00000040 00000040 00000005 00000000 0100041e 00000001 00000000 [ 2.209556] apple-isp: ps: 0bdebefc 00000006 00000007 00000000 00000009 000f4240 00000010 00000000 [ 2.209562] apple-isp: ps: 00008000 00000014 00000015 00000000 00000000 00000000 000006e0 00000530 [ 2.209568] apple-isp: ps: 00010001 00000000 d3e00000 00000040 0000001f 00000000 00000000 00000000 [ 2.209574] apple-isp: ps: 000006e0 00000a60 00000100 00000000 00000000 000006e0 00000530 [ 2.209706] apple-isp: ps: CISP_CMD_CH_CAMERA_CONFIG_GET: 4 [ 2.209712] apple-isp: ps: 00000000 00000106 00000000 00000004 0dc00530 0dc00530 00000000 00001df8 [ 2.209718] apple-isp: ps: 00000100 00000001 00000040 00000040 00000040 00000040 00000040 00000040 [ 2.209727] apple-isp: ps: 00000003 00000040 00000040 00000005 00000000 0100041e 00000001 00000000 [ 2.209734] apple-isp: ps: 0bdebefc 00000006 00000007 00000000 00000009 000f4240 0000000e 00000000 [ 2.209740] apple-isp: ps: 00008000 00000014 00000015 00000000 00000000 00000000 00000530 000006e0 [ 2.209746] apple-isp: ps: 00010001 00000000 d3e00000 00000040 0000001f 00000000 00000000 00000000 [ 2.209751] apple-isp: ps: 00000530 00000dc0 00000100 00000000 00000000 00000530 000006e0 [ 2.209891] apple-isp: ps: CISP_CMD_CH_CAMERA_CONFIG_GET: 5 [ 2.209898] apple-isp: ps: 00000000 00000106 00000000 00000005 0c200610 0c200610 00000000 00001df8 [ 2.209907] apple-isp: ps: 00000100 00000001 00000040 00000040 00000040 00000040 00000040 00000040 [ 2.209913] apple-isp: ps: 00000003 00000040 00000040 00000005 00000000 0100041e 00000001 00000000 [ 2.209919] apple-isp: ps: 0bdebefc 00000006 00000007 00000000 00000009 000f4240 0000000f 00000000 [ 2.209925] apple-isp: ps: 00008000 00000014 00000015 00000000 00000000 00000000 00000610 00000610 [ 2.209932] apple-isp: ps: 00010001 00000000 d3e00000 00000040 0000001f 00000000 00000000 00000000 [ 2.209938] apple-isp: ps: 00000610 00000c20 00000100 00000000 00000000 00000610 00000610 [ 2.228217] apple-isp 384000000.isp: apple-isp probe! [ 2.246210] Bluetooth: hci0: HCI LE Coded PHY feature bit is set, but its usage is not supported. [ 2.370465] brcmfmac: brcmf_c_process_txcap_blob: TxCap blob found, loading [ 2.373348] brcmfmac: brcmf_c_process_cal_blob: Calibration blob provided by platform, loading [ 2.389941] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4387/7 wl0: May 27 2023 01:34:59 version 20.96.31.0.8.7.148 FWID 01-126f2c4c [ 2.418957] leds_pwm led-controller: failed to read period for kbd_backlight, default to off [ 2.594223] input: MacBook Pro J314 Headphone Jack as /devices/platform/sound/sound/card0/input5 [ 2.647628] systemd-journald[574]: /var/log/journal/5482cb95aea24a0393fc20d49614510f/user-1000.journal: Journal file uses a different sequence number ID, rotating. [ 2.686448] alg: No test for hmac(md4) (hmac(md4-generic)) [ 2.702188] ieee80211 phy0: brcmf_dongle_roam: WLC_SET_ROAM_DELTA error (-52) [ 3.248850] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 3.248866] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 3.249040] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238ffcd hci version 0x110 quirks 0x0000000000000010 [ 3.249069] xhci-hcd xhci-hcd.0.auto: irq 117, io mem 0xb02280000 [ 3.249177] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 3.249182] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [ 3.249187] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.1 Enhanced SuperSpeed [ 3.249270] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06 [ 3.249275] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.249279] usb usb1: Product: xHCI Host Controller [ 3.249282] usb usb1: Manufacturer: Linux 6.6.0-asahi xhci-hcd [ 3.249285] usb usb1: SerialNumber: xhci-hcd.0.auto [ 3.249525] hub 1-0:1.0: USB hub found [ 3.249540] hub 1-0:1.0: 1 port detected [ 3.249711] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 3.249760] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06 [ 3.249765] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.249768] usb usb2: Product: xHCI Host Controller [ 3.249772] usb usb2: Manufacturer: Linux 6.6.0-asahi xhci-hcd [ 3.249775] usb usb2: SerialNumber: xhci-hcd.0.auto [ 3.254059] hub 2-0:1.0: USB hub found [ 3.254080] hub 2-0:1.0: 1 port detected [ 3.490818] usb 1-1: new high-speed USB device number 2 using xhci-hcd [ 3.619333] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice= 6.55 [ 3.619359] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 3.619366] usb 1-1: Product: USB2.1 Hub [ 3.619371] usb 1-1: Manufacturer: GenesysLogic [ 3.625450] hub 1-1:1.0: USB hub found [ 3.625737] hub 1-1:1.0: 4 ports detected [ 3.731952] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd [ 3.746899] usb 2-1: New USB device found, idVendor=05e3, idProduct=0626, bcdDevice= 6.55 [ 3.746909] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 3.746915] usb 2-1: Product: USB3.1 Hub [ 3.746920] usb 2-1: Manufacturer: GenesysLogic [ 3.753759] hub 2-1:1.0: USB hub found [ 3.754089] hub 2-1:1.0: 4 ports detected ```
You can run glinfo
from the mesa-demos
package.
I did not run glinfo
but you pushed to me to the right direction.
I instead tested wayfire
which curiously complained about a different mesa driver version than the one it was built for.
This was surprising since I am using the overlay
install mode option.
I tried rebuilding the mesa-asahi-driver
package, which threw an error saying that the output differed from the one in the store.
At this point, it occurred to me that I would not get the huge rebuilds necessary due to changing mesa versions after the initial build.
I closed all graphical sessions, deleted old generations, deleted the relevant store paths and rebuilt the package and surprise everything works fine!
What I think happened is that at some point, I messed with the various experimentalGPUInstallMode
impure options. The replace
mode probably overwrote the path entries somehow, and new rebuilds would not pick up the new version.
I think this may apply to other users as well and may be worth noting.
This doesn't match my understanding of the way the replace
mode operates. Glad you got it figured out though.
I recently set up an M1 Pro, install went smoothly without issues. I followed this repo's
nixpkgs
on all flake inputs, extracted firmware and used theoverlay
gpu driver option in order to allow pure evaluation. My window manager isHyprland
which is enabled through thenixpkgs
Nixos module.Two weeks ago, I updated my flake and since then I cannot start Hyprland due to it crashing at startup.
Hyprland Crash Report
``` -------------------------------------------- Hyprland Crash Report -------------------------------------------- Sorry, didn't mean to... Hyprland received signal 6 (Aborted) Version: v0.33.1 Tag: System info: System name: Linux Node name: veritas-m1-pro Release: 6.6.0-asahi Version: #1-NixOS SMP PREEMPT_DYNAMIC Tue Jan 1 00:00:00 UTC 1980 GPU: os-release: BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="24.05.20231222.6df37dc" DOCUMENTATION_URL="https://nixos.org/learn.html" HOME_URL="https://nixos.org/" ID=nixos LOGO="nix-snowflake" NAME=NixOS PRETTY_NAME="NixOS 24.05 (Uakari)" SUPPORT_URL="https://nixos.org/community.html" VERSION="24.05 (Uakari)" VERSION_CODENAME=uakari VERSION_ID="24.05" Backtrace: #0 | /run/current-system/sw/bin/Hyprland(getBacktrace()+0x5c) [0x546890] getBacktrace() ??:? #1 | /run/current-system/sw/bin/Hyprland(CrashReporter::createAndSaveCrash(int)+0x468) [0x50470c] CrashReporter::createAndSaveCrash(int) ??:? #2 | /run/current-system/sw/bin/Hyprland(handleUnrecoverableSignal(int)+0x50) [0x482030] handleUnrecoverableSignal(int) ??:? #3 | linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xfffedc63480c] ?? ??:0 #4 | /nix/store/rr4ind6ay5ivbvcyw60f104grp44ixpn-glibc-2.38-27/lib/libc.so.6(+0x85470) [0xfffedb7d5470] ?? ??:0 #5 | /nix/store/rr4ind6ay5ivbvcyw60f104grp44ixpn-glibc-2.38-27/lib/libc.so.6(raise+0x1c) [0xfffedb78eeac] ?? ??:0 #6 | /nix/store/rr4ind6ay5ivbvcyw60f104grp44ixpn-glibc-2.38-27/lib/libc.so.6(abort+0xf0) [0xfffedb77aefc] ?? ??:0 #7 | /nix/store/9cc9x0akl73p028d1p22p5w9y9ba7sq8-gcc-13.2.0-lib/lib/libstdc++.so.6(__gnu_cxx::__verbose_terminate_handler()+0x178) [0xfffedbab2778] ?? ??:0 #8 | /nix/store/9cc9x0akl73p028d1p22p5w9y9ba7sq8-gcc-13.2.0-lib/lib/libstdc++.so.6(+0xb01fc) [0xfffedbab01fc] ?? ??:0 #9 | /nix/store/9cc9x0akl73p028d1p22p5w9y9ba7sq8-gcc-13.2.0-lib/lib/libstdc++.so.6(+0xb0260) [0xfffedbab0260] ?? ??:0 #10 | /nix/store/9cc9x0akl73p028d1p22p5w9y9ba7sq8-gcc-13.2.0-lib/lib/libstdc++.so.6(__cxa_rethrow+0) [0xfffedbab0540] ?? ??:0 #11 | /run/current-system/sw/bin/Hyprland(throwError(std::__cxx11::basic_stringI tried various configurations, including pinning the working
nixpkgs
version on all inputs except from thelib.nixosSystem
call. The issue is consistent and seems to be related to the version of thelib.nixosSystem
nixpkgs
.After bisecting, it seems that
305cd929fd6c40435a4e46e0850c3c339b84390f
is the first non-working commit.Among other things, this commit updates the linux kernel headers from
6.5
to6.6
. I could not bisect any further due to some weird build issues regardingcoreutils
.You can find the working & broken configurations in my nix-config repo.
Thanks a lot for the great work!