All issues related to Garuda Linux and its assistance
In order to my display work correctly, displayin RGB colors I need to load a custom edid.bin,
on every other distro all I need to do is create a folder and move the file there, then add to the default grub cmd linux line the following command: drm_kms_helper.edid_firmware=edid/edid.bin.
it works flawlessly on any other distro, or base such as arch or debian, but on garuda the edid simply seems not be loaded, why? what do I need to do for it to work?
there are no terminal inputs or outputs on my post.
Don't misunderstand, it's a standard request to give info to get better help, faster!
1 Like
SGS
19 March 2021 19:50
5
1 Like
yeah, the size of my edid.bin is correct, and the second one is related to nvidia issues, not my case
2 Likes
Exactly! And that’s the problem.
You have to post your system info, so we know how to give the proper advice.
inxi -Fxxxza
mhwd -li
bash -c 'for Xconf in $(ls /etc/X11/xorg.conf.d/*.conf | grep -v keyboard); do echo -e "\n" $Xconf ; cat $Xconf ; done'
bash -c 'for Xlog in $(ls /var/log/Xorg.?.log); do echo -e "\n" $Xlog ; grep -E "(EE)|(WW)|failed|Time" $Xlog ; done'
We may (or not) need more…
2 Likes
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=9b0a526a-a8a8-4a39-9f1f-6f2788a977bb
rw rootflags=subvol=@ quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.21.3 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 dm: SDDM
Distro: Garuda Linux
Machine: Type: Desktop System: ASUS product: All Series v: N/A serial: <filter>
Mobo: ASUSTeK model: B85M-E/BR v: Rev X.0x serial: <filter> UEFI: American Megatrends v: 2110
date: 04/29/2016
CPU: Info: Quad Core model: Intel Core i5-4460 bits: 64 type: MCP arch: Haswell family: 6
model-id: 3C (60) stepping: 3 microcode: 28 L2 cache: 6 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 25543
Speed: 3194 MHz min/max: 800/3400 MHz Core speeds (MHz): 1: 3194 2: 3193 3: 3193 4: 3193
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
Type: mds mitigation: Clear CPU buffers; SMT disabled
Type: meltdown mitigation: PTI
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics: Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] vendor: Sapphire Limited
driver: amdgpu v: kernel bus ID: 03:00.0 chip ID: 1002:731f class ID: 0300
Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: amdgpu,ati
unloaded: modesetting,radeon alternate: fbdev,vesa display ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9")
Monitor-1: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 52 size: 930x523mm (36.6x20.6")
diag: 1067mm (42")
OpenGL: renderer: AMD Radeon RX 5700 XT (NAVI10 DRM 3.40.0 5.11.7-zen1-1-zen LLVM 11.1.0)
v: 4.6 Mesa 20.3.4 direct render: Yes
Audio: Device-1: Intel 8 Series/C220 Series High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:8c20 class ID: 0403
Device-2: AMD Navi 10 HDMI Audio driver: snd_hda_intel v: kernel bus ID: 03:00.1
chip ID: 1002:ab38 class ID: 0403
Sound Server: ALSA v: k5.11.7-zen1-1-zen
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK P8 series
driver: r8169 v: kernel port: d000 bus ID: 05:00.0 chip ID: 10ec:8168 class ID: 0200
IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: Local Storage: total: 2.69 TiB used: 50.59 GiB (1.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Corsair model: Force MP510 size: 447.13 GiB
block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD
serial: <filter> rev: ECFM12.3 temp: 35.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000LM007-1R8174 size: 1.82 TiB
block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter>
rev: ACM1 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Kingston model: SV300S37A240G size: 223.57 GiB block size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: BBF0
scheme: GPT
ID-4: /dev/sdc maj-min: 8:32 vendor: Kingston model: SA400S37240G size: 223.57 GiB block size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: B1E1
scheme: GPT
Partition: ID-1: / raw size: 97.66 GiB size: 97.66 GiB (100.00%) used: 50.59 GiB (51.8%) fs: btrfs
dev: /dev/sdc2 maj-min: 8:34
ID-2: /boot/efi raw size: 201 MiB size: 197.9 MiB (98.45%) used: 546 KiB (0.3%) fs: vfat
dev: /dev/sdc1 maj-min: 8:33
ID-3: /home raw size: 97.66 GiB size: 97.66 GiB (100.00%) used: 50.59 GiB (51.8%) fs: btrfs
dev: /dev/sdc2 maj-min: 8:34
ID-4: /var/log raw size: 97.66 GiB size: 97.66 GiB (100.00%) used: 50.59 GiB (51.8%) fs: btrfs
dev: /dev/sdc2 maj-min: 8:34
ID-5: /var/tmp raw size: 97.66 GiB size: 97.66 GiB (100.00%) used: 50.59 GiB (51.8%) fs: btrfs
dev: /dev/sdc2 maj-min: 8:34
Swap: Kernel: swappiness: 10 (default 60) cache pressure: 75 (default 100)
ID-1: swap-1 type: zram size: 1.92 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram0
ID-2: swap-2 type: zram size: 1.92 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram1
ID-3: swap-3 type: zram size: 1.92 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram2
ID-4: swap-4 type: zram size: 1.92 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram3
ID-5: swap-5 type: partition size: 14.9 GiB used: 0 KiB (0.0%) priority: 1024
dev: /dev/nvme0n1p2 maj-min: 259:2
Sensors: System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: amdgpu temp: 42.0 C mem: 44.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Info: Processes: 227 Uptime: 11m wakeups: 0 Memory: 7.67 GiB used: 2.95 GiB (38.5%) Init: systemd
v: 247 Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: pacman: 1876 lib: 554 Shell: fish
v: 3.1.2 running in: konsole inxi: 3.3.01
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2021.02.19 true PCI
Warning: No installed USB configs!
/var/log/Xorg.0.log
[ 5.106] Current Operating System: Linux riox-garuda 5.11.7-zen1-1-zen #1 ZEN SMP PREEMPT Wed, 17 Mar 2021
16:59:53 +0000 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5.106] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 19 17:01:01 2021
[ 5.112] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 5.112] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 5.112] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 5.112] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 5.124] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 5.164] (WW) Warning, couldn't open module fbdev
[ 5.164] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 5.164] (WW) Warning, couldn't open module vesa
[ 5.164] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 5.172] (WW) Falling back to old probe method for modesetting
[ 6.645] (II) Initializing extension MIT-SCREEN-SAVER
[ 19.623] (EE) event10 - USB Gaming Mouse: client bug: event processing lagging behind by 16ms, your system
is too slow
there you go
2 Likes
Is this folder/file /lib/firmware/edid/edid.bin
?
Post full Xorg log to bin.garudalinux.org and post link.
/var/log/Xorg.0.log
Also post
journalctl -b -g "edid" --no-hostname --no-pager
2 Likes
This has changed for newer kernels .
Use drm.edid_firmware=edid/edid.bin
2 Likes
yes, that's the folder/file.
λ /var/log/Xorg.0.log
fish: The file “/var/log/Xorg.0.log” is not executable by this user
root@riox in /run/media/riox/Games/backup/edid
[đźš«] Ă— sudo /var/log/Xorg.0.log
sudo: /var/log/Xorg.0.log: command not found
and
riox@riox in ~ took 2s
[đź”´] Ă— sudo journalctl -b -g "edid" --no-hostname --no-pager
-- Journal begins at Fri 2021-03-19 14:12:20 -03, ends at Fri 2021-03-19 17:41:16 -03. --
mar 19 17:40:23 kded5[2658]: Found EDID profile for device "/org/freedesktop/ColorManager/profiles/icc_255fc40e6c28ec974fe1ce0d8ff2a04c_riox_1000" "HDMI-A-0"
mar 19 17:40:23 kded5[2658]: Default Profile Filename "/home/riox/.local/share/icc/edid-c400a85b95d39f365797b16ad709b62f.icc"
mar 19 17:40:23 kded5[2658]: EDID ICC Profile already exists "/home/riox/.local/share/icc/edid-c400a85b95d39f365797b16ad709b62f.icc"
mar 19 17:40:23 kded5[2658]: Default Profile Filename "/home/riox/.local/share/icc/edid-c400a85b95d39f365797b16ad709b62f.icc"
mar 19 17:40:23 kded5[2658]: EDID ICC Profile already exists "/home/riox/.local/share/icc/edid-c400a85b95d39f365797b16ad709b62f.icc"
mar 19 17:40:23 kded5[2658]: EDID ICC Profile already exists "/home/riox/.local/share/icc/edid-c400a85b95d39f365797b16ad709b62f.icc"
mar 19 17:41:16 dbus-daemon[433]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.79' (uid=0 pid=5959 comm="sudo journalctl -b -g edid --no-hostname --no-page")
mar 19 17:41:16 sudo[5959]: riox : TTY=pts/1 ; PWD=/home/riox ; USER=root ; COMMAND=/usr/bin/journalctl -b-g edid --no-hostname --no-pager
tried that, still doesn't load
rioxrenato:
sudo /var/log/Xorg.0.log
Really? Oh, where am I pulled in…
That was the file path/name , not a command.
Open the file in kate, select all and copy.
Go to the posted link (bin.garuda…) and paste contents. After Save/Apply, post the address/link of the page.
2 Likes
rioxrenato:
tried that,
What? Use many words please. Help others understand clearly.
Post
grep -i '^Modules\|^file' /etc/mkinitcpio.conf
2 Likes
riox@riox in ~ took 2s
╰─λ grep -i '^Modules\|^file' /etc/mkinitcpio.conf
MODULES=(intel_agp i915 amdgpu radeon nouveau)
FILES=""
I tried using the line that you mentioned instead of the one that I was using, since you said that on newer kernels it has changed, still didn't get the edid to load
drm.edid_firmware=edid/edid.bin
instead of:
drm_kms_helper.edid_firmware=edid/edid.bin
here is the grub config file
https://bin.garudalinux.org/?57269f15be6cdd10#HEPgvcvyWGyuDUuyAzVD8LgktkRB4e9tAqaiEnL6zBJS
and here is the edid.bin
riox@riox in /lib/firmware/edidđź”’
╰─λ ls
.rwxrwxrwx 256 riox 4 jan 1:38 ď…› edid.bin
SGS
19 March 2021 21:13
18
By the way @rioxrenato , I hope you understand why certain things can't be solved in telegram as well.
Short terminal output you can post here.
# GRUB boot loader configuration
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Garuda"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash drm.edid_firmware rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 loglevel=3 drm.edid_firmware=edid/edid.bin"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK="y"
# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT=5
# Uncomment to use basic console
GRUB_TERMINAL_INPUT="console"
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT="console"
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE="auto"
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX="keep"
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID="true"
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY="true"
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
GRUB_THEME="/usr/share/grub/themes/garuda/theme.txt"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
# Uncomment to make GRUB remember the last selection. This requires
GRUB_DEFAULT=0
#GRUB_SAVEDEFAULT="true"
# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU="y"
And posterity can also find solutions more easily here.
I understand that, but I asked there first to see if there was an easy fix
1 Like
There is NO clue that your EDID is NOT loaded .
Maybe it's time to use a lot of words (iiiiffff possible...) to describe what do you mean EDID is not loaded .
It looks like an xyproblem .
1 Like