You are not logged in.

#1 2022-01-10 18:24:18

robotechnic
Member
Registered: 2022-01-10
Posts: 6

[Solved] Black screen on boot with optimus-manager

When I install optimus-manager, my screen stay black with white text at boot. I can still change my tty and a cursor blink on the screen. When I restart sddm, I have a lot of artifacts and snow on the screen, they disappear and the screen remain black.

I installed: nvidia, nvidia-settings, nvidia-utils, bbswitch-dkms, optimus-manager, xf86-video-intel

If I try to switch graphic card, I have the flowing message:

ERROR: a GPU setup was initiated but Xorg post-start hook did not run.
Log at /var/log/optimus-manager/switch/switch-20221001T103246.log
If your login manager is GDM, make sure to follow those instructions:
[url]https://github.com/Askannz/optimus-manager#important--gnome-and-gdm-users[/url]
If your display manager is neither GDM, SDDM nor LightDM, or if you don't use one, read the wiki:
[url]https://github.com/Askannz/optimus-manager/wiki/FAQ,-common-issues,-troubleshooting[/url]

Cannot execute command because of previous errors.

If I use only intel driver or only nvidia driver it's works but graphic card drain a lot of battery

System info
Please include :
- Distro: Arch linux version 5.15.13-arch1-1
- Desktop manager: Kde
-  Display manager: sddm
- Laptop model: Dell inspiron 16 plus with rtx3060
- Optimus manager version: latest stable
- Custom optimus-manager configuration file :

[optimus]
switching=bbswitch
pci_power_control=no
pci_remove=no
pci_reset=no
auto_logout=yes
startup_mode=nvidia


[intel]
driver=intel
accel=sna
DRI=2
modeset=no

[nvidia]
PAT=yes
DPI=96
ignore_abi=no
allow_external_gpus=no
options=overclocking

dynamic_power_management=no
dynamic_power_management_memory_threshold=

Logs
When graphic card is enabled:
optimus-manager logs

[6] INFO: # Xorg pre-start hook
[6] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'nvidia', 'current_mode': None}
[6] INFO: Requested mode is: nvidia
[798] INFO: Available modules: ['nouveau', 'bbswitch', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
[798] INFO: Unloading modules ['nouveau'] (if loaded)
[801] INFO: Loading module bbswitch
[803] INFO: Setting GPU power to ON via bbswitch
[934] INFO: Nvidia card not visible in PCI bus, rescanning
[934] INFO: Rescanning PCI bus
[942] ERROR: Nvidia card not showing up in PCI bus after rescan. Continuing anyways.
[961] INFO: Loading module nvidia
[1682] INFO: Loading module nvidia_drm
[3645] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
[3645] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20220110T133334', 'requested_mode': 'nvidia'}
[3646] INFO: Xorg pre-start hook completed successfully.

sddm logs

Jan 10 13:33:40 robotechnicPC sddm[758]: Failed to read display number from pipe
Jan 10 13:33:40 robotechnicPC sddm[758]: Display server stopping...
Jan 10 13:33:40 robotechnicPC sddm[758]: Attempt 2 starting the Display server on vt 1 failed
Jan 10 13:33:42 robotechnicPC sddm[758]: Display server starting...
Jan 10 13:33:42 robotechnicPC sddm[758]: Adding cookie to "/var/run/sddm/{eb2b0255-8f2d-477e-b3e6-5b5fbc3e694d}"
Jan 10 13:33:42 robotechnicPC sddm[758]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt1 -auth /var/run/sddm/{eb2b0255-8f2d-477e-b3e6-5b5fbc3e694d} -noreset -displayfd 17
Jan 10 13:33:43 robotechnicPC sddm[758]: Failed to read display number from pipe
Jan 10 13:33:43 robotechnicPC sddm[758]: Display server stopping...
Jan 10 13:33:43 robotechnicPC sddm[758]: Attempt 3 starting the Display server on vt 1 failed
Jan 10 13:33:43 robotechnicPC sddm[758]: Could not start Display server on vt 1

Xorg logs:

[    10.020] (--) Log file renamed from "/var/log/Xorg.pid-804.log" to "/var/log/Xorg.0.log"
[    10.020] 
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[    10.020] Current Operating System: Linux robotechnicPC 5.15.13-arch1-1 #1 SMP PREEMPT Wed, 05 Jan 2022 16:20:59 +0000 x86_64
[    10.020] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=261a393a-8f82-4ece-957f-022aaf0c4b49 rw loglevel=3 quiet
[    10.020]  
[    10.020] Current version of pixman: 0.40.0
[    10.020] 	Before reporting problems, check [url]http://wiki.x.org[/url]
	to make sure that you have the latest version.
[    10.020] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    10.021] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 10 13:33:42 2022
[    10.021] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    10.021] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    10.021] (==) ServerLayout "layout"
[    10.021] (**) |-->Screen "nvidia" (0)
[    10.021] (**) |   |-->Monitor "<default monitor>"
[    10.021] (**) |   |-->Device "nvidia"
[    10.021] (**) |   |-->GPUDevice "integrated"
[    10.021] (==) No monitor specified for screen "nvidia".
	Using a default monitor configuration.
[    10.021] (**) |-->Inactive Device "integrated"
[    10.021] (==) Automatically adding devices
[    10.021] (==) Automatically enabling devices
[    10.021] (==) Automatically adding GPU devices
[    10.021] (==) Automatically binding GPU devices
[    10.021] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    10.021] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    10.021] 	Entry deleted from font path.
[    10.021] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    10.021] 	Entry deleted from font path.
[    10.021] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    10.021] 	Entry deleted from font path.
[    10.021] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    10.021] (**) ModulePath set to "/usr/lib/nvidia,/usr/lib32/nvidia,/usr/lib32/nvidia/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/nvidia/xorg/modules,/usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules"
[    10.021] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    10.021] (II) Module ABI versions:
[    10.021] 	X.Org ANSI C Emulation: 0.4
[    10.021] 	X.Org Video Driver: 25.2
[    10.021] 	X.Org XInput driver : 24.4
[    10.021] 	X.Org Server Extension : 10.0
[    10.023] (++) using VT number 1

[    10.023] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    10.024] (II) xfree86: Adding drm device (/dev/dri/card1)
[    10.024] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
[    10.024] (II) xfree86: Adding drm device (/dev/dri/card0)
[    10.024] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[    10.030] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/nvidia,/usr/lib32/nvidia,/usr/lib32/nvidia/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/nvidia/xorg/modules,/usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules"
[    10.294] (--) PCI:*(0@0:2:0) 8086:9a60:1028:0a83 rev 1, Mem @ 0x6234000000/16777216, 0x4000000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[    10.294] (--) PCI: (1@0:0:0) 10de:2520:1028:0a83 rev 161, Mem @ 0x8e000000/16777216, 0x6000000000/8589934592, 0x6200000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[    10.294] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    10.294] (II) LoadModule: "glx"
[    10.295] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    10.297] (II) Module glx: vendor="X.Org Foundation"
[    10.297] 	compiled for 1.21.1.3, module version = 1.0.0
[    10.297] 	ABI class: X.Org Server Extension, version 10.0
[    10.297] (II) LoadModule: "nvidia"
[    10.297] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    10.298] (II) Module nvidia: vendor="NVIDIA Corporation"
[    10.298] 	compiled for 1.6.99.901, module version = 1.0.0
[    10.298] 	Module class: X.Org Video Driver
[    10.298] (II) LoadModule: "modesetting"
[    10.298] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    10.304] (II) Module modesetting: vendor="X.Org Foundation"
[    10.304] 	compiled for 1.21.1.3, module version = 1.21.1
[    10.304] 	Module class: X.Org Video Driver
[    10.304] 	ABI class: X.Org Video Driver, version 25.2
[    10.304] (II) NVIDIA dlloader X Driver  495.46  Wed Oct 27 16:28:42 UTC 2021
[    10.304] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    10.304] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    10.304] (WW) Falling back to old probe method for modesetting
[    10.308] (II) modeset(0): using default device
[    10.324] (II) modeset(0): using default device
[    10.324] (II) Loading sub module "fb"
[    10.325] (II) LoadModule: "fb"
[    10.325] (II) Module "fb" already built-in
[    10.325] (II) Loading sub module "wfb"
[    10.325] (II) LoadModule: "wfb"
[    10.325] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    10.325] (II) Module wfb: vendor="X.Org Foundation"
[    10.325] 	compiled for 1.21.1.3, module version = 1.0.0
[    10.325] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    10.325] (II) Loading sub module "ramdac"
[    10.325] (II) LoadModule: "ramdac"
[    10.325] (II) Module "ramdac" already built-in
[    10.341] (II) modeset(G1): using drv /dev/dri/card0
[    10.341] (EE) Screen 0 deleted because of no matching config section.
[    10.341] (II) UnloadModule: "modesetting"
[    10.341] (EE) Device(s) detected, but none match those in the config file.
[    10.341] (EE) 
Fatal server error:
[    10.341] (EE) no screens found(EE) 
[    10.341] (EE) 
Please consult the The X.Org Foundation support 
	 at [url]http://wiki.x.org[/url]
 for help. 
[    10.341] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    10.341] (EE) 
[    10.410] (EE) Server terminated with error (1). Closing log file.

When graphic card disabled:
optimus-manager logs:

Jan 10 11:36:20 robotechnicPC python3[595]: [792] INFO: Unloading modules ['nvidia_drm', 'nvidia_modeset', 'nvidia_uvm', 'nvidia'] (if loaded)
Jan 10 11:36:20 robotechnicPC python3[595]: [794] INFO: Loading module bbswitch
Jan 10 11:36:20 robotechnicPC python3[595]: [795] INFO: Setting GPU power to OFF via bbswitch
Jan 10 11:36:20 robotechnicPC python3[595]: [1069] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
Jan 10 11:36:20 robotechnicPC python3[595]: [1069] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20220110T113619', 'requested_mode': 'integrated'}
Jan 10 11:36:20 robotechnicPC python3[595]: [1069] INFO: Xorg pre-start hook completed successfully.
Jan 10 11:36:20 robotechnicPC systemd[1]: Started Optimus Manager Commands Daemon.
Jan 10 11:36:20 robotechnicPC python3[710]: [0] INFO: # Commands daemon
Jan 10 11:36:20 robotechnicPC python3[710]: [1] INFO: Opening UNIX socket
Jan 10 11:36:20 robotechnicPC python3[710]: [1] INFO: Awaiting commands

sddm logs:

Jan 10 11:36:22 robotechnicPC sddm[711]: Failed to read display number from pipe
Jan 10 11:36:22 robotechnicPC sddm[711]: Display server stopping...
Jan 10 11:36:22 robotechnicPC sddm[711]: Attempt 2 starting the Display server on vt 1 failed
Jan 10 11:36:24 robotechnicPC sddm[711]: Display server starting...
Jan 10 11:36:24 robotechnicPC sddm[711]: Adding cookie to "/var/run/sddm/{200262d3-edbb-4905-9919-6ffeaeabccb8}"
Jan 10 11:36:24 robotechnicPC sddm[711]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt1 -auth /var/run/sddm/{200262d3-edbb-4905-9919-6ffeaeabccb8} -noreset -displayfd 17
Jan 10 11:36:24 robotechnicPC sddm[711]: Failed to read display number from pipe
Jan 10 11:36:24 robotechnicPC sddm[711]: Display server stopping...
Jan 10 11:36:24 robotechnicPC sddm[711]: Attempt 3 starting the Display server on vt 1 failed
Jan 10 11:36:24 robotechnicPC sddm[711]: Could not start Display server on vt 1

xorg logs:

[     7.522] (--) Log file renamed from "/var/log/Xorg.pid-792.log" to "/var/log/Xorg.0.log"
[     7.523] 
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[     7.523] Current Operating System: Linux robotechnicPC 5.15.13-arch1-1 #1 SMP PREEMPT Wed, 05 Jan 2022 16:20:59 +0000 x86_64
[     7.523] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=261a393a-8f82-4ece-957f-022aaf0c4b49 rw loglevel=3 quiet
[     7.523]  
[     7.523] Current version of pixman: 0.40.0
[     7.523]     Before reporting problems, check [url]http://wiki.x.org[/url]
    to make sure that you have the latest version.
[     7.523] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     7.523] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 10 11:36:24 2022
[     7.523] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     7.523] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     7.524] (==) No Layout section.  Using the first Screen section.
[     7.524] (==) No screen section available. Using defaults.
[     7.524] (**) |-->Screen "Default Screen Section" (0)
[     7.524] (**) |   |-->Monitor "<default monitor>"
[     7.524] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
[     7.524] (**) |   |-->Device "integrated"
[     7.524] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[     7.524] (==) Automatically adding devices
[     7.524] (==) Automatically enabling devices
[     7.524] (==) Automatically adding GPU devices
[     7.524] (==) Automatically binding GPU devices
[     7.524] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     7.524] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     7.524]     Entry deleted from font path.
[     7.524] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     7.524]     Entry deleted from font path.
[     7.524] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     7.524]     Entry deleted from font path.
[     7.524] (==) FontPath set to:
    /usr/share/fonts/TTF,
    /usr/share/fonts/100dpi,
    /usr/share/fonts/75dpi
[     7.524] (==) ModulePath set to "/usr/lib/xorg/modules"
[     7.524] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[     7.524] (II) Module ABI versions:
[     7.524]     X.Org ANSI C Emulation: 0.4
[     7.524]     X.Org Video Driver: 25.2
[     7.524]     X.Org XInput driver : 24.4
[     7.524]     X.Org Server Extension : 10.0
[     7.525] (++) using VT number 1

[     7.525] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     7.526] (II) xfree86: Adding drm device (/dev/dri/card0)
[     7.526] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[     7.534] (--) PCI:*(0@0:2:0) 8086:9a60:1028:0a83 rev 1, Mem @ 0x6234000000/16777216, 0x4000000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[     7.535] (--) PCI: (1@0:0:0) 10de:2520:1028:0a83 rev 161, Mem @ 0x8e000000/16777216, 0x6000000000/8589934592, 0x6200000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[     7.535] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     7.535] (II) LoadModule: "glx"
[     7.535] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     7.537] (II) Module glx: vendor="X.Org Foundation"
[     7.537]     compiled for 1.21.1.3, module version = 1.0.0
[     7.537]     ABI class: X.Org Server Extension, version 10.0
[     7.537] (II) LoadModule: "intel"
[     7.537] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[     7.537] (II) Module intel: vendor="X.Org Foundation"
[     7.537]     compiled for 1.21.1.1, module version = 2.99.917
[     7.537]     Module class: X.Org Video Driver
[     7.537]     ABI class: X.Org Video Driver, version 25.2
[     7.537] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[     7.537] (II) intel: Driver for Intel(R) HD Graphics
[     7.537] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[     7.537] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[     7.537] (II) intel(G0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
[     7.537] (II) intel(G0): SNA compiled from 2.99.917-916-g31486f40
[     7.553] (EE) No devices detected.
[     7.553] (EE) 
Fatal server error:
[     7.553] (EE) no screens found(EE) 
[     7.553] (EE) 
Please consult the The X.Org Foundation support 
     at [url]http://wiki.x.org[/url]
 for help. 
[     7.553] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     7.553] (EE) 
[     7.584] (EE) Server terminated with error (1). Closing log file.

Last edited by robotechnic (2022-01-11 21:26:49)

Offline

#2 2022-01-10 21:54:43

seth
Member
Registered: 2012-09-03
Posts: 26,526

Re: [Solved] Black screen on boot with optimus-manager

[801] INFO: Loading module bbswitch
[803] INFO: Setting GPU power to ON via bbswitch
[934] INFO: Nvidia card not visible in PCI bus, rescanning
[934] INFO: Rescanning PCI bus
[942] ERROR: Nvidia card not showing up in PCI bus after rescan. Continuing anyways.

If I use only intel driver or only nvidia driver it's works but graphic card drain a lot of battery

https://wiki.archlinux.org/title/PRIME# … Management

Is there high battery draw when running on the intel chip w/ the nvidia one merely available for "regular" prime? (No optimus manager at all)?

Online

#3 2022-01-11 09:40:01

robotechnic
Member
Registered: 2022-01-10
Posts: 6

Re: [Solved] Black screen on boot with optimus-manager

I followed this instructions: https://wiki.archlinux.org/title/PRIME# … Management and installed xf86-video-intel package
Then I reboot. In idle, it consumes around 8Watt but if I just open firefox and play a youtube video in 720p power consumption raises around 20-23W so I think that the rtx is still powered on.

Offline

#4 2022-01-11 10:40:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 15,069

Re: [Solved] Black screen on boot with optimus-manager

xf86-video-intel shouldn't be necessary. Did you remove bbswitch before following that? You should. "Just a youtube video" can still be quite taxing FWIW

Online

#5 2022-01-11 13:16:47

seth
Member
Registered: 2012-09-03
Posts: 26,526

Re: [Solved] Black screen on boot with optimus-manager

You can also check nvidia-smi on whether the GPU is used by anything and (likely) powertop to see what draws the battery.

Online

#6 2022-01-11 20:32:33

robotechnic
Member
Registered: 2022-01-10
Posts: 6

Re: [Solved] Black screen on boot with optimus-manager

OK thanks, after removing bbswitch everything seems to work, if I don't do power consuming task (just Firefox with some tabs opened and LibreOffice) the computer use only 8 to 10W so I can expect around 8 to 10 hours of autonomy.

But I want optimus manager working because it is less annoying than open a console and type prime-run <programm-name> every time I want to use my graphic card.

Just one more thing:
When I type nvidia-smi I have this output:

Tue Jan 11 21:35:05 2022       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 495.46       Driver Version: 495.46       CUDA Version: 11.5     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  On   | 00000000:01:00.0 Off |                  N/A |
| N/A   42C    P3    N/A /  N/A |      6MiB /  5946MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       703      G   /usr/lib/Xorg                       4MiB |
+-----------------------------------------------------------------------------+

SO this mean that x11 use my graphic card instead of the intel integrated processor, the the graphic car isn't powered off. Here is my main problem I think.

Last edited by robotechnic (2022-01-11 20:36:38)

Offline

#7 2022-01-11 20:36:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 15,069

Re: [Solved] Black screen on boot with optimus-manager

So you want to restart the entire xorg session instead? That's much more bothersome in my opinion. You can technically copy/edit the desktop files/write launcher scripts for software you want to invoke that you know need to be on the dGPU once.

You'll not get the power down while actively using the dGPU and you need to restart your entire xorg session to switch between the "distinct" modes.

Edit: The graphics card is powered off, that single xorg process is completely normal, the card will only activate properly once a certain VRAM threshold is reached (200MB ) which you won't reach with the offload rendering X

Last edited by V1del (2022-01-11 20:39:12)

Online

#8 2022-01-11 20:44:29

robotechnic
Member
Registered: 2022-01-10
Posts: 6

Re: [Solved] Black screen on boot with optimus-manager

I didn't think about that, this is actually a great solution. I will use that instead of optimus manager.
Thanks

For the graphic card thing, I tested to run blender with prime-run and power consumption raise up to 20W instantaneously and when I quit blender everithing goes to normal so this is working as expected.

Just one last think: why power consumption increase like crazy when I play a video?

Last edited by robotechnic (2022-01-11 20:44:39)

Offline

#9 2022-01-11 20:46:03

seth
Member
Registered: 2012-09-03
Posts: 26,526

Re: [Solved] Black screen on boot with optimus-manager

Lack of HW acceleration?
Does "play a video" mean "in a browser"? There's an entire thread about the issues w/ at least chromium.
Does the power draw also go up w/ mpv?

Online

#10 2022-01-11 20:53:15

robotechnic
Member
Registered: 2022-01-10
Posts: 6

Re: [Solved] Black screen on boot with optimus-manager

Yes it mean play in a browser (with firefox)
If I use powertop, with just firefox, the power consumption is around 8W but if a play a video, it raise up to 17 to 20W in 720p or 20W in 1080p.
As soon as I pause the video, the power low instantly and return around 8W

Offline

#11 2022-01-11 21:02:05

seth
Member
Registered: 2012-09-03
Posts: 26,526

Online

#12 2022-01-11 21:23:17

robotechnic
Member
Registered: 2022-01-10
Posts: 6

Re: [Solved] Black screen on boot with optimus-manager

Thanks you, I will test that, my problem is fixed.

Offline

Board footer

Powered by FluxBB