You are not logged in.

#26 2022-09-25 16:53:32

joeleonard212
Member
Registered: 2022-09-21
Posts: 21

Re: Arch freezes, screen turns off (when a GIF is rendered in localhost?)

seth wrote:

Please don't embed huge images (250x250 max) - you can use the re-enbale button and certainly look at https://wiki.archlinux.org/title/Core_d … _core_dump
Both: whether kwin frequently crashes (what might explain the symptoms) and what exactly.

You're currently running X11 on the AMD gpu and the modesetting driver - you may also give https://archlinux.org/packages/extra/x8 … eo-amdgpu/ a try.


It just happened again and the compositor was off.

So I guess the problem is in the gpu driver itself, not in the conflict with the compositor...right guess ?

Offline

#27 2022-09-25 20:08:23

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: Arch freezes, screen turns off (when a GIF is rendered in localhost?)

Yes.
Did you try the parameters in #9 and/or https://archlinux.org/packages/extra/x8 … eo-amdgpu/ ?

Offline

#28 2022-09-25 20:50:49

joeleonard212
Member
Registered: 2022-09-21
Posts: 21

Re: Arch freezes, screen turns off (when a GIF is rendered in localhost?)

seth wrote:

Yes.
Did you try the parameters in #9 and/or https://archlinux.org/packages/extra/x8 … eo-amdgpu/ ?

Sorry I missed the #9 parameters and I didnt tried the amdgpu driver you linked yet. I wanted to check if just turning off the compositor the problem would've solved but it's clearly not.

I'm gonna try the parameters first. What do they do ?

Offline

#29 2022-09-25 21:00:56

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: Arch freezes, screen turns off (when a GIF is rendered in localhost?)

Disable power management. amdgpu.dpm=0 might cause the boot to fail, which is why you should add those at the bootloader prompt (or otherwise you might have to remove them at the bootloader prompt…)

Offline

#30 2022-09-25 21:07:29

joeleonard212
Member
Registered: 2022-09-21
Posts: 21

Re: Arch freezes, screen turns off (when a GIF is rendered in localhost?)

seth wrote:

Disable power management. amdgpu.dpm=0 might cause the boot to fail, which is why you should add those at the bootloader prompt (or otherwise you might have to remove them at the bootloader prompt…)

Before any change my parameters are

❯ cat /proc/cmdline
ibt=off pm_debug_messages amd_pmc.enable_stb=1 amd_pmc.dyndbg="+p" acpi.dyndbg="file drivers/acpi/x86/s2idle.c +p" BOOT_IMAGE=/boot/vmlinuz-linux-g14 root=UUID=55b29214-9334-40da-a0a5-c08c95acd741 rw loglevel=3 quiet apparmor=1 security=apparmor pci=realloc


Do you think any of these could be problematic ?


NB: I picked this kernel following this guide https://asus-linux.org/wiki/arch-guide/

Last edited by joeleonard212 (2022-09-25 21:09:49)

Offline

#31 2022-09-25 21:23:10

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: Arch freezes, screen turns off (when a GIF is rendered in localhost?)

Maybe the debug options and oc. you should test the regular kernel.

Offline

#32 2022-09-25 21:27:59

joeleonard212
Member
Registered: 2022-09-21
Posts: 21

Re: Arch freezes, screen turns off (when a GIF is rendered in localhost?)

seth wrote:

Maybe the debug options and oc. you should test the regular kernel.

But I did before installing this and I was facing problems with the features of this laptop. Wifi was missing, keyboard lights, ecc. Sincerly I don't remember everything but I picked g14 as suggested cause this was working better excepet I have to sacrifice just the bluetooth right now.

I'm gonna try your parameters

Offline

#33 2022-09-25 21:39:42

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: Arch freezes, screen turns off (when a GIF is rendered in localhost?)

You still would want to know whether those freezes are specific to the g14 kernel (what would not make it easier to deal w/ them but at least prevent us from chasing gooses)

Offline

#34 2022-09-25 21:51:30

joeleonard212
Member
Registered: 2022-09-21
Posts: 21

Re: Arch freezes, screen turns off (when a GIF is rendered in localhost?)

seth wrote:

You still would want to know whether those freezes are specific to the g14 kernel (what would not make it easier to deal w/ them but at least prevent us from chasing gooses)

True but the problem is I didnt identify the exact trigger. Sometimes it happens when I visualize several gifs at once, sometimes while I'm just coding in the terminal.

I can do several tries, changing parameters and/or kernel, and then trying to visualize as much stupid gifs at once in the browser as I can hoping to isolate the cause. Thanks for your help, I'll send an update asap.

Offline

#35 2022-09-27 21:12:20

joeleonard212
Member
Registered: 2022-09-21
Posts: 21

Re: Arch freezes, screen turns off (when a GIF is rendered in localhost?)

Hei seth, I modified the grub file and lunched mkconfig with your parameters. As a result grub is not working anymore, each time I turn on the machine I get straight into the bios and it not able to load the grub menu. I'm lunching through ARCH usb to revert the grub file....



EDIT: omg.....I reverted the grub file, I runned the mkconfig command but it still doesnt work...whats goin on...please don't tell me I have to reinstall everything

Last edited by joeleonard212 (2022-09-27 21:33:46)

Offline

#36 2022-09-27 21:39:15

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: Arch freezes, screen turns off (when a GIF is rendered in localhost?)

If you broke the grub.cfg you might get dropped into the grub commandline shell, but "I get straight into the BIOS" sounds more like you also called (and failed) grub-install?
Maybe you're facing https://archlinux.org/news/grub-bootloa … ibilities/

The amdgpu.dpm parameter would only affect booting the kernel - nothing up to and including grub.

btw seth wrote:

you should add those at the bootloader prompt

Offline

#37 2022-09-27 21:46:56

joeleonard212
Member
Registered: 2022-09-21
Posts: 21

Re: Arch freezes, screen turns off (when a GIF is rendered in localhost?)

seth wrote:
btw seth wrote:

you should add those at the bootloader prompt

I chose to change the file as suggested in the arch wiki rather than do that with 'e' and 'ctlr-x' each time I reboot. Bad move.

BTW I'm watching again the video I used to install arch, it suggested to mkconfig into the uefi partition, maybe calling the mkconfig within the wrong partition makes grub to not find the config file now ? Doing some tries to re-mkconfig the grub file inside the correct parititon cause it goes inbto the bios since it cant run the ufi (this is a dual with windows too)

Last edited by joeleonard212 (2022-09-27 21:47:29)

Offline

#38 2022-09-27 22:21:47

joeleonard212
Member
Registered: 2022-09-21
Posts: 21

Re: Arch freezes, screen turns off (when a GIF is rendered in localhost?)

It just mount the uefi partition before to rn mkconfig so that the grub can recognize windows as well. The config file is obv within the boot/grub/grub.cfg as usual.

Question, before I runned the command, I check what was withing the .cfg and it was empty. Or maybe I couldnot read it with nvim ? But I at least expect to see some strange characters within it.

Trying to run grub-instal ... as you suggested but I'm strugging with this https://askubuntu.com/questions/235362/ … ev-mounted

Offline

#39 2022-09-27 22:37:53

joeleonard212
Member
Registered: 2022-09-21
Posts: 21

Re: Arch freezes, screen turns off (when a GIF is rendered in localhost?)

Ok I fixed the grub but now it can't find Windows...it's a secondary problem right now, at least I'm inside Arch again. I'll figure out later out to let it find windows again


going back to our main topic: why those parameters made the grub to fail ? I'm going to test them from within the bootloader but I guess somtething wasnt ok with them



EDIT: just tested them through the bootloader and as expected the system didnt start at all. So the problem with the grub file were the parameters

Last edited by joeleonard212 (2022-09-27 23:08:11)

Offline

#40 2022-10-08 14:07:07

joeleonard212
Member
Registered: 2022-09-21
Posts: 21

Re: Arch freezes, screen turns off (when a GIF is rendered in localhost?)

Hello @seth, thanks for you help.

Looks like I forgot to install a module called nvidia-dkms as explained in https://asus-linux.org/wiki/arch-guide/

i was pretty sure I already had it but I was wrong. After the installation, the issue didn't came up again. Solved

Offline

Board footer

Powered by FluxBB