Я надеялся, что кто-нибудь подскажет, как настроить Xorg для моего ноутбука NVidia Optimus. Вот мой текущий файл Xorg.conf:

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "intel"
    Inactive "nvidia"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "Yes"
EndSection

Section "Device"
    Identifier "intel"
#    Driver "modesetting"
    BusID "PCI:0:2:0"
    Option "AccelMethod"  "sna"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Я попытался запустить свою ОС Linux, но заметил, что "Запуск UID Manager" будет появляться несколько раз. Затем я замечаю следующее в моем файле Xorg.0.log:

[    31.996] (--) Log file renamed from "/var/log/Xorg.pid-3929.log" to "/var/log/Xorg.0.log"
[    31.996] 
X.Org X Server 1.19.6
Release Date: 2017-12-20
[    31.996] X Protocol Version 11, Revision 0
[    31.996] Build Operating System: Linux 4.9.0-5-amd64 x86_64 Debian
[    31.996] Current Operating System: Linux Thanatos 4.15.0-kali2-amd64 #1 SMP Debian 4.15.11-1kali1 (2018-03-21) x86_64
[    31.996] Kernel command line: BOOT_IMAGE=/vmlinuz-4.15.0-kali2-amd64 root=/dev/mapper/kieran_laptop_ssd-root ro initrd=/install/initrd.gz quiet nomodeset
[    31.996] Build Date: 26 January 2018  04:30:21PM
[    31.996] xorg-server 2:1.19.6-1 (https://www.debian.org/support) 
[    31.997] Current version of pixman: 0.34.0
[    31.997]    Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[    31.997] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.  
[    31.997] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 12 03:41:53 2018
[    31.997] (==) Using config file: "/etc/X11/xorg.conf"
[    31.997] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    31.997] (==) ServerLayout "layout"
[    31.997] (**) |-->Screen "intel" (0)
[    31.997] (**) |   |-->Monitor "<default monitor>"
[    31.997] (**) |   |-->Device "intel"
[    31.997] (**) |   |-->GPUDevice "intel"
[    31.997] (==) No monitor specified for screen "intel".
Using a default monitor configuration.
[    31.997] (**) |-->Inactive Device "nvidia"
[    31.997] (==) Automatically adding devices
[    31.997] (==) Automatically enabling devices
[    31.997] (==) Automatically adding GPU devices
[    31.997] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    31.997] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    31.997]    Entry deleted from font path.
[    31.997] (==) 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
[    31.997] (==) ModulePath set to "/usr/lib/xorg/modules"
[    31.997] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[    31.997] (II) Loader magic: 0x5574f664fde0
[    31.997] (II) Module ABI versions:
[    31.997]    X.Org ANSI C Emulation: 0.4
[    31.997]    X.Org Video Driver: 23.0
[    31.997]    X.Org XInput driver : 24.1
[    31.997]    X.Org Server Extension : 10.0
[    31.998] (++) using VT number 1

[    32.000] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c174
[    32.001] (II) xfree86: Adding drm device (/dev/dri/card0)
[    32.002] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 12 paused 0 
[    32.004] (--) PCI:*(0:0:2:0) 8086:1616:1043:1acd rev 9, Mem @ 0xa1000000/16777216, 0xb0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[    32.004] (--) PCI: (0:4:0:0) 10de:139a:1043:1acd rev 162, Mem @ 0xa2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[    32.004] (II) LoadModule: "glx"
[    32.004] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[    32.009] (II) Module glx: vendor="NVIDIA Corporation"
[    32.009]    compiled for 4.0.2, module version = 1.0.0
[    32.009]    Module class: X.Org Server Extension
[    32.009] (II) NVIDIA GLX Module  390.48  Wed Mar 21 23:42:56 PDT 2018
[    32.009] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[    32.009]    loading driver: nvidia
[    32.009] (==) Matched nvidia as autoconfigured driver 0
[    32.009] (==) Matched nouveau as autoconfigured driver 1
[    32.009] (==) Matched nv as autoconfigured driver 2
[    32.009] (==) Matched modesetting as autoconfigured driver 3
[    32.009] (==) Matched fbdev as autoconfigured driver 4
[    32.009] (==) Matched vesa as autoconfigured driver 5
[    32.009] (==) Assigned the driver to the xf86ConfigLayout
[    32.009] (II) LoadModule: "nvidia"
[    32.009] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    32.009] (II) Module nvidia: vendor="NVIDIA Corporation"
[    32.009]    compiled for 4.0.2, module version = 1.0.0
[    32.009]    Module class: X.Org Video Driver
[    32.009] (II) NVIDIA dlloader X Driver  390.48  Wed Mar 21 23:18:15 PDT 2018
[    32.009] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    32.010] (II) systemd-logind: releasing fd for 226:0
[    32.010] (EE) No devices detected.
[    32.010] (EE) Fatal server error:
[    32.010] (EE) no screens found(EE) 
[    32.010] (EE) Please consult the The X.Org Foundation support 
 at http://wiki.x.orgfor help. 
[    32.010] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    32.010] (EE) 
[    32.017] (EE) Server terminated with error (1). Closing log file.

Кто-нибудь знает, что мне нужно делать по этому поводу? Кажется, мой драйвер Intel может потребоваться переустановить ??? У меня есть ноутбук ASUS 501L, если это дает кому-нибудь идею. Я буду рад предоставить любые другие журналы.

Я также подумал, что попробую загрузить пакеты из chroot-тюрьмы, установленной в работающей ОС Linux, но я заметил, что когда я пытаюсь это сделать, я могу пинговать IP-адреса, но не могу пинговать сайты ... и я могу Не используйте apt-get и получите любые пакеты для загрузки!

0