fastfetch-cli / fastfetch

An actively maintained, feature-rich and performance oriented, neofetch like system information tool.
MIT License
8.43k stars 350 forks source link

No logo when running fastfetch in zshrc file #516

Closed HallwayRaptor closed 11 months ago

HallwayRaptor commented 11 months ago

General description of bug: When I put "fastfetch" in my zshrc file the logo doesn't appear but the text does. If I manually run the fastfetch command the logo is there. The same behavior happens with flashfetch. There is also no logo if I run exec zsh.

Often helpful information:

Output of fastfetch --version:

fastfetch 1.12.2 (x86_64)

The content of the configuration file you use (if any)

--logo arch_small
--structure os:kernel:wm:terminal:cpu:gpu:memory
(though I tried several logos with the same result)

Output of env NO_CONFIG=1 fastfetch --load-config all --show-errors --stat --multithreading false --disable-linewrap false --hide-cursor false:

                  -`                     raptor@archlinux                                                                                                                                                 0ms
                 .o+`                    ----------------                                                                                                                                                 0ms
                `ooo/                    OS: Arch Linux x86_64                                                                                                                                            0ms
               `+oooo:                   Host: MS-7D54 (1.0)                                                                                                                                              0ms
              `+oooooo:                  Bios: 5.17                                                                                                                                                       0ms
              -+oooooo+:                 Board: MAG X570S TOMAHAWK MAX WIFI (MS-7D54)                                                                                                                     0ms
            `/:-:++oooo+:                Chassis: 3 (1.0)                                                                                                                                                 0ms
           `/++++/+++++++:               Kernel: 6.4.9-arch1-1                                                                                                                                            0ms
          `/++++++++++++++:              Uptime: 23 mins                                                                                                                                                  0ms
         `/+++ooooooooooooo/`            Processes: 728                                                                                                                                                   0ms
        ./ooosssso++osssssso+`           Packages: 562 (pacman)                                                                                                                                           0ms
       .oossssso-````/ossssss+`          Shell: zsh 5.8                                                                                                                                                  54ms
      -osssssso.      :ssssssso.         Display (external): 1080x1920 @ 60Hz
     :osssssss/        osssso+++.        Display (external): 1920x1080 @ 144Hz                                                                                                                            2ms
    /ossssssss/        +ssssooo/-        Brightness: No result is detected.                                                                                                                               0ms
  `/ossssso+/:-        -:/+osssso+-      DE: No DE found                                                                                                                                                  0ms
 `+sso+:-`                 `.-/+oso:     WM: Hyprland (Wayland)                                                                                                                                           0ms
`++:.                           `-/+/    WM Theme: Unknown WM: Hyprland                                                                                                                                   0ms
.`                                 `/    Theme: No themes found                                                                                                                                           0ms
                                         Icons: No icons could be found                                                                                                                                   0ms
                                         Font: No fonts found                                                                                                                                             0ms
                                         Cursor: Adwaita                                                                                                                                                  0ms
                                         Wallpaper: Failed to detect the current wallpaper path                                                                                                           0ms
                                         Terminal: kitty 0.29.2                                                                                                                                           0ms
                                         Terminal Font: MesloLGS NF (11pt)                                                                                                                                0ms
                                         CPU: AMD Ryzen 5 5600 (12) @ 4.467285 GHz                                                                                                                        0ms
                                         CPU Usage: 8%                                                                                                                                                    0ms
                                         GPU: AMD Radeon RX 6750 XT                                                                                                                                       7ms
                                         Memory: 1.75 GiB / 31.27 GiB (5%)                                                                                                                                0ms
                                         Swap: 0 B / 4.00 GiB (0%)                                                                                                                                        0ms
                                         Disk (/): 61.35 GiB / 457 GiB (13%)                                                                                                                              0ms
                                         Battery: batteryDir doesn't contain any battery folder                                                                                                           0ms
                                         Power Adapter: Not supported on this platform                                                                                                                    0ms
                                         Media Player: No media found                                                                                                                                     1ms
                                         Media: No media found                                                                                                                                            0ms
                                         Public IP: XXX.XXX.XXX.XXX                                                                                                                                     116ms
                                         Local IP (enp38s0): 192.168.2.218                                                                                                                                1ms
                                         Wifi: Disconnected                                                                                                                                               8ms
                                         Date & Time: 2023-08-11 01:30:36                                                                                                                                 0ms
                                         Locale: en_US.UTF-8                                                                                                                                              0ms
                                         Vulkan: 1.3.246 - radv [Mesa 23.1.5]                                                                                                                            21ms
                                         OpenGL: 4.6 (Compatibility Profile) Mesa 23.1.5                                                                                                                 93ms
                                         OpenCL: clGetPlatformIDs returned 0 platforms                                                                                                                    0ms
                                         Users: raptor                                                                                                                                                    0ms
                                         Bluetooth: Failed to call GetManagedObjects                                                                                                                      0ms
                                         Sound: AudioBox USB Analog Stereo (39%)                                                                                                                          5ms
                                         Gamepad: No devices detected                                                                                                                                     0ms
                                         Weather: Failed to receive the server response                                                                                                               30325ms
                                                                                                                                                                                                          0ms
                                         ████████████████████████
                                         ████████████████████████        

Output of fastfetch --list-features:

threads
libpci
vulkan
wayland
xcb-randr
xcb
xrandr
x11
gio
dconf
dbus
imagemagick7
chafa
zlib
xfconf
egl
glx
osmesa
opencl
libpulse
libnm

If my image logo didn't show / work

CarterLi commented 11 months ago

Seems to be a duplicate of #485

Try --pipe false

CarterLi commented 11 months ago

Documented:

https://github.com/fastfetch-cli/fastfetch/blob/5a4de8b428d6cf9501075a80b78517e44f8f9b32/.github/ISSUE_TEMPLATE/bug_report.md?plain=1#L78-L81

HallwayRaptor commented 11 months ago

I didn't notice the --pipe default had been changed. In any case, following the p10k documentation and moving fastfetch before initializing p10k solved the problem. Thanks for documenting it.