Can't get higher resolution that 1080p on nVidia

TL;DR: new Hackintosh works fine but only fills half my monitor

I followed the OSX-KVM guide to get High Sierra running on my Linux host with both USB and GPU passthrough working. My problem is that I can't get a higher resolution than 1080p on my Dell U3818W, which is a 3840x1600 ultrawide that I love. The graphics card is an ancient but serviceable nVidia NVS300 connected to the monitor via HDMI. Note that I use the same setup on a Windows 10 KVM setup with graphics passthrough, and I get 3840x1600x60 Hz on that setup no problem.

I have used Clover Configurator to inject a Custom EDID that I extracted from my Linux host using "xrandr -v", cleaned up in a text editor, and then pasted into a web based edid reader that confirmed I did it right. I know about alt-clicking on the "Scaled" button on Display Settings and see that new, lower resolutions show up, but no higher resolution ones. nVidia web drivers were selected and installed with this github script. macOS is selected to use them and graphics are indeed accelerated at 1080p.

My qemu command line:

qemu-system-x86_64 -enable-kvm -m 3072 -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+aes,+xsave,+avx,+xsaveopt,avx2,+smep -machine pc-q35-2.9 -smp 4,cores=2 -usb -device usb-kbd -device usb-mouse -device isa-applesmc,osk=<redacted> -drive if=pflash,format=raw,readonly,file=./OSX-KVM/OVMF_CODE.fd -drive if=pflash,format=raw,file=./OSX-KVM/OVMF_VARS.fd -smbios type=2 -device ich9-intel-hda -device hda-duplex -device ide-drive,bus=ide.1,drive=MacHDD -drive id=MacHDD,if=none,file=./MacHighSierraHDD.qcow2,format=qcow2 -netdev user,id=net0 -device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27 -object input-linux,id=kbd1,evdev=/dev/input/by-id/usb-Microsoft_Microsoft®_2.4GHz_Transceiver_v9.0-event-kbd,grab_all=on,repeat=on -object input-linux,id=mouse1,evdev=/dev/input/by-id/usb-ROCCAT_ROCCAT_Kone_Pure_Military-event-mouse -device ioh3420,bus=pcie.0,id=root.1 -device vfio-pci,host=2e:00.0,bus=root.1,multifunction=on,addr=00.0,x-vga=on,romfile=./169223.rom -device vfio-pci,host=2e:00.1,bus=root.1,addr=00.1 -vga none -device vfio-pci,host=2f:00.3 -monitor stdio

I'm very new to the Mac side of things but have done a lot of searching and this has me stumped. Any help appreciated. Just please don't say I should spend a bunch of money on a new graphics card because

a) I'm cheap

b) I'm doing this mostly for fun and learning some stuff along the way

c) The card does what I want just fine under Win10

submitted by /u/MegaDeKay
[link] [comments]
Share: