Падает Xorg на ноутбуке Dell 3793
Приобрел лицензию и ноутбук для изделия на предприятии. Ноутбук Dell Inspiron 3793 (BIOS only UEFI, NVME, I7 1065G7 + UHD 630, MX230).
При установке с диска Astra Linux SE, Astra Linux CE или Debian 10 одна и та же проблема: Установка проходит успешно, в GRUB меню выбираю любой режим ( на всех режимах одно и тоже), бежит текст запуска и в момент запуска GUI очищается консоль, в углу горит курсор и больше ничего не происходит. Кнопками Alt+F4 меняю рабочий терминал и там могу ввести логин и пароль в консоли и зайти в систему. В общем, ОС установилась, работает полностью все команды и инструменты, кроме Xorg. Выкачал логи и прикрепил https://yadi.sk/d/zrSFFzpK7ufBaw?w=1 . Что касается других ОС, то UBUNTU и Lubuntu работают отлично, оболочки Gnome и Lxqt Запускались без проблем. Полагаю дело в Dedian подобных ос и их особенностями общения с UEFI, читал несколько похожих вопросов на форуме, некоторые вопросы решались возвратом на Legacy mode, Но я так не могу, в моём биосе Dell полностью убрали поддержку Legacy режима. может удастся настроить BIOS и GRUB правильно, вот только я не знаю, если нужны скрины — пишете, прикреплю.
кратко лог Xorg:
[ 63.124] (II) intel: Driver for Intel(R) HD Graphics
[ 63.124] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 63.124] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 63.124] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 63.124] (II) FBDEV: driver for framebuffer: fbdev
[ 63.124] (II) VESA: driver for VESA chipsets: vesa
[ 63.124] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 63.124] (WW) LoadKernelModule: Setting of real/effective user Id to 0/0 failed[ 63.125] (WW) LoadKernelModule: Setting of real/effective user Id to 0/0 failed[ 63.125] (WW) Falling back to old probe method for modesetting
[ 63.126] (II) modeset(1): using default device
[ 63.126] (II) Loading sub module «fbdevhw»
[ 63.126] (II) LoadModule: «fbdevhw»
[ 63.126] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 63.126] (II) Module fbdevhw: vendor=»X.Org Foundation»
[ 63.126] compiled for 1.20.4, module version = 0.0.2
[ 63.126] ABI class: X.Org Video Driver, version 24.0
[ 63.126] (EE) Unable to find a valid framebuffer device
[ 63.126] (WW) Falling back to old probe method for fbdev
[ 63.126] (II) Loading sub module «fbdevhw»
[ 63.126] (II) LoadModule: «fbdevhw»
[ 63.126] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 63.126] (II) Module fbdevhw: vendor=»X.Org Foundation»
[ 63.126] compiled for 1.20.4, module version = 0.0.2
[ 63.126] ABI class: X.Org Video Driver, version 24.0
[ 63.126] (EE) open /dev/fb0: Permission denied
[ 63.126] (II) modeset(G0): using drv /dev/dri/card0
[ 63.126] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 63.126] (EE) Screen 0 deleted because of no matching config section.
[ 63.126] (II) UnloadModule: «modesetting»
[ 63.126] (EE) Screen 1 deleted because of no matching config section.
[ 63.126] (II) UnloadModule: «fbdev»
[ 63.126] (II) UnloadSubModule: «fbdevhw»
[ 63.126] (EE)
Fatal server error:
[ 63.126] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 63.126] (EE)
[ 63.126] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 63.126] (EE) Please also check the log file at «/var/log/fly-dm/Xorg.0.log» for additional information.
[ 63.126] (EE)
[ 63.129] (EE) Server terminated with error (1). Closing log file.
Кратко вывод команды Lspci:
00:02.0 VGA compatible controller: Intel Corporation Device 8a52 (rev 07) (prog-if 00 [VGA controller])
Subsystem: Dell Device 097a
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Latency: 0
Interrupt: pin A routed to IRQ 255
Region 0: Memory at b0000000 (64-bit, non-prefetchable) [size=16M]
Region 2: Memory at a0000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at 5000
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c
Capabilities: [70] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0
ExtTag- RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
Capabilities: [ac] MSI: Enable- Count=1/1 Maskable+ 64bit-
Address: 00000000 Data: 0000
Masking: 00000000 Pending: 00000000
Capabilities: [d0] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [100 v1] Process Address Space ID (PASID)
PASIDCap: Exec- Priv-, Max PASID Width: 14
PASIDCtl: Enable- Exec- Priv-
Capabilities: [200 v1] Address Translation Service (ATS)
ATSCap: Invalidate Queue Depth: 00
ATSCtl: Enable-, Smallest Translation Unit: 00
Capabilities: [300 v1] Page Request Interface (PRI)
PRICtl: Enable- Reset-
PRISta: RF- UPRGI- Stopped+
Page Request Capacity: 00008000, Page Request Allocation: 00000000
01:00.0 3D controller: NVIDIA Corporation Device 1d11 (rev a1)
Subsystem: Dell Device 097a
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Latency: 0
Interrupt: pin A routed to IRQ 16
Region 0: Memory at b1000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at 80000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at 90000000 (64-bit, prefetchable) [size=32M]
Region 5: I/O ports at 4000
Expansion ROM at [disabled]
Capabilities: [60] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
<. >
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
Arch Linux
I use Arch on HyperV but X is not able to start, it fails with:
[ 2.762] This is a pre-release version of the X server from The X.Org Foundation. It is not supported in any way. Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/. Select the "xorg" product for bugs you find in this release. Before reporting bugs in pre-release versions please check the latest version in the X.Org Foundation git repository. See http://wiki.x.org/wiki/GitPage for git access instructions. [ 2.762] X.Org X Server 1.21.1.1 X Protocol Version 11, Revision 0 [ 2.762] Current Operating System: Linux tux 5.15.2-arch1-1 #1 SMP PREEMPT Fri, 12 Nov 2021 19:22:10 +0000 x86_64 [ 2.762] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=97b27936-685c-4abf-a8d8-6ba6c034da84 rw loglevel=3 video=hyperv_fb:1920x1080 [ 2.762] [ 2.762] Current version of pixman: 0.40.0 [ 2.762] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 2.762] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 2.762] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Nov 13 22:58:34 2021 [ 2.767] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 2.769] (==) No Layout section. Using the first Screen section. [ 2.769] (==) No screen section available. Using defaults. [ 2.769] (**) |-->Screen "Default Screen Section" (0) [ 2.769] (**) | |-->Monitor "" [ 2.769] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 2.769] (==) Automatically adding devices [ 2.769] (==) Automatically enabling devices [ 2.769] (==) Automatically adding GPU devices [ 2.769] (==) Automatically binding GPU devices [ 2.769] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 2.780] (WW) The directory "/usr/share/fonts/OTF" does not exist. [ 2.780] Entry deleted from font path. [ 2.780] (WW) The directory "/usr/share/fonts/Type1" does not exist. [ 2.780] Entry deleted from font path. [ 2.784] (==) FontPath set to: /usr/share/fonts/misc, /usr/share/fonts/TTF, /usr/share/fonts/100dpi, /usr/share/fonts/75dpi [ 2.784] (==) ModulePath set to "/usr/lib/xorg/modules" [ 2.784] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 2.784] (II) Module ABI versions: [ 2.784] X.Org ANSI C Emulation: 0.4 [ 2.784] X.Org Video Driver: 25.2 [ 2.784] X.Org XInput driver : 24.4 [ 2.784] X.Org Server Extension : 10.0 [ 2.784] (--) using VT number 2 [ 2.784] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [ 2.784] (II) xfree86: Adding drm device (/dev/dri/card0) [ 2.784] (II) Platform probe for /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/5620e0c7-8062-4dce-aeb7-520c7ef76171/drm/card0 [ 2.889] (--) PCI:*(0@0:8:0) 1414:5353:0000:0000 rev 0, Mem @ 0xf8000000/67108864, BIOS @ 0x. /131072 [ 2.890] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory) [ 2.890] (II) LoadModule: "glx" [ 2.898] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 2.912] (II) Module glx: vendor="X.Org Foundation" [ 2.912] compiled for 1.21.1.1, module version = 1.0.0 [ 2.912] ABI class: X.Org Server Extension, version 10.0 [ 2.912] (==) Matched modesetting as autoconfigured driver 0 [ 2.912] (==) Matched fbdev as autoconfigured driver 1 [ 2.912] (==) Matched vesa as autoconfigured driver 2 [ 2.912] (==) Assigned the driver to the xf86ConfigLayout [ 2.912] (II) LoadModule: "modesetting" [ 2.912] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 2.919] (II) Module modesetting: vendor="X.Org Foundation" [ 2.919] compiled for 1.21.1.1, module version = 1.21.1 [ 2.919] Module class: X.Org Video Driver [ 2.919] ABI class: X.Org Video Driver, version 25.2 [ 2.919] (II) LoadModule: "fbdev" [ 2.919] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [ 2.920] (II) Module fbdev: vendor="X.Org Foundation" [ 2.920] compiled for 1.21.1.1, module version = 0.5.0 [ 2.920] Module class: X.Org Video Driver [ 2.920] ABI class: X.Org Video Driver, version 25.2 [ 2.920] (II) LoadModule: "vesa" [ 2.920] (WW) Warning, couldn't open module vesa [ 2.920] (EE) Failed to load module "vesa" (module does not exist, 0) [ 2.920] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 2.920] (II) FBDEV: driver for framebuffer: fbdev [ 2.920] (WW) xf86OpenConsole: setpgid failed: Operation not permitted [ 2.920] (WW) xf86OpenConsole: setsid failed: Operation not permitted [ 3.023] (WW) Falling back to old probe method for modesetting [ 3.094] (II) modeset(1): using default device [ 3.095] (II) Loading sub module "fbdevhw" [ 3.095] (II) LoadModule: "fbdevhw" [ 3.095] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 3.096] (II) Module fbdevhw: vendor="X.Org Foundation" [ 3.096] compiled for 1.21.1.1, module version = 0.0.2 [ 3.096] ABI class: X.Org Video Driver, version 25.2 [ 3.096] (EE) Unable to find a valid framebuffer device [ 3.096] (WW) Falling back to old probe method for fbdev [ 3.096] (II) Loading sub module "fbdevhw" [ 3.096] (II) LoadModule: "fbdevhw" [ 3.096] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 3.096] (II) Module fbdevhw: vendor="X.Org Foundation" [ 3.096] compiled for 1.21.1.1, module version = 0.0.2 [ 3.096] ABI class: X.Org Video Driver, version 25.2 [ 3.096] (II) FBDEV(3): using default device [ 3.121] (II) modeset(G0): using drv /dev/dri/card0 [ 3.121] (EE) Screen 0 deleted because of no matching config section. [ 3.121] (II) UnloadModule: "modesetting" [ 3.121] (EE) Screen 1 deleted because of no matching config section. [ 3.121] (II) UnloadModule: "fbdev" [ 3.121] (II) UnloadSubModule: "fbdevhw" [ 3.121] (EE) Fatal server error: [ 3.121] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices [ 3.121] (EE) [ 3.121] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 3.121] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 3.121] (EE) [ 3.247] (EE) Server terminated with error (1). Closing log file.
Any ideas why?
Let me know if I can provide more info.
#2 2021-11-27 10:52:48
Re: HyperV VM, X terminates with «Cannot run in framebuffer mode»
I solved this problem by forcing X to use the fbdev driver and providing the framebuffer device id like so.
Create the file:
/etc/X11/xorg.conf.d/99-fbdev.conf
Section "Device" Identifier "Card0" Driver "fbdev" BusID "PCI:0:8:0" EndSection
Please mind that your BusID might be different. You can just run
which will create /root/xorg.conf.new. Then look in this file for your BusID and act accordingly if it differs.
Last edited by cheezy lane (2021-11-27 11:07:33)