קיבלתי לידי מחשב שהיה צריך הצלה ,בה הממשק הגרפי לא היה עולה.
בעל המחשב אמר שכל מה שהוא עשה היה להחליף את ממצב של dedicated card ל hybrid mode ב UEFI.
מידע רלוונטי מבחינת הכרטיסים:
מידע רלוונטי מבחינת הכרטיסים:
lspci -v | grep -E "VGA|3D" 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02) (prog-if 00 [VGA controller]) 01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
הממשק הגרפי סירב לעלות , לאחר דיבוג קצר הבנתי שהאשמה היא ב Xorg שהיה מסרב לעלות עם השגיאה :
הניסיון שעשיתי היה לייצר קובץ כזה :
את ה identifier אפשר לייצר ע"י lspci -v, אבל לפי מה שאני זוכר אין לו באמת משמעות.
אני חושב שמה שקורה שכאשר עובדים במצב hybrid המסך של המחשב הנייד לא "מדבר" עם הכרטיס של הנוידיה (למרות שלפי מה שקראתי שהכרטיס מחווט ישירות למסך).
[ 868.214] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied [ 868.306] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0. [ 868.306] (EE) NVIDIA(0): Set AllowEmptyInitialConfiguration if you want the server [ 868.306] (EE) NVIDIA(0): to start anyway [ 868.306] (EE) NVIDIA(0): Failing initialization of X screen [ 868.337] (EE) Screen(s) found, but none have a usable configuration. [ 868.337] (EE) [ 868.337] (EE) no screens found(EE) [ 868.337] (EE) [ 868.337] (EE) Please also check the log file at "/var/log/Xorg.1.log"כמובן ששימוש בארגומנט המוצע לא עזר כלל, ואם מוסיפים את הארגומנט AllowEmptyInitialConfiguration לקובץ 20-nvidia.conf זה לא עזר.
for additional information. [ 868.337] (EE) [ 868.383] (EE) Server terminated with error (1). Closing log file.
הניסיון שעשיתי היה לייצר קובץ כזה :
Section "Device"
Identifier "NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration" "true"
EndSection
הפתרון שעבד לי הוא ייצור קובץ דריבר עבור כרטיס האינטל HD 620 :
Section "Device"
Identifier "Intel Corporation HD Graphics 620 (rev 02) (prog-if 00 [VGA controller])"
Driver "intel"
EndSection
ושמירתו ב /etc/X11/xorg.conf.dאת ה identifier אפשר לייצר ע"י lspci -v, אבל לפי מה שאני זוכר אין לו באמת משמעות.
אני חושב שמה שקורה שכאשר עובדים במצב hybrid המסך של המחשב הנייד לא "מדבר" עם הכרטיס של הנוידיה (למרות שלפי מה שקראתי שהכרטיס מחווט ישירות למסך).