Some notes on setting screen resolution #30
Replies: 6 comments 7 replies
-
@justinclift please post the modified files here, I think it would benefit everyone. |
Beta Was this translation helpful? Give feedback.
-
Ahhh, good idea. 😄 These are the updated files: firmware-3840x1600.zip
I'll probably have the build environment still hanging around for a few weeks, so if someone wants me to add a few more resolutions and upload new files just let me know. 😄 |
Beta Was this translation helpful? Give feedback.
-
This is my updated Libvirt domain xml file too (with sanitised path names), in case that's useful as well: libvirt_macos.zip |
Beta Was this translation helpful? Give feedback.
-
As a note for anyone needing to add further resolutions to the TianoCore file, these are the commands needed for the EDKII compile process:
The "How to compile this stuff" documentation I followed originally is here: https://github.com/tianocore/tianocore.github.io/wiki/Common-instructions The EDKII project seems to have moved to a new compile approach since then, but the above process is the one I used and still works fine. |
Beta Was this translation helpful? Give feedback.
-
In theory, this firmware should have Inside that .zip file is |
Beta Was this translation helpful? Give feedback.
-
@notAperson535 This is the newer TianoCore 2024.02 release (compiled it just now), with the two extra video modes added:
firmware-edk2-stable202402.zip It's completely untested though (!), so better to not blindly assume it's all good. The Hopefully that helps. 😄 |
Beta Was this translation helpful? Give feedback.
-
Hey all,
My setup has a wide screen monitor (3840x1600), which isn't easily supported by the existing resolution options in macOS.
So, after taking a few hours to get it working correctly (with success), I figured I might as well leave some potentially useful notes here. Just in case someone else needs to do similar at some point. 😄
My setup
Things I changed, to get it working
Increased the graphics memory, assigned by Libvirt to the VM
Updated the
Resolution
tag inEFI/EFI/OC/config.plist
(in the VM)ForceResolution
boolean (true or false value) a few entries above this in the file, that was useful when trying out video modes. The final result (for my setup) needs that set tofalse
for things to work.Had to compile a slightly customised version of TianoCore, with the
3840x1600
resolution I needed added in here.configure
,make
,make install
), as there's no Ubuntu package for this version of Nasm. There is an older version of Nasm available for this Ubuntu release, but it errors out when trying to compile TianoCore.edk2-stable202208
release), these are theConf/target.txt
configuration file options I used:Build/OvmfX64/RELEASE_GCC5/FV/
under the TianoCore source code directory.OVMF_CODE.fd
andOVMF_VARS.fd
ones are the ones I needed. These need to be copied over the top of the existingOVMF_CODE.fd
andOVMF_VARS-1024x768.fd
files in the OneClick-macOS-Simple-KVMfirmware/
directory.3840x1600
from the list of resolutions in the UEFI boot screen, and macOS kept that resolution from then on. Seems like a solid win (so far).Beta Was this translation helpful? Give feedback.
All reactions