The value of the drm.edid_firmware parameter may also be altered after boot by writing to /sys/module/drm/parameters/edid_firmware: If you are doing early KMS, you must include the custom EDID file in the initramfs, otherwise you will run into problems. The Name column specifies the name which one is supposed to use in order to enforce its usage. If you want to set multiple edid files, use:ĭrm.edid_firmware=VGA-1:edid/your_edid.bin,VGA-2:edid/your_other_edid.binįor the built-in resolutions, refer to the table below. In order to apply it only to a specific connector, use:ĭrm.edid_firmware=VGA-1:edid/your_edid.bin To load it at boot, specify the following in the kernel command line:įor kernels older than 4.13, use this line instead:ĭrm_kms_helper.edid_firmware=edid/your_edid.bin called edid under /usr/lib/firmware and copy your binary into it. You can also try looking in /sys/class/drm/*/edid.Īfter having prepared your EDID, place it in a directory, e.g. if your monitor works fine under Windows, you might have luck extracting the EDID from the corresponding driver, or if a similar monitor works which has the same settings, you may use get-edid from the read-edid package. Other solutions are outlined in details in this article.Įxtracting an existing one is in most cases easier, e.g. Generating new EDID binaries for various resolutions and configurations is possible during kernel compilation by following the upstream documentation (also see here for a short guide). However, most often one does not have direct access to a sane file and it is necessary to either extract an existing one and fix it or to generate a new one. In case you have the EDID file for your monitor, you merely need to explicitly enforce it (see below). The kernel will try to catch this case and will set one of the most typical resolutions. If your native resolution is not automatically configured or no display at all is detected, then your monitor might send none or just a skewed EDID file. etc/modprobe.d/nf options drm_kms_helper poll=0 Forcing modes and EDID If you see an error code of 0x00000010 (2) while booting up, (you will get about 10 lines of text, the last part denoting that error code), use: If you experience stalls in display output occurring every 10 seconds, disabling polling might help. These stalls might happen even when your video is output to a HDP ( Hardware Debug Port), but you have other non HDP outputs in your hardware configuration. This will cause visible stalls, for example in video playback. Poll will happen periodically and can in worst cases take several hundred milliseconds, depending on the hardware. Polling for connected display devices on older systems can be quite expensive. Is it still relevant a decade later? (Discuss in Talk:Kernel mode setting) The Terminus font ( terminus-font) is available in many sizes, such as ter-132b which is larger.Īlternatively, disabling modesetting might switch to lower resolution and make fonts appear larger. See Linux console#Fonts for how to change your console font to a large font. etc/booster.yaml extra_files: /usr/lib/firmware/edid/ your_edid.bin If you are using the #Forcing modes and EDID method, you should embed the custom file into your booster images as well: etc/booster.yaml modules_force_load: i915 If you use Booster, you can load required modules with this config change: etc/nf FILES=(/usr/lib/firmware/edid/ your_edid.bin) If you are using the #Forcing modes and EDID method, you should embed the custom file into initramfs as well: Note: If you use PRIME Graphics Processing Unit (GPU) with Intel Integrated Graphics Processors (IGP) being your primary GPU and AMD as the discrete one, intel_agp may lead to troubles when resuming from hibernation (monitor gets no signal). nvidia nvidia_modeset nvidia_uvm nvidia_drm. For example, to enable early KMS for the NVIDIA graphics driver: Initramfs configuration instructions are slightly different depending on the initramfs generator you use.įor in-tree modules, add kms to the HOOKS array in /etc/nf.įor out-of-tree modules, place the module names in the MODULES array. Depending on VirtualBox graphics controller:.vmwgfx for vmware ( qemu) and vmvga ( libvirt),.bochs for std ( qemu) and vga/ bochs ( libvirt),.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |