Skip to main content
Topic: Screen rainbowed and audio off sometimes when booting (Read 998 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Screen rainbowed and audio off sometimes when booting

So recently sometimes when i boot my display login promprt is going to the right side a bit and the whole screen is kind of RGB-line-rainbowed, along with the sound going off. The display issue can be solved by me killing bspwm, my window manager, and the sound issue (no sound cards detected basicaly) is solved by modprobing off and on snd_hda_intel.
Im giving you some xorg logs.
The 800-sec logs are probably when i remodprobebd my sound card drivers. Ive run paccheck integridy sum checks, reinstalled `linux`, but dont know what is wrong here.
Im on s6, if that matters.

Re: Screen rainbowed and audio off sometimes when booting

Reply #1
Can you try using another kernel, like linux-lts or linux-zen?


Re: Screen rainbowed and audio off sometimes when booting

Reply #3
Can you try using another kernel, like linux-lts or linux-zen?
Oh yeah, linux-lts works 100% fine.
Its every time i boot now, or it is okay only when i reboot.

Re: Screen rainbowed and audio off sometimes when booting

Reply #4
So now because ive booted a lot of times in a period or something the display isnt garbled, but the audio is off by default.
lsmod paste
lsusb paste
lspci -v paste
dmesg paste
And aplay -l:
Code: [Select]
aplay: device_list:274: no soundcards found...
unless i remodprobe the snd_hda_intel mentioned above


Re: Screen rainbowed and audio off sometimes when booting

Reply #6
use you pulseaudio for audio?
please try older driver for nvidia

you have 2 graphic cards (Intel graphics + Nvidia) . are you sure, that you have it properly set up?

https://wiki.archlinux.org/index.php/PRIME or https://wiki.archlinux.org/index.php/NVIDIA_Optimus
I use pulseaudio, doesnt matter the problem is that linux isnt detecting the sound card.
xorg.conf:
Code: [Select]
# nvidia-xconfig: X configuration file generated by nvidia-xconfig 
# nvidia-xconfig:  version 450.66
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection
Section "Monitor"
    Identifier     "Monitor0"
#    DisplaySize    340 190
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection
Section "Device"
    Identifier     "Device0"
    Driver         "intel"
    Option         "TearFree" "true"
    VendorName     "Intel Corporation"
    BusID          "PCI:0:2:0"
EndSection
Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:1:0:0"
EndSection
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
wasnt really all that autogenerated, doesnt matter.
The intel gpu is in use, always, except when i do `prime-run` (command, puts some envargs in the shell to make the program use the nvidia gpu), otherwise, the intel gpu is used.

Re: Screen rainbowed and audio off sometimes when booting

Reply #7
Quote
[    0.000000] Linux version 5.9.10-artix1-1 (linux@artixlinux) (gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #1 SMP PREEMPT Sun, 22 Nov 2020 17:02:30 +0000
please upgrade to another kernel than 5.9.10 - as i wrote more times before! i am 99% sure kernel 5.9.10 do this. 5.9.12 is in testing or stay at lts kernel

 

Re: Screen rainbowed and audio off sometimes when booting

Reply #8
Linux stl 5.10.16-1-lts #1 SMP Sun, 14 Feb 2021 17:46:24 +0000 x86_64 GNU/Linux
Audio issue happened again on reboot