end-4 / dots-hyprland

i hate minimalism so...
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.83k stars 266 forks source link

Brown background and no panels #780

Closed thememika closed 2 weeks ago

thememika commented 2 weeks ago

Hi! My linux system is built by myself from sources, it's based around glibc. It is compatible to the standards we find in usual distros.

The previews of your Desktop look incredible. I wanted to try this as the first desktop environment on my system. I have built and satisfied all 76 dependencies from scriptdata/previous_dependencies.conf, and all their sub-deps. I used mostly original upstream repositories. In every meson/cmake/configure/etc, I tried to satisfy as many optional features as possible - to be sure that things will work. It took few whole days to satisfy the dependencies, so I'm sad that the desktop doesn't work.
I don't have system D, but I have elogind, pam, polkit, dbus, and all of these common things. (I have libsystemd.so.0 as a symlink to libelogind. It's a usual practice in distros w/o systemD.)

All the dependencies compiled without any errors! I had to adjust many things in my system, though. But it all built finally.

Then I went to scriptdata/installers. I satisfied AGS with checkout to 05e0f23534fa30c1db2a142664ee8f71e38db260, satisfied icons/fonts "Rubik", "Gabarito", "OneUI", "Bibata", then micro TeX to path. TeX works.

Finally after 4 days ,I put .config and .local to the home folder of unprivileged user, I run hypr land.

"Hyprland" started successfully on DRM device of nouveau. I see a mouse cursor which looks like Hyprland icon. Input configured automatically with udev, it works. Many unneeded (for me) daemons start successfully: wpa_supplicant; upowerd; udisks2; geoclue; and even more. I plan to disable them later.

Yet the main thing, there is nothing displayed on the screen, just brown background and mouse cursor.

This is how it looks: IMG_20240830_212348 I press Win + T, and "foot" terminal opens! The 'fish' shell and the font looks beautiful! IMG_20240830_212840 I think that the upper freespace above the terminal was intended for the AGS panel which did not start.
I restart "AGS" as it is advised in your troubleshoot instruction Untitled66 The user name is censored, see full log under Logs below. The error is not clear to me. Instructions were followed. Packages are satisfied. So I'm writing this issue.

I'm new to Wayland, hyprland and all the modern fancy things around these. My previous desktop was Xorg+twm for years. I know the kernel interfaces and internals (and used them with C), traditional daemons, also architecture internals; but still can't get used to Wayland-based desktop environments.

The modern shell and fonts are very nice. I'm excited to experience the whole desktop, hope I can - with your help. Thanks in advance! You can request more information if it is needed. Sorry if something is put incorrectly in the Issue template.

Logs ```plain Gjs-Console-Message: 23:06:29.080: [LOG] Styles loaded (com.github.Aylur.ags:23982): Gjs-Console-WARNING **: 23:06:29.352: Error: can't assign "chromium-browser" as icon, it is not a file nor a named icon set icon@resource:///com/github/Aylur/ags/widgets/icon.js:45:30 _handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13 Icon@resource:///com/github/Aylur/ags/widgets/icon.js:25:14 newIcon@resource:///com/github/Aylur/ags/widgets/icon.js:8:12 ElementTile@file:///home/REPLACED/.config/ags/modules/cheatsheet/periodictable.js:26:32 default/mainBoard<.children
thememika commented 2 weeks ago

Additional information about system

[****@***** at 23:25 ~]$ sudo inxi -Fxxxrz
System:
  Kernel: 6.10.0-rc6-******-rt+ arch: x86_64 bits: 64 compiler: gcc v: 14.1.0
    clocksource: hpet
  Console: pty pts/1 LM: elogind Distro: Lime********
Machine:
  Type: Desktop Mobo: N/A model: X79G serial: N/A
    UEFI: American Megatrends v: 4.6.5 date: 08/02/2022
CPU:
  Info: 10-core model: Intel Xeon E5-2670 v2 bits: 64 type: MT MCP smt: enabled
    arch: Ivy Bridge rev: 4 cache: L1: 640 KiB L2: 2.5 MiB L3: 25 MiB
  Speed (MHz): avg: 2554 high: 3300 min/max: 1200/3300 volts: 0.0 V ext-clock: 100 MHz
    cores: 1: 1631 2: 1838 3: 3300 4: 3300 5: 3300 6: 1200 7: 2854 8: 1692 9: 1272 10: 1900
    11: 3300 12: 3300 13: 3300 14: 1200 15: 3300 16: 1200 17: 3300 18: 3300 19: 3300 20: 3300
    bogomips: 100000
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GK208B [GeForce GT 730] vendor: Gigabyte driver: nouveau v: kernel
    arch: Kepler pcie: speed: 8 GT/s lanes: 8 ports: active: DVI-I-1 empty: HDMI-A-1
    bus-ID: 03:00.0 chip-ID: 10de:1287 class-ID: 0300 temp: 43.0 C
  Display: server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.1 driver: X: loaded: nouveau
    dri: nouveau gpu: nouveau tty: 96x59
  Monitor-1: DVI-I-1 model: Philips 227E4Q serial: <filter> res: 1920x1080 dpi: 102
    size: 477x268mm (18.78x10.55") diag: 547mm (21.5") modes: max: 1920x1080 min: 720x400
  API: OpenGL Message: GL data unavailable in console for root.
  API: EGL Message: EGL data unavailable in console, eglinfo missing.
Audio:
  Device-1: Intel C600/X79 series High Definition Audio driver: snd_hda_intel v: kernel
    bus-ID: 00:1b.0 chip-ID: 8086:1d20 class-ID: 0403
  Device-2: NVIDIA GK208 HDMI/DP Audio vendor: Gigabyte driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 8 bus-ID: 03:00.1 chip-ID: 10de:0e0f class-ID: 0403
  API: ALSA v: k6.10.0-rc6-*****-rt+ status: kernel-api
  Server-1: PipeWire v: 1.2.2 status: off with: 1: pipewire-pulse status: off 2: wireplumber
    status: off 3: pw-jack type: plugin
  Server-2: PulseAudio v: 17.0 status: active (root, process)
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet driver: r8169
    v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 0d:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: sfp1 state: up speed: 100 Mbps duplex: half mac: <filter>
  Device-2: Realtek USB 10/100 LAN driver: r8152 type: USB rev: 2.1 speed: 480 Mb/s lanes: 1
    bus-ID: 2-1.4:6 chip-ID: 0bda:8152 class-ID: 0000 serial: <filter>
  IF: enp0s26u1u4 state: down mac: <filter>
Drives:
  Local Storage: total: 2.06 TiB lvm-free: 108 MiB used: 1.22 TiB (59.4%)
  ID-1: /dev/nvme0n1 vendor: AGI model: ********** size: 476.94 GiB speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: temp: 44.9 C
  ID-2: /dev/sda vendor: **** model: **** size: 465.76 GiB speed: 3.0 Gb/s
    tech: HDD rpm: 5900 serial: <filter>
  ID-3: /dev/sdb vendor: *****: 465.76 GiB speed: 3.0 Gb/s tech: HDD
    rpm: 7200 serial: <filter> fw-rev: A8R0
  ID-4: /dev/sdc vendor: Toshiba model: ****** size: 465.76 GiB speed: 3.0 Gb/s tech: HDD
    rpm: 7200 serial: <filter> fw-rev: A8J0 scheme: GPT
  ID-5: /dev/sdd vendor: A********0 size: 223.57 GiB speed: 3.0 Gb/s tech: SSD
    serial: <filter> scheme: GPT
  ID-6: /dev/sde model: Mass Storage Device size: 1.83 GiB type: USB rev: 2.0 spd: 480 Mb/s
    lanes: 1 tech: N/A serial: <filter> scheme: MBR
  ID-7: /dev/sdf vendor:**** size: 7.55 GiB type: USB rev: 2.0
    spd: 480 Mb/s lanes: 1 tech: SSD serial: <filter>  scheme: MBR
  ID-8: /dev/sdg vendor: **** type: USB rev: 2.0
    spd: 480 Mb/s lanes: 1 tech: SSD serial: <filter> fw-rev: 8.07 scheme: GPT
Partition:
  ID-1: / size: 327.09 GiB used: 297.46 GiB (90.9%) fs: bcachefs dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 39 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sdd5
Sensors:
  System Temperatures: cpu: 35.0 C mobo: N/A gpu: nouveau temp: 43.0 C
  Fan Speeds (rpm): N/A gpu: nouveau fan: 2070
Repos:
  Packages: pm: flatpak pkgs: 5
  Alert: No repo data detected. Does inxi support your package manager?
Info:
  Memory: total: 64 GiB available: 62.6 GiB used: 15.02 GiB (24.0%)
  Processes: 610 Power: uptime: 1d 8h 35m states: freeze,mem,disk suspend: s2idle wakeups: 0
    hibernate: platform Init: SysVinit v: 3.09 runlevel: 4 default: 3
  Compilers: clang: 18.1.7 gcc: 14.1.0 Shell: Sudo (sudo) v: 1.9.15p5 default: Bash
    v: 5.2.25 running-in: pty pts/1 (SSH) inxi: 3.3.34

(Information or names which I consider too personal or unrelated are censored)

end-4 commented 2 weeks ago

I greatly appreciate that you properly include details in your question (even a bit too much - inxi result is overkill) Just a guess, but maybe install an icon pack? If you already have, try also installing Hicolor and Adwaita

thememika commented 2 weeks ago

@end-4 thanks, where can I see all the required icon packs to satisfy?

# ls /usr/share/icons
Bibata-Modern-Classic  OneUI-dark  hicolor  gnome-logo-text-dark.svg
OneUI-light            OneUI       oxygen   gnome-logo-text.svg
#

Important question: was it required to install them in /usr/local, is this path hardcoded anywhere in config? I used the /usr prefix to keep track of them in my database as packages.

end-4 commented 2 weeks ago

where can I see all the required icon packs to satisfy?

it's actually up to you. i have the installation install OneUI icons because I like it, but Adwaita is a good fallback to have. That's it

Was it required to install them in /usr/local

Nope, /usr also works

thememika commented 2 weeks ago

@end-4 if it's up to me, and I already have 6 icon packs, why it doesn't work?..

end-4 commented 2 weeks ago

okay, so there's this part of the logs that blended in with the icon warnings that i didn't notice:

(com.github.Aylur.ags:23982): Gjs-CRITICAL **: 23:06:30.193: JS ERROR: TypeError: this._device is undefined
get access_points@resource:///com/github/Aylur/ags/service/network.js:135:9
updateNetworks@file:///home/REPLACED/.config/ags/modules/sideright/centermodules/wifinetworks.js:171:50
hook/<@resource:///com/github/Aylur/ags/widgets/widget.js:43:25
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

it's the wifi selector on the right sidebar. i'm not sure what this._device is but it's probably AGS' internals. the part of my code that triggered this only attempts to get a list of wifi networks (const accessPoints = Network.wifi?.access_points || [];)

thememika commented 2 weeks ago

@end-4 I see. I replaced it with [] right away. The "critical" message is gone. Still there's nothing.

end-4 commented 2 weeks ago

does the log say something else after that change?

thememika commented 2 weeks ago

@end-4 no, only the same warnings about icons. I will now post what happens when I try to use Win + / and Ctrl + Win + T.

thememika commented 2 weeks ago

Ctrl + Win + T IMG_20240831_121640 Plus workspace switching stops working. Nothing is shown in ags.

Win + / Nothing happens, no log in ags

thememika commented 2 weeks ago
(in fish)$ gnome-control-center
Running gnome-control-center is only supported under GNOME and Unity, exiting
(in fish)$

Is this normal? I thought this desktop uses some gnome parts

thememika commented 2 weeks ago

Sorry, the issue was not in your dotfiles or Hyprland! At first I did not pay attention to these messages on the serial (I thought they are unrelated to the problem):

[181088.629360] [T32754] nouveau 0000:03:00.0: gr: TRAP ch 3 [007fba0000 hyprland[559]]         
[181088.629363] [T32754] nouveau 0000:03:00.0: gr: SHADER a2040a0e, sph: 0x040a0e, stage: 0x22  
[181088.646035] [T32754] nouveau 0000:03:00.0: gr: TRAP ch 3 [007fba0000 hyprland[559]]         
[181088.646038] [T32754] nouveau 0000:03:00.0: gr: SHADER a2040a0e, sph: 0x040a0e, stage: 0x22  
[181088.662705] [T32754] nouveau 0000:03:00.0: gr: TRAP ch 3 [007fba0000 hyprland[559]]


Likely my GPU is too low spec for running Hyprland (or this specific setup), it surprisingly was the source of all problems.

I'm now using vkms virtual DRM instead, and connect from another device.
This looks great! Thanks! Screenshot_20240831-184105_RVNC Viewer

But I have different issue now. If I do Ctrl + Win + T to complete the setup, it asks me to set wall paper.
When I select a .PNG file for wallpaper, it breaks the setup, showing this: (I have to delete + re-copy .config) Untitled67_20240831190533

It says:

colors.conf at line 9: rgba() expects length of 8 characters (4 bytes) or four comma-separated values.

This is in color.conf, line 9 and near ones; at the moment of error:

    general {
       col.active_border = rgba({{ $onSurface }}39)
       col.inactive_border = rgba({{ $outline }}30)
    } 

    misc {
9 ->    background_color = rgba({{ $surface }}FF)
    }

Is this some known error, I'm doing something wrong? For example the image has to be a specific format? Thanks!

thememika commented 2 weeks ago

@end-4 https://github.com/end-4/dots-hyprland/issues/761 describes a similar problem but in my case, "picking the wallpaper again" doesn't fix anything. No matter how many times I pick the wallpaper.

end-4 commented 2 weeks ago

run ~/.config/ags/scripts/color_generation/switchwall.sh and show me the logs

thememika commented 2 weeks ago

Sorry for a late reply. I fixed things, thanks to the advice above.
I ran that script from shell, and saw that I was missing programs. These were not in the dependency list. If you could, it will be very helpful for others if you add them to the list:

Thanks for helping out, @end-4