Ich versuche gerade yavdr auf 24.04 zu installieren und das Playbook bricht ab mit folgender Fehlermeldung:
TASK [yavdr-xorg : set intel_boot_options variable] ************************************************************************
fatal: [localhost]: FAILED! => {}
MSG:
The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'drm_connector'. 'dict object' has no attribute 'drm_connector'
The error appears to be in '/root/yavdr-ansible/roles/yavdr-xorg/tasks/intel.yml': line 13, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: "set intel_boot_options variable"
^ here
Display More
Zuvor findet er zwar alle Adapter und Modi:
TASK [yavdr-xorg : show parsed xrandr data] ********************************************************************************
ok: [localhost] => {
"xrandr": {
"Screen 0:": {
"DP-1": {
"EDID": "",
"auto": "",
"current": "",
"is_connected": false,
"modelines": {},
"modes": {},
"preferred": ""
},
"DP-2": {
"EDID": "",
"auto": "",
"current": "",
"is_connected": false,
"modelines": {},
"modes": {},
"preferred": ""
},
"HDMI-1": {
"EDID": "00ffffffffffff0010a.............",
"auto": "",
"current": "1920x1200_60",
"is_connected": true,
"modelines": {
"1024x768_60": "Modeline \"1024x768_60\" 65.000 1024 1048 1184 1344 768 771 777 806 -HSync -VSync",
.....
"1920x1080_24": "Modeline \"1920x1080_24\" 74.176 1920 2558 2602 2750 1080 1084 1089 1125 +HSync +VSync",
"1920x1080_50": "Modeline \"1920x1080_50\" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +HSync +VSync",
"1920x1080_60": "Modeline \"1920x1080_60\" 148.352 1920 2008 2052 2200 1080 1084 1089 1125 +HSync +VSync",
....
"800x600_60": "Modeline \"800x600_60\" 40.000 800 840 968 1056 600 601 605 628 +HSync +VSync",
"800x600_75": "Modeline \"800x600_75\" 49.500 800 816 896 1056 600 601 604 625 +HSync +VSync"
},
"modes": {
"1024x768": [
75,
60
],
"1152x864": [
75
],
"1280x1024": [
75,
60
],
"1280x720": [
60,
50
],
"1600x1200": [
60
],
"1920x1080": [
60,
50,
24
],
"1920x1200": [
60
],
.....
"800x600": [
75,
60
]
},
"preferred": "1920x1200_60"
},
"HDMI-2": {
"EDID": "",
"auto": "",
"current": "",
"is_connected": false,
"modelines": {},
"modes": {},
"preferred": ""
}
}
}
}
TASK [yavdr-xorg : show primary display configuration] *********************************************************************
ok: [localhost] => {
"xorg.primary": {
"connector": "HDMI-1",
"edid": "/etc/X11/edid.HDMI-1.bin",
"mode": "1920x1080_50",
"model": "'DELL U2410'",
"modelines": [
"Modeline \"720x400_70\" 28.320 720 738 846 900 400 421 423 449 -HSync +VSync",
.......
"Modeline \"1920x1080_60\" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +HSync +VSync",
"Modeline \"1920x1080_31i\" 74.250 1920 2008 2052 2200 1080 1082 1087 1103 +HSync +VSync Interlace",
....
"Modeline \"1920x1080_50\" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +HSync +VSync",
"Modeline \"1920x1080_25i\" 74.250 1920 2448 2492 2640 1080 1082 1087 1103 +HSync +VSync Interlace",
"Modeline \"1920x1080_24\" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +HSync +VSync",
"Modeline \"1920x1080_60\" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +HSync +VSync",
"Modeline \"1920x1080_31i\" 74.250 1920 2008 2052 2200 1080 1082 1087 1103 +HSync +VSync Interlace",
.....
"Modeline \"1920x1080_60\" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +HSync +VSync"
],
"refreshrate": 50,
"resolution": "1920x1080",
"vendor": "DEL"
}
}
Display More
aber die drm.facts ist leer:
TASK [yavdr-xorg : show drm data (emtpy for nvidia)] ***********************************************************************
ok: [localhost] => {
"drm": {
"ignored_outputs": [],
"primary": {},
"secondary": {}
}
}
CPU ist ein Celeron J4105 der prinzipiell auch alles kann, da es unter 22.04 schon mal lief (mit viel Mühen und letztendlich mit einem DP->HDMI-Adapter) aber unter 24.04 sollte es ja auch laufen.
Auffällig ist, dass es keine card0 gibt:
# grep connect /sys/class/drm/card*/status
/sys/class/drm/card1-DP-1/status:disconnected
/sys/class/drm/card1-DP-2/status:disconnected
/sys/class/drm/card1-HDMI-A-1/status:connected
/sys/class/drm/card1-HDMI-A-2/status:disconnected
Die ansible-scripts hatte ich gestern schon auf "card?" gepatched (und drm.facts gelöscht sowie den HWE-Kernel installiert), aber das hat auch alles nichts geholfen. Anschließend hatte ich das intel_set_boot_edid weg gelassen und ansible lief durch aber setzt natürlich nicht die edid-Parameter in Grub. Da ich das ganze mit "Ubuntu Server (minimized)" installiert hatte, wo ansible mangels locale zuerst erst gar nicht gestartet ist, habe ich heute nochmal den normalen Ubuntu-Server installiert.