prasanthrangan / hyprdots

// Aesthetic, dynamic and minimal dots for Arch hyprland
GNU General Public License v3.0
6.89k stars 823 forks source link

Issues on Manjaro KDE #558

Closed lleonardonascimento closed 7 months ago

lleonardonascimento commented 10 months ago

I installed on manjaro kde, but i have some issues.

1 - Sddm didn't change.

IMG_20231125_151331788

2 - Fonts are too small. I added these lines to ~/.config/hypr/userprefs.conf:

exec = gsettings set org.gnome.desktop.interface font-name 'Cantarell 15' exec = gsettings set org.gnome.desktop.interface document-font-name 'Cantarell 15' exec = gsettings set org.gnome.desktop.interface monospace-font-name 'CaskaydiaCove Nerd Font Mono 13'

but nothing happens. Only fonts for firefox changed.

231125_15h31m30s_screenshot 231125_15h33m38s_screenshot

3 - Waybar GPU Info doesn't show my dedicated gpu. I have AMD RX 480 and intel integrated graphics. It only show information from intel gpu. I tried to run amdgpuinfo.py and gpuinfo.sh and get this result:

❯ python3 amdgpu.py Error: Unknown query failure (an AMDGPU call failed). This query may not be supported for this GPU. ❯ ./gpuinfo.sh ./gpuinfo.sh: line 4: nvidia-smi: Command Not Found jq: parse error: Invalid numeric literal at line 1, column 6 jq: parse error: Invalid numeric literal at line 1, column 6 jq: parse error: Invalid numeric literal at line 1, column 6 jq: parse error: Invalid numeric literal at line 1, column 6 ./gpuinfo.sh: line 23: [: : expected integer expression {"text":"37°C", "tooltip":"Primary GPU: Intel GPU\n❄️ Temperature: 37°C"}

kRHYME7 commented 10 months ago

1 - Sddm didn't change.

Do you mean sddm did not follow the repositories? Configuration?

2 - Fonts are too small. I added these lines to ~/.config/hypr/userprefs.conf:

Hi, have you modified your monitor scaling? How about setting it to 2 inside your ./userprefs monitor = ,preferred,auto,2

Then maybe env = GDK_SCALE,1. for GTK

Waybar GPU Info doesn't show my dedicated gpu. I have AMD RX 480 and intel integrated graphics. It only show information from intel gpu. I tried to run amdgpuinfo.py and gpuinfo.sh and get this result:

I guess for now the script does not support your GPU or lacked something, We are really welcome for contributions.

lleonardonascimento commented 10 months ago

Do you mean sddm did not follow the repositories? Configuration?

Yes. it remains the standard configuration from Manjaro and on /usr/share/sddm/themes/ there's no new directories ( only the ones from Manjaro. ) Is there a way to fix it? ( Follow repositories configuration )

Hi, have you modified your monitor scaling? How about setting it to 2 inside your ./userprefs monitor = ,preferred,auto,2

I made a quick test and set it to monitor = ,preferred,auto,1.3 and became a little better but not solve the problem completely. Some applications not scale evenly.

Then maybe env = GDK_SCALE,1. for GTK

I'll try this and post feedback.

I guess for now the script does not support your GPU or lacked something, We are really welcome for contributions.

T-Crypt commented 10 months ago

@lleonardonascimento

Can you check that the kde-settings.conf got added to /etc/sddm.conf.d?

The GPU error is related to the fact that is not a supported GPU for the queries. I can look into updating the script to see if I can add support for ATI AMD cards but right now it has limited functions on the older ATI integrated cards.

katsuja commented 10 months ago

@lleonardonascimento

Can you check that the kde-settings.conf got added to /etc/sddm.conf.d?

The GPU error is related to the fact that is not a supported GPU for the queries. I can look into updating the script to see if I can add support for ATI AMD cards but right now it has limited functions on the older ATI integrated cards.

As already mentioned in another post, I also have the same problem of reading the temperature of the AMD Sapphire RX580 Nitro+ GPU. It doesn't seem that old of a GPU to me. Two or three ornaments back today it worked because you had solved the problem. I was a guinea pig, I don't know if you remember :)

T-Crypt commented 10 months ago

@katsuja @lleonardonascimento

Can you guys try adding this script to maybe the downloads folder or anywhere on the local system and running this and showing me what error you get? I have added more error handling so I can figure out what the issue is. The AMDGPU python package may have had an update and I didn't catch the changes.

amdtest.zip

lleonardonascimento commented 10 months ago

@katsuja @lleonardonascimento

Can you guys try adding this script to maybe the downloads folder or anywhere on the local system and running this and showing me what error you get? I have added more error handling so I can figure out what the issue is. The AMDGPU python package may have had an update and I didn't catch the changes.

amdtest.zip

I've got this:

python amdtest.py Error: Unknown query failure (an AMDGPU call failed). This query may not be supported for this GPU.

lleonardonascimento commented 10 months ago

@lleonardonascimento

Can you check that the kde-settings.conf got added to /etc/sddm.conf.d?

The GPU error is related to the fact that is not a supported GPU for the queries. I can look into updating the script to see if I can add support for ATI AMD cards but right now it has limited functions on the older ATI integrated cards.

It was added. 231127_17h01m02s_screenshot

I made i mistake when i said there's no directory in /usr/share/sddm/themes/. The directory is there and i was able to fix sddm by editing the file /etc/sddm.conf but there's a problem. When i'm typing my password i can see for a brief moment the characters. This doesn't happen when i use breeze sddm theme. IMG_20231127_164540518

And i have other issues: Scaling the resolution to monitor = ,preferred,auto,1.3 increased font size but some apps got pixelated fonts( VScode for example) . To solve this i added xwayland { force_zero_scaling = true } to hyprland.conf but Stremio ( Flatpak app ) doesn't open ( It opens and closes immediately ). If i set resolution to monitor = ,preferred,auto,1 it opens normally. Network icon ( System Tray ) doesn't scale. You could see in the first image i attached. And To increase terminal font size i had to edit ~/.config/kitty/kitty.conf

katsuja commented 10 months ago

@katsuja @lleonardonascimento

Can you guys try adding this script to maybe the downloads folder or anywhere on the local system and running this and showing me what error you get? I have added more error handling so I can figure out what the issue is. The AMDGPU python package may have had an update and I didn't catch the changes.

amdtest.zip

231127_23h38m58s_screenshot

231127_23h40m17s_screenshot

lleonardonascimento commented 10 months ago

@T-Crypt

The problem seems to be query_power() method. I did some testing and when i ran this method i got an error. The other methods seems to work. 231127_21h10m17s_screenshot

I got an error on query_northbridge_voltage() too.

T-Crypt commented 10 months ago

@lleonardonascimento

Thank you for the update!

I may just make the AMD script to exclude power and just have 3 instances of data rather than query the power of the cards.

This makes sense as the Integrated cards rely on the CPU / block power and not a dedicated power source like a dGPU.

kRHYME7 commented 7 months ago

Hello, The gpuinfo script has been updated recently. Feel free to reopen this/another issue. Added this to good first issue For reference on Manjaro KDE. Thanks!