I am a beginner to linux, and I choose manjaro as my first distribution to try.
The problem is that I have a laptop with a rtx3060 card with optimus, and followed this guide to install optimus manager.
After I installed optimus-manager and optimus-manager-qt and rebooted, it showed a black screen. Fortunately, I was able to get into tty2 and remove optimus-manager, which solved the booting problem. However, I really want to turn my dgpu off when I don’t need it. I reinstalled it twice, but it did not work Please help
This is my inxi output
System:
Kernel: 5.13.19-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64
root=UUID=7f58f1cc-3760-4b3c-9516-da87689cd890 rw quiet apparmor=1
security=apparmor udev.log_priority=3
Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: ASUSTeK product: ROG Zephyrus M16 GU603HM_GU603HM
v: 1.0 serial: <filter>
Mobo: ASUSTeK model: GU603HM v: 1.0 serial: <filter>
UEFI: American Megatrends LLC. v: GU603HM.312 date: 09/23/2021
Battery:
ID-1: BAT0 charge: 28.4 Wh (36.5%) condition: 77.8/90.0 Wh (86.4%)
volts: 15.9 min: 15.9 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
status: Charging cycles: 113
Memory:
RAM: total: 15.31 GiB used: 2.12 GiB (13.8%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: 8-Core model: 11th Gen Intel Core i9-11900H bits: 64 type: MT MCP
arch: Tiger Lake family: 6 model-id: 8D (141) stepping: 1 microcode: 2C
cache: L2: 24 MiB bogomips: 79888
Speed: 1048 MHz min/max: 800/4800 MHz Core speeds (MHz): 1: 1048 2: 1088
3: 1614 4: 801 5: 801 6: 801 7: 1704 8: 4410 9: 2753 10: 801 11: 801 12: 796
13: 1294 14: 4245 15: 1479 16: 1885
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-H GT1 [UHD Graphics] vendor: ASUSTeK driver: i915
v: kernel bus-ID: 0000:00:02.0 chip-ID: 8086:9a60 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
Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
bus-ID: 3-2:2 chip-ID: 13d3:5458 class-ID: fe01 serial: <filter>
Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver:
loaded: modesetting,nvidia alternate: fbdev,nouveau,nv,vesa display-ID: :0
screens: 1
Screen-1: 0 s-res: 2560x1600 s-dpi: 96 s-size: 677x423mm (26.7x16.7")
s-diag: 798mm (31.4")
Monitor-1: eDP-1 res: 2560x1600 hz: 165 dpi: 189 size: 344x215mm (13.5x8.5")
diag: 406mm (16")
OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1) v: 4.6 Mesa 21.2.3
direct render: Yes
Audio:
Device-1: Intel Tiger Lake-H HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel alternate: snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
chip-ID: 8086:43c8 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.19-2-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.38 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: r8169 v: kernel port: 3000 bus-ID: 0000:2d:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: eno2 state: down mac: <filter>
Device-2: MEDIATEK vendor: AzureWave driver: mt7921e v: kernel port: N/A
bus-ID: 0000:2f:00.0 chip-ID: 14c3:7961 class-ID: 0280
IF: wlo1 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Device-1: IMC Networks Wireless_Device type: USB driver: btusb v: 0.8
bus-ID: 3-14:5 chip-ID: 13d3:3563 class-ID: e001 serial: <filter>
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: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b rev: class-ID: 0104
Drives:
Local Storage: total: 953.87 GiB used: 11.73 GiB (1.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVL21T0HCLR-00B00
size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 type: SSD serial: <filter> rev: GXA7301Q temp: 58.9 C scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 234.91 GiB size: 230.17 GiB (97.98%)
used: 11.68 GiB (5.1%) fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7
label: N/A uuid: 7f58f1cc-3760-4b3c-9516-da87689cd890
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
used: 49.3 MiB (19.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
label: SYSTEM uuid: 16B4-896D
Swap:
Alert: No swap data was found.
Unmounted:
ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
label: N/A uuid: N/A
ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 695.66 GiB fs: ntfs label: OS
uuid: 4C46B66646B65106
ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 850 MiB fs: ntfs label: RECOVERY
uuid: 1268014C68012FD1
ID-4: /dev/nvme0n1p5 maj-min: 259:5 size: 22 GiB fs: ntfs label: RESTORE
uuid: BAF236B1F236722D
ID-5: /dev/nvme0n1p6 maj-min: 259:6 size: 200 MiB fs: vfat label: MYASUS
uuid: E436-A1D4
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: 16 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-2:2 info: IMC Networks USB2.0 HD UVC WebCam type: Video
driver: uvcvideo interfaces: 3 rev: 2.0 speed: 480 Mb/s power: 500mA
chip-ID: 13d3:5458 class-ID: fe01 serial: <filter>
Device-2: 3-9:3 info: Shenzhen Goodix FingerPrint type: <vendor specific>
driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
chip-ID: 27c6:521d class-ID: ff00
Device-3: 3-10:4 info: ASUSTek N-KEY Device type: Keyboard
driver: asus,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s power: 100mA
chip-ID: 0b05:19b6 class-ID: 0301
Device-4: 3-14:5 info: IMC Networks Wireless_Device type: Bluetooth
driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s power: 100mA
chip-ID: 13d3:3563 class-ID: e001 serial: <filter>
Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 8 rev: 3.1 speed: 20 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 53.0 C mobo: N/A
Fan Speeds (RPM): cpu: 2200
Info:
Processes: 331 Uptime: 4m wakeups: 4 Init: systemd v: 249 tool: systemctl
Compilers: gcc: 11.1.0 Packages: pacman: 1216 lib: 331 flatpak: 0 Shell: Zsh
v: 5.8 default: Bash v: 5.1.8 running-in: konsole inxi: 3.3.08