I have a Dell Latitude 5310 / with an Intel Core i5-10210U CPU @ 1.60GHz
I am under Debian GNU/Linux 10 (buster) / GNOME 3.30.2
There is no additional graphic card, so the intel chipset should be used, but it seems it is not, although propoerly detected.
I paste the results of some diagnostic commands (sorry for several output statements being in french, but should be easy to understand).
- I can understand that errors are reported in /var/log/Xorg.0.log @ 3.455, but I am too noob to interpret them.
- I also find puzzling that uname says the kernel is 5.8 while /var/log/Xorg.0.log says "Build Operating System: Linux 4.19.0-10-amd64 x86_64 Debian". Could this be related to the graphic card issue?
Bernoot
Code: Select all
$ uname -a
Linux ABI20 5.8.0-0.bpo.2-amd64 #1 SMP Debian 5.8.10-1~bpo10+1 (2020-09-26) x86_64 GNU/Linux
$ sudo apt list libdrm-intel* libgbm* firmware-linux-nonfree xserver-xorg-video-intel
firmware-linux-nonfree/stable,now 20190114-2 all [installé]
libdrm-intel1/stable,now 2.4.97-1 amd64 [installé]
libgbm-dev/stable 18.3.6-2+deb10u1 amd64
libgbm1/stable,now 18.3.6-2+deb10u1 amd64 [installé]
xserver-xorg-video-intel/stable,now 2:2.99.917+git20180925-2 amd64 [installé]
$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:9b61] (rev 0c)
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9b41] (rev 02)
00:04.0 Signal processing controller [1180]: Intel Corporation Skylake Processor Thermal Subsystem [8086:1903] (rev 0c)
00:08.0 System peripheral [0880]: Intel Corporation Skylake Gaussian Mixture Model [8086:1911]
00:12.0 Signal processing controller [1180]: Intel Corporation Device [8086:02f9]
00:14.0 USB controller [0c03]: Intel Corporation Device [8086:02ed]
00:14.2 RAM memory [0500]: Intel Corporation Device [8086:02ef]
00:14.3 Network controller [0280]: Intel Corporation Device [8086:02f0]
00:15.0 Serial bus controller [0c80]: Intel Corporation Device [8086:02e8]
00:15.1 Serial bus controller [0c80]: Intel Corporation Device [8086:02e9]
00:16.0 Communication controller [0780]: Intel Corporation Device [8086:02e0]
00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:02b2] (rev f0)
00:1d.4 PCI bridge [0604]: Intel Corporation Device [8086:02b4] (rev f0)
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:0284]
00:1f.3 Audio device [0403]: Intel Corporation Device [8086:02c8]
00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:02a3]
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:02a4]
00:1f.6 Ethernet controller [0200]: Intel Corporation Device [8086:0d4f]
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] (rev 01)
02:00.0 Non-Volatile memory controller [0108]: SK hynix Device [1c5c:1339]
$ lspci -vv
[...]
00:02.0 VGA compatible controller: Intel Corporation Device 9b41 (rev 02) (prog-if 00 [VGA controller])
Subsystem: Dell Device 099f
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 136
Region 0: Memory at 90000000 (64-bit, non-prefetchable) [size=16M]
Region 2: Memory at 80000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at 3000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915
[...]
$ sudo lshw -class display
*-display
description: VGA compatible controller
produit: Intel Corporation
fabriquant: Intel Corporation
identifiant matériel: 2
information bus: pci@0000:00:02.0
version: 02
bits: 64 bits
horloge: 33MHz
fonctionnalités: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
ressources: irq:136 mémoire:90000000-90ffffff mémoire:80000000-8fffffff portE/S:3000(taille=64) mémoire:c0000-dffff
$ glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: VMware, Inc. (0xffffffff)
Device: llvmpipe (LLVM 7.0, 256 bits) (0xffffffff)
Version: 18.3.6
Accelerated: no
Video memory: 31842MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 3.3
Max compat profile version: 3.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.0
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 7.0, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.1 Mesa 18.3.6
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
$ cat /var/log/Xorg.0.log
[ 3.444] (--) Log file renamed from "/var/log/Xorg.pid-743.log" to "/var/log/Xorg.0.log"
[ 3.445]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[ 3.445] Build Operating System: Linux 4.19.0-10-amd64 x86_64 Debian
[ 3.445] Current Operating System: Linux ABI20 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64
[ 3.445] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-12-amd64 root=UUID=14670662-fa63-4e49-a473-79a5d2cacb87 ro quiet nomodeset
[ 3.445] Build Date: 27 August 2020 08:51:48AM
[ 3.445] xorg-server 2:1.20.4-1+deb10u1 (https://www.debian.org/support)
[ 3.445] Current version of pixman: 0.36.0
[ 3.445] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 3.445] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 3.445] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 24 02:13:10 2020
[ 3.446] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 3.447] (==) No Layout section. Using the first Screen section.
[ 3.447] (==) No screen section available. Using defaults.
[ 3.447] (**) |-->Screen "Default Screen Section" (0)
[ 3.447] (**) | |-->Monitor "<default monitor>"
[ 3.447] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 3.447] (==) Automatically adding devices
[ 3.447] (==) Automatically enabling devices
[ 3.447] (==) Automatically adding GPU devices
[ 3.447] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 3.448] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 3.448] Entry deleted from font path.
[ 3.449] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 3.449] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 3.449] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 3.449] (II) Loader magic: 0x55d0a0362e20
[ 3.449] (II) Module ABI versions:
[ 3.449] X.Org ANSI C Emulation: 0.4
[ 3.449] X.Org Video Driver: 24.0
[ 3.449] X.Org XInput driver : 24.1
[ 3.449] X.Org Server Extension : 10.0
[ 3.449] (++) using VT number 1
[ 3.450] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[ 3.451] (--) PCI:*(0@0:2:0) 8086:9b41:1028:099f rev 2, Mem @ 0x90000000/16777216, 0x80000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[ 3.451] (II) LoadModule: "glx"
[ 3.452] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 3.453] (II) Module glx: vendor="X.Org Foundation"
[ 3.453] compiled for 1.20.4, module version = 1.0.0
[ 3.453] ABI class: X.Org Server Extension, version 10.0
[ 3.453] (==) Matched modesetting as autoconfigured driver 0
[ 3.453] (==) Matched fbdev as autoconfigured driver 1
[ 3.453] (==) Matched vesa as autoconfigured driver 2
[ 3.453] (==) Assigned the driver to the xf86ConfigLayout
[ 3.453] (II) LoadModule: "modesetting"
[ 3.453] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 3.454] (II) Module modesetting: vendor="X.Org Foundation"
[ 3.454] compiled for 1.20.4, module version = 1.20.4
[ 3.454] Module class: X.Org Video Driver
[ 3.454] ABI class: X.Org Video Driver, version 24.0
[ 3.454] (II) LoadModule: "fbdev"
[ 3.454] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 3.454] (II) Module fbdev: vendor="X.Org Foundation"
[ 3.454] compiled for 1.20.0, module version = 0.5.0
[ 3.454] Module class: X.Org Video Driver
[ 3.454] ABI class: X.Org Video Driver, version 24.0
[ 3.454] (II) LoadModule: "vesa"
[ 3.454] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 3.454] (II) Module vesa: vendor="X.Org Foundation"
[ 3.454] compiled for 1.20.1, module version = 2.4.0
[ 3.454] Module class: X.Org Video Driver
[ 3.454] ABI class: X.Org Video Driver, version 24.0
[ 3.454] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 3.454] (II) FBDEV: driver for framebuffer: fbdev
[ 3.454] (II) VESA: driver for VESA chipsets: vesa
[ 3.455] (EE) open /dev/dri/card0: No such file or directory
[ 3.455] (WW) Falling back to old probe method for modesetting
[ 3.455] (EE) open /dev/dri/card0: No such file or directory
[ 3.455] (II) Loading sub module "fbdevhw"
[ 3.455] (II) LoadModule: "fbdevhw"
[ 3.455] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 3.455] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 3.455] compiled for 1.20.4, module version = 0.0.2
[ 3.455] ABI class: X.Org Video Driver, version 24.0
[ 3.455] (EE) Unable to find a valid framebuffer device
[ 3.455] (WW) Falling back to old probe method for fbdev
[ 3.455] (II) Loading sub module "fbdevhw"
[ 3.455] (II) LoadModule: "fbdevhw"
[ 3.455] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 3.455] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 3.455] compiled for 1.20.4, module version = 0.0.2
[ 3.455] ABI class: X.Org Video Driver, version 24.0
[ 3.455] (II) FBDEV(2): using default device
[ 3.455] (EE) Screen 0 deleted because of no matching config section.
[ 3.455] (II) UnloadModule: "modesetting"
[ 3.455] (EE) Screen 0 deleted because of no matching config section.
[ 3.455] (II) UnloadModule: "fbdev"
[ 3.455] (II) UnloadSubModule: "fbdevhw"
[ 3.455] (EE)
Fatal server error:
[ 3.455] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 3.455] (EE)
[ 3.455] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 3.455] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 3.455] (EE)
[ 3.458] (EE) Server terminated with error (1). Closing log file.
$ sudo fbset -i
mode "1920x1080"
geometry 1920 1080 1920 1080 32
timings 0 0 0 0 0 0 0
accel true
rgba 8/16,8/8,8/0,0/0
endmode
Frame buffer device information:
Name : i915drmfb
Address : 0
Size : 8294400
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 1
YPanStep : 1
YWrapStep : 0
LineLength : 7680
Accelerator : No
$ sudo journalctl -b | grep i915
oct. 30 13:19:21 ABI20 kernel: i915 0000:00:02.0: [drm] VT-d active for gfx access
oct. 30 13:19:21 ABI20 kernel: i915 0000:00:02.0: vgaarb: deactivate vga console
oct. 30 13:19:21 ABI20 kernel: i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
oct. 30 13:19:21 ABI20 kernel: i915 0000:00:02.0: firmware: direct-loading firmware i915/kbl_dmc_ver1_04.bin
oct. 30 13:19:21 ABI20 kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
oct. 30 13:19:21 ABI20 kernel: [drm] Initialized i915 1.6.0 20200515 for 0000:00:02.0 on minor 0
oct. 30 13:19:21 ABI20 kernel: fbcon: i915drmfb (fb0) is primary device
oct. 30 13:19:21 ABI20 kernel: i915 0000:00:02.0: fb0: i915drmfb frame buffer device
oct. 30 13:19:22 ABI20 kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
$ cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 14670662-fa63-4e49-a473-79a5d2cacb87
else
search --no-floppy --fs-uuid --set=root 14670662-fa63-4e49-a473-79a5d2cacb87
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 14670662-fa63-4e49-a473-79a5d2cacb87
else
search --no-floppy --fs-uuid --set=root 14670662-fa63-4e49-a473-79a5d2cacb87
fi
insmod png
if background_image /usr/share/desktop-base/futureprototype-theme/grub/grub-4x3.png; then
set color_normal=white/black
set color_highlight=black/white
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-14670662-fa63-4e49-a473-79a5d2cacb87' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 14670662-fa63-4e49-a473-79a5d2cacb87
else
search --no-floppy --fs-uuid --set=root 14670662-fa63-4e49-a473-79a5d2cacb87
fi
echo 'Chargement de Linux 5.8.0-0.bpo.2-amd64…'
linux /boot/vmlinuz-5.8.0-0.bpo.2-amd64 root=UUID=14670662-fa63-4e49-a473-79a5d2cacb87 ro quiet
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-5.8.0-0.bpo.2-amd64
}
submenu 'Options avancées pour Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-14670662-fa63-4e49-a473-79a5d2cacb87' {
menuentry 'Debian GNU/Linux, avec Linux 5.8.0-0.bpo.2-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.8.0-0.bpo.2-amd64-advanced-14670662-fa63-4e49-a473-79a5d2cacb87' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 14670662-fa63-4e49-a473-79a5d2cacb87
else
search --no-floppy --fs-uuid --set=root 14670662-fa63-4e49-a473-79a5d2cacb87
fi
echo 'Chargement de Linux 5.8.0-0.bpo.2-amd64…'
linux /boot/vmlinuz-5.8.0-0.bpo.2-amd64 root=UUID=14670662-fa63-4e49-a473-79a5d2cacb87 ro quiet
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-5.8.0-0.bpo.2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 5.8.0-0.bpo.2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.8.0-0.bpo.2-amd64-recovery-14670662-fa63-4e49-a473-79a5d2cacb87' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 14670662-fa63-4e49-a473-79a5d2cacb87
else
search --no-floppy --fs-uuid --set=root 14670662-fa63-4e49-a473-79a5d2cacb87
fi
echo 'Chargement de Linux 5.8.0-0.bpo.2-amd64…'
linux /boot/vmlinuz-5.8.0-0.bpo.2-amd64 root=UUID=14670662-fa63-4e49-a473-79a5d2cacb87 ro single
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-5.8.0-0.bpo.2-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 4.19.0-12-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-12-amd64-advanced-14670662-fa63-4e49-a473-79a5d2cacb87' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 14670662-fa63-4e49-a473-79a5d2cacb87
else
search --no-floppy --fs-uuid --set=root 14670662-fa63-4e49-a473-79a5d2cacb87
fi
echo 'Chargement de Linux 4.19.0-12-amd64…'
linux /boot/vmlinuz-4.19.0-12-amd64 root=UUID=14670662-fa63-4e49-a473-79a5d2cacb87 ro quiet
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.19.0-12-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.19.0-12-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-12-amd64-recovery-14670662-fa63-4e49-a473-79a5d2cacb87' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 14670662-fa63-4e49-a473-79a5d2cacb87
else
search --no-floppy --fs-uuid --set=root 14670662-fa63-4e49-a473-79a5d2cacb87
fi
echo 'Chargement de Linux 4.19.0-12-amd64…'
linux /boot/vmlinuz-4.19.0-12-amd64 root=UUID=14670662-fa63-4e49-a473-79a5d2cacb87 ro single
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.19.0-12-amd64
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###