Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.bin file is not applied after reboot #12

Open
pat-s opened this issue Jan 2, 2019 · 3 comments
Open

.bin file is not applied after reboot #12

pat-s opened this issue Jan 2, 2019 · 3 comments

Comments

@pat-s
Copy link

pat-s commented Jan 2, 2019

Trying to get the following .S file working. The settings worked before on a Xorg machine.

/* 2560x1440_50hz: Modeline "2560x1440_50hz" 200.25 2560 2608 2640 2720 1440 1443 1448 1474 +HSync -Vsync */
#define HSYNC_POL 1
#define VSYNC_POL 1
#define YPULSE (63+5)
#define XPULSE 32
#define YPIX 1440
#define XPIX 2560
#define VFREQ 50
#define DPI 96
#define CLOCK 200250
#define VERSION 1
#define REVISION 3
#define XOFFSET 48
#define YOFFSET (63+3)
#define XY_RATIO XY_RATIO_16_9
#define YBLANK 34
#define XBLANK 160
#define TIMING_NAME "2560x1440_50hz"
#include "edid.S"

Applying it in /etc/default/grub as a kernel parameter with GRUB_CMDLINE_LINUX="drm_kms_helper.edid_firmware=HDMI-A-2:edid/2560x1440_50hz.bin".

However, the resolution does not apply after boot and is not selectable.
I also tried to load the .bin file in early KMS as suggested here but without success.

I'm on Arch GNOME. Any ideas what I am missing?

FYI, I also get the warnings reported in #5 .

@parkerlreed
Copy link

The kernel argument changed a few versions back.

drm.edid_firmware may work better.

@pat-s
Copy link
Author

pat-s commented Jan 3, 2019

Thanks for the hint. Tried that already and it didn't had an effect. I get the warnings reported in #11 during boot. That's probably the issue.

@JKJameson
Copy link

You have to force-on the display like this
drm.edid_firmware=DP-1:edid/2560x1440.bin video=DP-1:e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants