marcolaux / asus-g14-fedora

Make things work with the ASUS Zephyrus G14 2020 on Fedora 35 including GPU Switching and automatic power management. Such wow!
37 stars 5 forks source link

Graphics mode not initialized #9

Closed Mundo-Dev0ps closed 3 years ago

Mundo-Dev0ps commented 3 years ago

Hello Everyone,

I have a issue with nvidia profile, i cant selected image

asusctl graphics -m nvidia

image

image image

Installed image

Kernel: image

Grup: image

Can anyone help me? Regards

marcolaux commented 3 years ago

the message basically implies that the dbus method of asusd for graphics switching is not available.

can you try to use this version? https://gitlab.com/asus-linux/asusctl-gex/-/tree/1.0.0-rc2

first remove the extension in /usr/share/gnome-shell/extensions/ clone the repo above run make and make install (not with sudo), restart the shell and try again

I'll update the extension asap.

marcolaux commented 3 years ago

things to check as well:

Mundo-Dev0ps commented 3 years ago

Hello @hyphone ,

Ty for reply

I execute the steps image image

After logout but not working

and

asusctl graphics -g

image

uhmm i think this is problem with nvidia controller image

Mundo-Dev0ps commented 3 years ago

After reboot

i saw 1 more controler image

Logs image

marcolaux commented 3 years ago

kmod gets created by the nvidia driver. that's what the "akmod" package is for. it compiles the nvidia driver everytime a new kernel gets installed.

you tried to remove the system extension without sudo. please try again with superuser privileges.

did you also logout after you did the gfx switch? when it's written logout, you have to logout.

so the problem in the extension describes that it can't connect to the dbus interface of asusd.

let's then have a look if the graphics switching works in general and forget about the gnome shell extension for a moment:

asusctl graphics -g what does this output?

switch to another mode: asuctl graphics -m nvidia (or use something else if you are already on nvidia mode) after logout and logoin again what does asusctl graphics -g now say?

if it is nvidia and this command prints that the nvidia module is loaded, it should work: lsmod | grep nvidia

marcolaux commented 3 years ago

if the gfx switching in general does not work for you I suggest you join the discord channel: https://discord.gg/ngbdKabAnP

and / or post an issue here: https://gitlab.com/asus-linux/asusctl