bayasdev / envycontrol

Easy GPU switching for Nvidia Optimus laptops under Linux
MIT License
1.22k stars 62 forks source link

Stuck at boot while switching to integrated or hybrid mode. #42

Closed bhaskarkhoraja closed 1 year ago

bhaskarkhoraja commented 2 years ago

This issue started from envycontrol V2, whenever i switch to integrated or hybrid i get stuck at boot. I thought it will be fixed but its been a long time. I found that it was removing EXTRA_PATH while switching to integrated or nvidia so i removed it from _cleanup() and was working fine.

From to_remove = (BLACKLIST_PATH,UDEV_INTEGRATED_PATH, UDEV_PM_PATH, XORG_PATH, EXTRA_PATH, '/etc/X11/xorg.conf.d/90-nvidia.conf',.......................

To to_remove = (BLACKLIST_PATH,UDEV_INTEGRATED_PATH, UDEV_PM_PATH, XORG_PATH, '/etc/X11/xorg.conf.d/90-nvidia.conf',.......................

So, is there any problem in my system or other people are facing this problem too. Hope it will be fixed ASAP.

bayasdev commented 2 years ago

Please manually remove /etc/X11/xorg.conf if exists and all Nvidia related configs inside /etc/X11/xorg.conf.d/, the EXTRA_PATH is just a file that gets created on Nvidia mode if the user choose to enable Composition Pipeline nor Coolbits.

bhaskarkhoraja commented 2 years ago

Please manually remove /etc/X11/xorg.conf if exists and all Nvidia related configs inside /etc/X11/xorg.conf.d/

I have already removed /etc/X11/xorg.conf and there is no configs related to Nvidia in /etc/X11/xorg.conf.d except for some keyboard and touchpad related config.

bayasdev commented 2 years ago

Which distro are you using? as well as your iGPU model

El jue, 19 de may. de 2022 06:56, Bhaskar-Khoraja @.***> escribió:

Please manually remove /etc/X11/xorg.conf if exists and all Nvidia related configs inside /etc/X11/xorg.conf.d/

I have already removed /etc/X11/xorg.conf and there is no configs related to Nvidia in /etc/X11/xorg.conf.d except for some keyboard and touchpad related config.

— Reply to this email directly, view it on GitHub https://github.com/geminis3/envycontrol/issues/42#issuecomment-1131595954, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALY7IYI5FOMLJBJUUX2YY3LVKYUALANCNFSM5WL5CEIA . You are receiving this because you commented.Message ID: @.***>

bhaskarkhoraja commented 2 years ago

I am currently on Arch Linux.

The iGPU is Intel UHD 630.

DaVikingMan commented 2 years ago

When switching to hybrid, try switching off(press 'n') the RTD3 power management when prompted to enter it.

bhaskarkhoraja commented 2 years ago

When switching to hybrid, try switching off(press 'n') the RTD3 power management when prompted to enter it.

Thanks i can now switch between hybrid or integrated without any problem. Dose that mean it don't support RTD3 power management on my system?

DaVikingMan commented 2 years ago

It may be that your gpu doesn't support RTD3 management(since you aren't using a turing-gen gpu)

ajfpay commented 2 years ago

When switching to hybrid, try switching off(press 'n') the RTD3 power management when prompted to enter it.

Thanks i can now switch between hybrid or integrated without any problem. Dose that mean it don't support RTD3 power management on my system?

can I have file /etc/X11/xorg.conf and nvidia config in folder /etc/X11/xorg.conf.d/? Same problem, stuck if switch hybrid mode, try to switching off RTD3 power management not work.

Spec: I7-7700HQ Display: IGPU Intel HD 630 & Nvidia 1060 6GB

Nothing conf xorg.conf on hybrid mode

bayasdev commented 1 year ago

RTD3 requires Turing or newer card as well as a compatible processor.

El mié, 8 de jun. de 2022 07:50, Bhaskar-Khoraja @.***> escribió:

When switching to hybrid, try switching off(press 'n') the RTD3 power management when prompted to enter it.

Thanks i can now switch between hybrid or integrated without any problem. Dose that mean it don't support RTD3 power management on my system?

— Reply to this email directly, view it on GitHub https://github.com/geminis3/envycontrol/issues/42#issuecomment-1149873981, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALY7IYLRFX7IF5A76HZBJTTVOCJK3ANCNFSM5WL5CEIA . You are receiving this because you commented.Message ID: @.***>