Hello,
I am trying to install optimus-manager. I use Manjaro-gnome so I followed this tutorial :
(h t t p s://archived.forum.manjaro.org/t/guide-install-and-configure-optimus-manager-for-hybrid-gpu-setups-intel-nvidia/92196)
I fail at the step 5, when I uncomment the line #WaylandEnable=false
, I have a black screen when I reboot. When I try to launch startx
on tty3, I have the following message,
(EE) Server terminated with error (1). Closing log file.t the X.Org Foundation support at http://wiki.x.orf for help.
(EE) Please also check the log file "/home/bobasse/.local/share/xorg/Xorg.2.log"
xinit: giving up
xinit: unable to connect to X server: connection refused
xinit : server error
and the file β/home/bobasse/.local/share/xorg/Xorg.2.logβ is the following
[ 6413.278] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 6413.278]
X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
[ 6413.278] Build Operating System: Linux Manjaro Linux
[ 6413.278] Current Operating System: Linux Esther 5.13.12-1-MANJARO #1 SMP PREEMPT Wed Aug 18 08:06:42 UTC 2021 x86_64
[ 6413.278] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64 root=UUID=8c5b2d58-3252-4fe9-b480-844dd348d1fd rw quiet splash apparmor=1 security=apparmor udev.log_priority=3
[ 6413.278] Build Date: 24 August 2021 10:21:29AM
[ 6413.278]
[ 6413.278] Current version of pixman: 0.40.0
[ 6413.278] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 6413.278] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 6413.278] (==) Log file: "/var/log/Xorg.2.log", Time: Sat Sep 4 23:12:15 2021
[ 6413.278] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 6413.278] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 6413.278] (==) ServerLayout "layout"
[ 6413.278] (==) No screen section available. Using defaults.
[ 6413.278] (**) |-->Screen "Default Screen Section" (0)
[ 6413.278] (**) | |-->Monitor "<default monitor>"
[ 6413.278] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 6413.278] (**) | |-->Device "integrated"
[ 6413.278] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 6413.278] (==) Automatically adding devices
[ 6413.278] (==) Automatically enabling devices
[ 6413.278] (==) Automatically adding GPU devices
[ 6413.278] (==) Automatically binding GPU devices
[ 6413.278] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 6413.278] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 6413.278] Entry deleted from font path.
[ 6413.278] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 6413.278] Entry deleted from font path.
[ 6413.278] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 6413.278] Entry deleted from font path.
[ 6413.278] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 6413.279] Entry deleted from font path.
[ 6413.279] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 6413.279] Entry deleted from font path.
[ 6413.279] (==) FontPath set to:
/usr/share/fonts/TTF
[ 6413.279] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 6413.279] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 6413.279] (II) Module ABI versions:
[ 6413.279] X.Org ANSI C Emulation: 0.4
[ 6413.279] X.Org Video Driver: 24.1
[ 6413.279] X.Org XInput driver : 24.1
[ 6413.279] X.Org Server Extension : 10.0
[ 6413.279] (++) using VT number 0
[ 6413.279] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 6413.279] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 6413.279] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 6414.620] (--) PCI:*(0@0:2:0) 8086:9a49:1043:16e2 rev 1, Mem @ 0x622e000000/16777216, 0x4000000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[ 6414.620] (--) PCI: (1@0:0:0) 10de:2520:1043:16e2 rev 161, Mem @ 0x85000000/16777216, 0x6000000000/8589934592, 0x6200000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[ 6414.620] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 6414.620] (II) LoadModule: "glx"
[ 6414.620] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 6414.621] (II) Module glx: vendor="X.Org Foundation"
[ 6414.621] compiled for 1.20.13, module version = 1.0.0
[ 6414.621] ABI class: X.Org Server Extension, version 10.0
[ 6414.621] (II) LoadModule: "modesetting"
[ 6414.621] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 6414.621] (II) Module modesetting: vendor="X.Org Foundation"
[ 6414.621] compiled for 1.20.13, module version = 1.20.13
[ 6414.621] Module class: X.Org Video Driver
[ 6414.621] ABI class: X.Org Video Driver, version 24.1
[ 6414.621] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 6414.621] (WW) xf86OpenConsole: VT_ACTIVATE failed: No such device or address
[ 6414.621] (EE)
Fatal server error:
[ 6414.621] (EE) xf86OpenConsole: Switching VT failed
[ 6414.621] (EE)
[ 6414.621] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 6414.621] (EE) Please also check the log file at "/var/log/Xorg.2.log" for additional information.
[ 6414.621] (EE)
[ 6414.632] (EE) Server terminated with error (1). Closing log file.
And here is the output of inxi
:
System:
Kernel: 5.13.12-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64
root=UUID=8c5b2d58-3252-4fe9-b480-844dd348d1fd rw quiet splash apparmor=1
security=apparmor udev.log_priority=3
Desktop: GNOME 40.4 tk: GTK 3.24.30 wm: gnome-shell dm: GDM 40.0
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: ASUSTeK product: ASUS TUF Dash F15 FX516PM_FX516PM
v: 1.0 serial: <filter>
Mobo: ASUSTeK model: FX516PM v: 1.0 serial: <filter>
UEFI: American Megatrends LLC. v: FX516PM.316 date: 05/18/2021
Battery:
ID-1: BAT0 charge: 72.8 Wh (96.8%) condition: 75.2/76.0 Wh (99.0%)
volts: 15.8 min: 15.8 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
status: Discharging cycles: 5
Memory:
RAM: total: 15.32 GiB used: 1.95 GiB (12.7%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: Quad Core model: 11th Gen Intel Core i5-11300H bits: 64 type: MT MCP
arch: Tiger Lake family: 6 model-id: 8C (140) stepping: 1 microcode: 88
cache: L2: 8 MiB bogomips: 49784
Speed: 790 MHz min/max: 400/4400 MHz Core speeds (MHz): 1: 790 2: 634 3: 545
4: 1177 5: 849 6: 596 7: 464 8: 744
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_capabilities
arch_perfmon art avx avx2 avx512_bitalg avx512_vbmi2 avx512_vnni
avx512_vp2intersect avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f
avx512ifma avx512vbmi avx512vl bmi1 bmi2 bts cat_l2 cdp_l2 clflush
clflushopt clwb cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl
dtes64 dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma
fpu fsgsbase fsrm fxsr gfni ht hwp hwp_act_window hwp_epp hwp_notify
hwp_pkg_req ibpb ibrs ibrs_enhanced ida intel_pt invpcid invpcid_single
lahf_lm lm mca mce md_clear mmx monitor movbe movdir64b movdiri msr mtrr
nonstop_tsc nopl nx ospke pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge
pku pln pni popcnt pse pse36 pts rdpid rdrand rdseed rdt_a rdtscp rep_good
sdbg sep sha_ni smap smep split_lock_detect ss ssbd sse sse2 sse4_1 sse4_2
ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer
tsc_known_freq umip vaes vme vmx vnmi vpclmulqdq vpid x2apic xgetbv1 xsave
xsavec xsaveopt xsaves xtopology xtpr
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: ASUSTeK
driver: i915 v: kernel bus-ID: 0000:00:02.0 chip-ID: 8086:9a49
class-ID: 0300
Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: ASUSTeK
driver: nvidia v: 470.63.01 alternate: nouveau,nvidia_drm
bus-ID: 0000:01:00.0 chip-ID: 10de:2520 class-ID: 0300
Display: wayland server: X.org 1.20.13 compositor: gnome-shell driver:
loaded: modesetting display-ID: 0 resolution: <missing: xdpyinfo>
OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.2.1
direct render: Yes
Audio:
Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
bus-ID: 0000:00:1f.3 chip-ID: 8086:a0c8 class-ID: 0403
Device-2: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel
bus-ID: 0000:01:00.1 chip-ID: 10de:228e class-ID: 0403
Sound Server-1: ALSA v: k5.13.12-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.33 running: no
Network:
Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel port: 5000
bus-ID: 0000:00:14.3 chip-ID: 8086:a0f0 class-ID: 0280
IF: wlo1 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
Device-2: Realtek driver: N/A port: 4000 bus-ID: 0000:2e:00.0
chip-ID: 10ec:8162 class-ID: 0200
WAN IP: <filter>
Bluetooth:
Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 3-10:3 chip-ID: 8087:0026 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
v: 0.6 port: 5000 bus-ID: 0000:00:0e.0 chip-ID: 8086.9a0b rev:
class-ID: 0104
Drives:
Local Storage: total: 476.94 GiB used: 31.26 GiB (6.6%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLQ512HBLU-00B00
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: FXM7201Q temp: 34.9 C scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 476.64 GiB size: 468.09 GiB (98.21%)
used: 31.26 GiB (6.7%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
label: N/A uuid: 8c5b2d58-3252-4fe9-b480-844dd348d1fd
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
label: NO_LABEL uuid: 11CA-C836
Swap:
Alert: No swap data was found.
Unmounted:
Message: No unmounted partitions found.
USB:
Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 1 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-5:2 info: KYE Systems (Mouse Systems) Trackbar Emotion
type: Mouse driver: hid-generic,usbhid interfaces: 1 rev: 1.1
speed: 1.5 Mb/s power: 100mA chip-ID: 0458:0007 class-ID: 0301
Device-2: 3-10:3 info: Intel AX201 Bluetooth type: Bluetooth driver: btusb
interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0026
class-ID: e001
Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 46.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 274 Uptime: 2m wakeups: 199 Init: systemd v: 248 tool: systemctl
Compilers: gcc: 11.1.0 Packages: 1293 pacman: 1285 lib: 351 flatpak: 0
snap: 8 Shell: Zsh v: 5.8 running-in: gnome-terminal inxi: 3.3.06
I am a bit lost and tried many solutions from many forums with no success yet.
Thank you for your answers !