Berlin_1946
Supporter, Wikiteam
Anmeldungsdatum: 18. September 2009
Beiträge: 8565
|
Hallo in die Runde, der HDMI- Video -out wird nach dem Bootmenü abgeschaltet der VGA- Acer Technologies 22' arbeitet. Bei der Einstellungen > Geräte > Anzeige wird auch nur der 22'- Monitor erkannt. Dann kann ich im Revovery über Grub-Bootloader aktualisieren beide mit der Auflösung 800*600 betreiben. Wenn ich die folgende Einschaltreihenfolge einhalte, habe ich es zum Laufen bekommen. TV ist aus (kein Standby) mehr als 10s 22' aus PC starten 22' an TV an und auf HDMI1 wechseln
Welche Einstellung ermöglicht es, das ich den TV egal aus welchem Zustand anschalten kann. Wenn beide Geräte erkannt werden, steht die Einstellungen > Geräte > Anzeige auf "gespiegelt" Dann erhalte ich diese Ausgabe:
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ lspci -nnk | grep -A3 "\[03..\]:"
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
Subsystem: Hewlett-Packard Company Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [103c:18e7]
Kernel driver in use: i915
Kernel modules: i915
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ xrandr --prop
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
VGA-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
_MUTTER_PRESENTATION_OUTPUT: 0
EDID:
00ffffffffffff00047252011a259094
3113010368301b78ca3585a656489a24
125054bfef80714f8140818081c08100
9500b300d1c0023a801871382d40582c
4500dd0c1100001a000000fd00384c1f
5311000a202020202020000000fc0050
32323548514c0a0a0a0a0a0a000000ff
004c4c443044303033383531340a0087
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 64
supported: 64
non-desktop: 0
range: (0, 1)
1920x1080 60.00*+
1680x1050 59.95
1280x1024 75.02 60.02
1440x900 59.89
1280x960 60.00
1280x800 59.81
1152x864 75.00
1280x720 60.00
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 59.94
720x400 70.08
DP-1 disconnected (normal left inverted right x axis y axis)
Content Protection: Undesired
supported: Undesired, Desired, Enabled
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
audio: auto
supported: force-dvi, off, auto, on
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 67
supported: 67
non-desktop: 0
range: (0, 1)
HDMI-1 disconnected (normal left inverted right x axis y axis)
Content Protection: Undesired
supported: Undesired, Desired, Enabled
aspect ratio: Automatic
supported: Automatic, 4:3, 16:9
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
audio: auto
supported: force-dvi, off, auto, on
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 74
supported: 74
non-desktop: 0
range: (0, 1)
DP-2 disconnected (normal left inverted right x axis y axis)
Content Protection: Undesired
supported: Undesired, Desired, Enabled
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
audio: auto
supported: force-dvi, off, auto, on
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 78
supported: 78
non-desktop: 0
range: (0, 1)
HDMI-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 698mm x 392mm
_MUTTER_PRESENTATION_OUTPUT: 0
EDID:
00ffffffffffff0034a996a201010101
001c0103808048780adaffa3584aa229
17494b20080031406140010101010101
01010101010108e80030f2705a80b058
8a00ba882100001e023a801871382d40
582c4500ba882100001e000000fc0050
616e61736f6e69632d54560a000000fd
00173d0f883c000a202020202020011e
02034df057101f051420212204130312
07165d5e5f6263646160666523090701
6e030c001000383c2f08800102030467
d85dc401788003e2004be305ff01e40f
000078e3060f01e5018b849001662156
aa51001e30468f3300ba882100001e00
00000000000000000000000000000000
000000000000000000000000000000a4
Content Protection: Undesired
supported: Undesired, Desired, Enabled
aspect ratio: Automatic
supported: Automatic, 4:3, 16:9
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
audio: auto
supported: force-dvi, off, auto, on
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 83
supported: 83
non-desktop: 0
range: (0, 1)
1920x1080 60.00* 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98
1920x1080i 60.00 50.00 59.94
1366x768 59.79
1280x720 60.00 50.00 59.94
1024x768 60.00
720x576 50.00
720x576i 50.00
720x480 60.00 59.94
720x480i 60.00 59.94
640x480 60.00 59.94
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$
In Fehlerfall:
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
VGA-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
1920x1080 60.00*+
1680x1050 59.95
1280x1024 75.02 60.02
1440x900 59.89
1280x960 60.00
1280x800 59.81
1152x864 75.00
1280x720 60.00
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 59.94
720x400 70.08
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$
|
Berlin_1946
Supporter, Wikiteam
(Themenstarter)
Anmeldungsdatum: 18. September 2009
Beiträge: 8565
|
|
seahawk1986
Anmeldungsdatum: 27. Oktober 2006
Beiträge: 11176
Wohnort: München
|
Berlin_1946 schrieb: der HDMI- Video -out wird nach dem Bootmenü abgeschaltet der VGA- Acer Technologies 22' arbeitet. Bei der Einstellungen > Geräte > Anzeige wird auch nur der 22'- Monitor erkannt.
Welche Einstellung ermöglicht es, das ich den TV egal aus welchem Zustand anschalten kann.
Du könntest mal versuchen über die Boot-Optionen des Kernel zu erzwingen, dass der TV (und wenn du willst auch der Monitor) immer als Verbunden gewertet werden (vgl. Kernel_mode_setting) - dazu holst du dir in der Konstellation, in der der TV als Verbunden erkannt wird, die verbunden Geräte:
grep -n "^connected" /sys/class/drm/card0/*/status | cut -d ':' -f 1 | xargs dirname | sed 's#$#\/edid#'
Als Ausgabe des Befehls solltest du zwei Pfade zur jeweiligen EDID der Monitore sehen, einen für den VGA-Anschluss und einen für HDMI. Die jeweiligen Anschlussnamen (normalerweise sowas wie VGA-1 und HDMI-2 merkst du dir) Die Dateien kopierst du dann mit dem jeweiligen Anschlussnamen in den Ordner /lib/firmware/edid/ (den du vermutlich zuvor noch anlegen musst) - also legst du z.B. für den Anschluss HDMI-2 die EDID als /lib/firmware/edid/edid.HDMI-2.bin ab:
sudo mkdir -p /lib/firmware/edid/
cp /sys/class/drm/card0/card0-HDMI-2/edid /lib/firmware/edid/edid.HDMI-2.bin Damit der Kernel die Dateien beim Starten finden kann, brauchst du einen Hook, der sie ins initramfs kopiert - dazu legst du dir eine /etc/initramfs-tools/hooks/include-edid-data an (nicht vergessen die Datei ausführbar zu machen):
1
2
3
4
5
6
7
8
9
10
11
12 | #!/bin/bash
# This hook copies EDID files with the naming scheme "edid.${OUTPUT}.bin" to the initramfs.
[ "$1" = "prereqs" ] && { echo "udev"; exit 0; }
# load hook helper functions
. /usr/share/initramfs-tools/hook-functions
mkdir -p "${DESTDIR}/lib/firmware/edid"
find "/lib/firmware/edid/" -name "edid.*.bin" -type f -exec cp -t "${DESTDIR}/lib/firmware/edid/" {} +
manual_add_modules i915 radeon
exit 0
|
Und dann brauchst du noch eine Bootoption, die dafür sorgt, dass die EDIDs geladen werden, für den Anschluss HDMI-2 wäre das dann z.B. sowas in der Variablen GRUB_CMDLINE_LINUX_DEFAULT (wenn du mehr als einen Montor angeben willst, die Option für den anderen Anschluss zusätzlich setzen):
drm_kms_helper.edid_firmware=HDMI-2:edid/edid.HDMI-2.bin
Danach das Initramfs und die Grub-Konfiguration aktualisieren, also
sudo update-initramfs -u
sudo update-grub
|
Berlin_1946
Supporter, Wikiteam
(Themenstarter)
Anmeldungsdatum: 18. September 2009
Beiträge: 8565
|
Hallo seahawk1986, hat etwas gedauert bis ich deine Antwort umsetzen konnte. Leider habe ich einen Fehler gemacht und finde den nicht. Die erweiterte grub: hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=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=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# aus dem Forum: https://forum.ubuntuusers.de/topic/hdmi-video-out-wird-nach-dem-bootmenue-abgesch/#post-9077236
drm_kms_helper.edid_firmware=HDMI-2:edid/edid.HDMI-2.bin
drm_kms_helper.edid_firmware=VGA-1:edid/edid.VGA-1.bin
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$
Updatefehler: hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ sudo update-grub
[sudo] Passwort für hp-desktop:
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 37: /etc/default/grub: drm_kms_helper.edid_firmware=HDMI-2:edid/edid.HDMI-2.bin: not found
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$
so habe ich die erzeugt: hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ sudo cp /sys/class/drm/card0/card0-HDMI-2/edid /lib/firmware/edid/edid.HDMI-2.bin
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ sudo cp /sys/class/drm/card0/card0-VGA-1/edid /lib/firmware/edid/edid.VGA-1.bin Kannst du mal prüfen, wo mein Fehler ist.
|
Letalis_Sonus
Anmeldungsdatum: 13. April 2008
Beiträge: 12990
Wohnort: Oldenburg/Erlangen
|
Ich bin mir nicht sicher, ob die Angabe des EDID schon reicht - ein als physikalisch nicht angeschlossener Bildschirm ist schon etwas anderes als ein falsch erkannter. Da dürfte es wohl noch nötig sein, über die video Bootoption einen Zwangsanschluss zu bewirken. Da es sich um ein Brot und Butter FullHD Gerät handelt, könnte man hier auch einfach auf den Kernel-internen EDID zurückgreifen und sich den Aufwand mit dem Auslesen sparen. Berlin_1946 schrieb: Leider habe ich einen Fehler gemacht und finde den nicht.
Dir wurde eine Variable genannt in die du das ganze einfügen sollst, du versucht da gerade die Option als Programm auszuführen.
|
seahawk1986
Anmeldungsdatum: 27. Oktober 2006
Beiträge: 11176
Wohnort: München
|
Berlin_1946 schrieb: Kannst du mal prüfen, wo mein Fehler ist.
seahawk1986 schrieb: Und dann brauchst du noch eine Bootoption, die dafür sorgt, dass die EDIDs geladen werden, für den Anschluss HDMI-2 wäre das dann z.B. sowas in der Variablen GRUB_CMDLINE_LINUX_DEFAULT (wenn du mehr als einen Montor angeben willst, die Option für den anderen Anschluss zusätzlich setzen)
Also müsste in der /etc/default/grub die Zeile für die Variable so aussehen:
| GRUB_CMDLINE_LINUX_DEFAULT="quiet splash drm_kms_helper.edid_firmware=HDMI-2:edid/edid.HDMI-2.bin drm_kms_helper.edid_firmware=VGA-1:edid/edid.VGA-1.bin"
|
Oder alternativ wenn du die Änderungen an Ende der Datei schreiben willst, damit du sie leichter wieder los werden kannst:
| # aus dem Forum: https://forum.ubuntuusers.de/topic/hdmi-video-out-wird-nach-dem-bootmenue-abgesch/#post-9077236
GRUB_CMDLINE_LINUX_DEFAULT+=" drm_kms_helper.edid_firmware=HDMI-2:edid/edid.HDMI-2.bin"
GRUB_CMDLINE_LINUX_DEFAULT+=" drm_kms_helper.edid_firmware=VGA-1:edid/edid.VGA-1.bin"
|
|
seahawk1986
Anmeldungsdatum: 27. Oktober 2006
Beiträge: 11176
Wohnort: München
|
Letalis_Sonus schrieb: Da es sich um ein Brot und Butter FullHD Gerät handelt, könnte man hier auch einfach auf den Kernel-internen EDID zurückgreifen und sich den Aufwand mit dem Auslesen sparen.
Bei TVs will man ja ggf. die Modi mit 50, 25 und 24 Hz mitnehmen (z.B. für KODI interessant), die Modes bietet die Kernel-Interne EDID nicht an. Letalis_Sonus schrieb: Da dürfte es wohl noch nötig sein, über die video Bootoption einen Zwangsanschluss zu bewirken.
Es reicht die EDID zu setzen, damit gilt der Montor als angeschlossen. Wenn man mit der Boot-Option video einen Mode vorgibt, funktioniert nur ein Bildschirm, der andere bleibt dann schwarz - das Thema habe ich in Folge von https://www.vdr-portal.de/forum/index.php?thread/131918-zusammenfassung-intel-vaapi-edid-bin/ vor ein paar Monaten für die statische Dualscreen-Konfiguration auf Intel-Systemen ausgiebig durchgespielt.
|
Berlin_1946
Supporter, Wikiteam
(Themenstarter)
Anmeldungsdatum: 18. September 2009
Beiträge: 8565
|
Hallo seahawk1986
,
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=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=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# aus dem Forum: https://forum.ubuntuusers.de/topic/hdmi-video-out-wird-nach-dem-bootmenue-abgesch/#post-9077236
GRUB_CMDLINE_LINUX_DEFAULT+=" drm_kms_helperdrm_kms_helper.edid_firmware=HDMI-2:edid/edid.HDMI-2.bin"
GRUB_CMDLINE_LINUX_DEFAULT+=" drm_kms_helperdrm_kms_helper.edid_firmware=VGA-1:edid/edid.VGA-1.bin"
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$
Eingefügt. Leider keine Ahnung in diesem Thema , muss ich die Zeile GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" auskommentieren?
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ sudo update-grub
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 37: /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT+= drm_kms_helperdrm_kms_helper.edid_firmware=HDMI-2:edid/edid.HDMI-2.bin: not found
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$
|
seahawk1986
Anmeldungsdatum: 27. Oktober 2006
Beiträge: 11176
Wohnort: München
|
Berlin_1946 schrieb: muss ich die Zeile GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" auskommentieren?
Nein (es sei denn du willst die ausführlichen Bootmeldungen sehen) - die beiden Zeilen erweitern einfach den String. hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ sudo update-grub
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 37: /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT+= drm_kms_helperdrm_kms_helper.edid_firmware=HDMI-2:edid/edid.HDMI-2.bin: not found
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$
Kann es sein, dass du die Anführungszeichen vergessen hast oder Leerzeichen nach dem += außerhalb der Anführungszeichen eingebaut hast?
|
Berlin_1946
Supporter, Wikiteam
(Themenstarter)
Anmeldungsdatum: 18. September 2009
Beiträge: 8565
|
cat /etc/default/grub
.
.
.
# aus dem Forum: https://forum.ubuntuusers.de/topic/hdmi-video-out-wird-nach-dem-bootmenue-abgesch/#post-9077236
GRUB_CMDLINE_LINUX_DEFAULT+=" drm_kms_helper.edid_firmware=HDMI-2:edid/edid.HDMI-2.bin"
GRUB_CMDLINE_LINUX_DEFAULT+=" drm_kms_helper.edid_firmware=VGA-1:edid/edid.VGA-1.bin"
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ direkt aus deinem Post hinein kopiert noch nicht gefunden 😇 hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ sudo update-grub
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 36: /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT+= drm_kms_helper.edid_firmware=HDMI-2:edid/edid.HDMI-2.bin: not found
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$
|
Letalis_Sonus
Anmeldungsdatum: 13. April 2008
Beiträge: 12990
Wohnort: Oldenburg/Erlangen
|
Stell hier die Datei doch einfach mal in Gänze rein. seahawk1986 schrieb: Wenn man mit der Boot-Option video einen Mode vorgibt
Ausnahmslos alles an dem Parameter ist optional. Du brauchst gar keinen Mode vorzugeben, um das Erkennen zu erzwingen.
|
Berlin_1946
Supporter, Wikiteam
(Themenstarter)
Anmeldungsdatum: 18. September 2009
Beiträge: 8565
|
Sry in die Runde, in 5 min ist hier Ende. Leider. Kann vllt morgen so um 10:00 😢 Nachtrag: hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:/$ find -name "edid.HDMI-2.bin"
./lib/firmware/edid/edid.HDMI-2.bin das liefert der Befehl.
|
Berlin_1946
Supporter, Wikiteam
(Themenstarter)
Anmeldungsdatum: 18. September 2009
Beiträge: 8565
|
Letalis_Sonus schrieb: Stell hier die Datei doch einfach mal in Gänze rein.
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=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=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# aus dem Forum: https://forum.ubuntuusers.de/topic/hdmi-video-out-wird-nach-dem-bootmenue-abgesch/#post-9077236
GRUB_CMDLINE_LINUX_DEFAULT+=" drm_kms_helper.edid_firmware=HDMI-2:edid/edid.HDMI-2.bin"
GRUB_CMDLINE_LINUX_DEFAULT+=" drm_kms_helper.edid_firmware=VGA-1:edid/edid.VGA-1.bin"
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$
|
seahawk1986
Anmeldungsdatum: 27. Oktober 2006
Beiträge: 11176
Wohnort: München
|
Ich habe eine Vermutung - auf deinem System ist vermutlich die dash als Standard-Shell gesetzt (ist bei Ubuntu standardmäßig der Fall: https://wiki.ubuntu.com/DashAsBinSh), die unterstützt im Gegensatz zu bash nicht das Anhängen von Strings. Für die dash könnte man das so lösen:
| GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_DEFAULT} drm_kms_helper.edid_firmware=HDMI-2:edid/edid.HDMI-2.bin"
GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_DEFAULT} drm_kms_helper.edid_firmware=VGA-1:edid/edid.VGA-1.bin"
|
Alternativ kann man auch sagen, dass man die bash als Standard-Shell haben will (da mit systemd beim Booten kaum noch Shell-Skripte ausgeführt werden, ist der Malus nicht besonders groß):
sudo dpkg-reconfigure dash Und sagen, dass man die dash nicht als Standard-Shell haben will.
|
Berlin_1946
Supporter, Wikiteam
(Themenstarter)
Anmeldungsdatum: 18. September 2009
Beiträge: 8565
|
Hallo seahawk1986, die Änderung ist eingebaut:
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ sudo update-grub
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 38: /etc/default/grub: Syntax error: Unterminated quoted string
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=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=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# aus dem Forum: https://forum.ubuntuusers.de/topic/hdmi-video-out-wird-nach-dem-bootmenue-abgesch/#post-9077236
GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_DEFAULT} drm_kms_helper.edid_firmware=HDMI-2:edid/edid.HDMI-2.bin"
GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_DEFAULT} drm_kms_helper.edid_firmware=VGA-1:edid/edid.VGA-1.bin
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$
Fehlerbild hat sich verschoben: hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ sudo update-grub
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 38: /etc/default/grub: Syntax error: Unterminated quoted string
hp-desktop@hpdesktop-HP-ProDesk-600-G1-TWR:~$ Alternativ kann man auch sagen, dass man die bash als Standard-Shell haben will (da mit systemd beim Booten kaum noch Shell-Skripte ausgeführt werden, ist der Malus nicht besonders groß):
sudo dpkg-reconfigure dash Und sagen, dass man die dash nicht als Standard-Shell haben will.
Bei der Alternative arbeite ich mit welchen Werten in der grub? Die erst oder die zweit genannten.
|