Thanks for your test kernel (and thanks for upload the jammy hwe version of it too)
I can confirm this kernels gives me video output in VMware Fusion 13.0.1
No error on vmwgfx startup:
[ 0.000000] Linux version 5.19.0-38-generic (buildd@bos02-arm64-003) (aarch64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #39~22.04.1+TEST2007001v20230418b1-Ubuntu SMP PREEMPT_DYNAMIC Tu (Ubuntu 5.19.0-38.39~22.04.1+TEST2007001v20230418b1-generic 5.19.17)
[...]
[ 1.284460] vmwgfx 0000:00:0f.0: [drm] Register MMIO at 0x0x000000003d000000 size is 4096 kiB
[ 1.285181] vmwgfx 0000:00:0f.0: [drm] VRAM at 0x0000000070000000 size is 131072 kiB
[ 1.285193] vmwgfx 0000:00:0f.0: [drm] Running on SVGA version 3.
[ 1.285196] vmwgfx 0000:00:0f.0: [drm] Capabilities: cursor, cursor bypass, alpha cursor, 3D, pitchlock, irq mask, traces, command buffers, command buffers 2, gbobject, dx, hp cmd queue, no bb restriction, cap2 register,
[ 1.285201] vmwgfx 0000:00:0f.0: [drm] Capabilities2: grow otable, intra surface copy, dx2, gb memsize 2, screendma reg, otable ptdepth2, non ms to ms stretchblt, cursor mob, mshint, cb max size 4mb, dx3, frame type, trace full fb, extra regs, lo staging,
[ 1.285204] vmwgfx 0000:00:0f.0: [drm] DMA map mode: Caching DMA mappings.
[ 1.285243] vmwgfx 0000:00:0f.0: [drm] Legacy memory limits: VRAM = 4096 kB, FIFO = 256 kB, surface = 524288 kB
[ 1.285259] vmwgfx 0000:00:0f.0: [drm] MOB limits: max mob size = 1048576 kB, max mob pages = 524288
[ 1.285261] vmwgfx 0000:00:0f.0: [drm] Maximum display memory size is 262144 kiB
[ 1.289628] vmwgfx 0000:00:0f.0: [drm] No GMR memory available. Graphics memory resources are very limited.
[ 1.289794] vmwgfx 0000:00:0f.0: [drm] Screen Target display unit initialized
[ 1.290031] vmwgfx 0000:00:0f.0: [drm] Using command buffers with DMA pool.
[ 1.290037] vmwgfx 0000:00:0f.0: [drm] Available shader model: SM_5_1X.
[ 1.290439] Console: switching to colour frame buffer device 128x48
[ 1.291782] [drm] Initialized vmwgfx 2.20.0 20211206 for 0000:00:0f.0 on minor 0
To double check, I reinstalled the latest 5.19 HWE kernel for 22.04 and double-checked I could reproduce the issue in the archive:
[ 0.000000] Linux version 5.19.0-40-generic (buildd@bos02-arm64-021) (aarch64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #41~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 31 16:02:33 UTC 2 (Ubuntu 5.19.0-40.41~22.04.1-generic 5.19.17)
[...]
[ 0.739889] vmwgfx 0000:00:0f.0: BAR 2: can't reserve [mem 0x70000000-0x77ffffff 64bit pref]
[ 0.739893] vmwgfx: probe of 0000:00:0f.0 failed with error -16
Thanks a lot for the fix and looking forward to seeing it in jammy-updates :-)
Hi Matthew,
Thanks for your test kernel (and thanks for upload the jammy hwe version of it too)
I can confirm this kernels gives me video output in VMware Fusion 13.0.1
No error on vmwgfx startup: bos02-arm64- 003) (aarch64- linux-gnu- gcc (Ubuntu 11.3.0- 1ubuntu1~ 22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #39~22. 04.1+TEST200700 1v20230418b1- Ubuntu SMP PREEMPT_DYNAMIC Tu (Ubuntu 5.19.0- 38.39~22. 04.1+TEST200700 1v20230418b1- generic 5.19.17) 00000 size is 4096 kiB
[ 0.000000] Linux version 5.19.0-38-generic (buildd@
[...]
[ 1.284460] vmwgfx 0000:00:0f.0: [drm] Register MMIO at 0x0x000000003d0
[ 1.285181] vmwgfx 0000:00:0f.0: [drm] VRAM at 0x0000000070000000 size is 131072 kiB
[ 1.285193] vmwgfx 0000:00:0f.0: [drm] Running on SVGA version 3.
[ 1.285196] vmwgfx 0000:00:0f.0: [drm] Capabilities: cursor, cursor bypass, alpha cursor, 3D, pitchlock, irq mask, traces, command buffers, command buffers 2, gbobject, dx, hp cmd queue, no bb restriction, cap2 register,
[ 1.285201] vmwgfx 0000:00:0f.0: [drm] Capabilities2: grow otable, intra surface copy, dx2, gb memsize 2, screendma reg, otable ptdepth2, non ms to ms stretchblt, cursor mob, mshint, cb max size 4mb, dx3, frame type, trace full fb, extra regs, lo staging,
[ 1.285204] vmwgfx 0000:00:0f.0: [drm] DMA map mode: Caching DMA mappings.
[ 1.285243] vmwgfx 0000:00:0f.0: [drm] Legacy memory limits: VRAM = 4096 kB, FIFO = 256 kB, surface = 524288 kB
[ 1.285259] vmwgfx 0000:00:0f.0: [drm] MOB limits: max mob size = 1048576 kB, max mob pages = 524288
[ 1.285261] vmwgfx 0000:00:0f.0: [drm] Maximum display memory size is 262144 kiB
[ 1.289628] vmwgfx 0000:00:0f.0: [drm] No GMR memory available. Graphics memory resources are very limited.
[ 1.289794] vmwgfx 0000:00:0f.0: [drm] Screen Target display unit initialized
[ 1.290031] vmwgfx 0000:00:0f.0: [drm] Using command buffers with DMA pool.
[ 1.290037] vmwgfx 0000:00:0f.0: [drm] Available shader model: SM_5_1X.
[ 1.290439] Console: switching to colour frame buffer device 128x48
[ 1.291782] [drm] Initialized vmwgfx 2.20.0 20211206 for 0000:00:0f.0 on minor 0
To double check, I reinstalled the latest 5.19 HWE kernel for 22.04 and double-checked I could reproduce the issue in the archive: bos02-arm64- 021) (aarch64- linux-gnu- gcc (Ubuntu 11.3.0- 1ubuntu1~ 22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #41~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 31 16:02:33 UTC 2 (Ubuntu 5.19.0- 40.41~22. 04.1-generic 5.19.17) 0x77ffffff 64bit pref]
[ 0.000000] Linux version 5.19.0-40-generic (buildd@
[...]
[ 0.739889] vmwgfx 0000:00:0f.0: BAR 2: can't reserve [mem 0x70000000-
[ 0.739893] vmwgfx: probe of 0000:00:0f.0 failed with error -16
Thanks a lot for the fix and looking forward to seeing it in jammy-updates :-)