You are not logged in.

#1 2024-04-18 03:53:38

NeonWyvern24
Member
Registered: 2024-04-17
Posts: 9

[Solved] Black Screen w/ Cursor on laptop wake up

I occasionally get a black screen when I go to wake up my laptop after a minute of inactivity. I'm not sure whats causing this problem exactly. I'm new to Arch and am not fully knowledgeable with the command line.
I am running Arch with KDE Plasma as my desktop.

Last edited by NeonWyvern24 (2024-04-18 18:36:56)

Offline

#2 2024-04-18 08:41:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: [Solved] Black Screen w/ Cursor on laptop wake up

DPMS?
Plasma on wayland (now the default) or X11 and does it make a difference?
Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#3 2024-04-18 10:56:53

NeonWyvern24
Member
Registered: 2024-04-17
Posts: 9

Re: [Solved] Black Screen w/ Cursor on laptop wake up

I've switched to X11 to hopefully perform better with my nVidia graphics
The device also appears to crash occasionally while performing the same actions.
I ran the command and only recieved:
http://0x0.st/Xom1.txt
I'm not sure what to do with this.

Edit: I just realized what that did hmm

Last edited by NeonWyvern24 (2024-04-18 10:58:17)

Offline

#4 2024-04-18 13:07:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: [Solved] Black Screen w/ Cursor on laptop wake up

The boot ran only for ~2 minutes, does it cover such incident?
You've a hybrid graphics system (amdgpu+nvidia) and

Apr 18 06:52:20 LOQ-15APH8 kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-2
Apr 18 06:52:20 LOQ-15APH8 kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-2
…
Apr 18 06:52:20 LOQ-15APH8 kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Invalid data passed [NV_ERR_INVALID_DATA] (0x00000025) returned from PlatformRequestHandler failed to get target temp from SBIOS @ platform_request_handler_ctrl.c:2146
Apr 18 06:52:20 LOQ-15APH8 kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Invalid data passed [NV_ERR_INVALID_DATA] (0x00000025) returned from PlatformRequestHandler failed to get platform power mode from SBIOS @ platform_request_handler_ctrl.c:2089
Apr 18 06:52:41 LOQ-15APH8 kernel: NVRM: rmapiAllocWithSecInfo: RMAPI_GPU_LOCK_INTERNAL alloc requested without holding the RMAPI lock

some issues w/ the nvidia chip.

Step #1
Enable https://wiki.archlinux.org/title/NVIDIA … de_setting - use the "nvidia_drm.modeset=1" kernel parameter (modprobe.conf won't do!), stay away from fbdev=1 for now (the results are inconclusive and there was just a thread where this locked the framebuffer…)

Offline

#5 2024-04-18 13:13:49

NeonWyvern24
Member
Registered: 2024-04-17
Posts: 9

Re: [Solved] Black Screen w/ Cursor on laptop wake up

Thanks. However I'm not sure where I find the DRM modeset setting to switch it. Where would I find that at?

Offline

#6 2024-04-18 13:14:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: [Solved] Black Screen w/ Cursor on laptop wake up

Did you click the link I posted?

Offline

#7 2024-04-18 13:17:39

NeonWyvern24
Member
Registered: 2024-04-17
Posts: 9

Re: [Solved] Black Screen w/ Cursor on laptop wake up

Yeah. It states; "To enable it, set the modeset=1 kernel module parameter for the nvidia_drm module.". Although, I'm not sure where that is.
I hope I'm not being difficult. sad

Offline

#8 2024-04-18 13:21:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,230

Re: [Solved] Black Screen w/ Cursor on laptop wake up

"kernel module parameter" in that sentence is a link, if you don't understand the sentence on it's own, chances are you need to click that link to get further information on what kernel parameters are and how they can be set.

The method of doing so depends on your bootloader which you've set up during install and that link contains instructions for each of them.

Offline

#9 2024-04-18 13:36:35

NeonWyvern24
Member
Registered: 2024-04-17
Posts: 9

Re: [Solved] Black Screen w/ Cursor on laptop wake up

Okay. so I added the values "nvidia_drm.modeset=1" & "nvidia_drm.fbdev=1" to the file nvidia_drm.conf under /etc/modprobe.d however I run

cat /sys/module/nvidia_drm/parameters/modeset

and it still outputs N. I did everything I think it was telling me. Am I missing something?

Offline

#10 2024-04-18 13:41:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: [Solved] Black Screen w/ Cursor on laptop wake up

NOT a modprobe option and you would have had to rebuild the initramfs and I told you to stay awy from fvdev and also that's the wrong syntax for modprobe

=> https://wiki.archlinux.org/title/Kernel_parameters

Offline

#11 2024-04-18 15:27:56

NeonWyvern24
Member
Registered: 2024-04-17
Posts: 9

Re: [Solved] Black Screen w/ Cursor on laptop wake up

It says that the loadable kernel modules are set within /etc/modprobe.d/, and that the syntax is parameter=value. And I missed the no fbdev, it was in the wiki so I just followed it. I'm can't tell what I'm doing wrong.

Offline

#12 2024-04-18 17:08:41

NeonWyvern24
Member
Registered: 2024-04-17
Posts: 9

Re: [Solved] Black Screen w/ Cursor on laptop wake up

My problem has been resolved and assistance is no longer needed. I apologize for wasting your time.

Offline

#13 2024-04-18 17:12:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,230

Re: [Solved] Black Screen w/ Cursor on laptop wake up

Offline

#14 2024-04-18 17:33:31

NeonWyvern24
Member
Registered: 2024-04-17
Posts: 9

Re: [Solved] Black Screen w/ Cursor on laptop wake up

I switched my server back to wayland and everything's fine

Offline

#15 2024-04-18 17:42:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,230

Re: [Solved] Black Screen w/ Cursor on laptop wake up

Without setting nvidia_drm.modeset=1 ? That is a precondition that nvidia wayland anything works in any capacity.

Offline

#16 2024-04-18 18:24:34

NeonWyvern24
Member
Registered: 2024-04-17
Posts: 9

Re: [Solved] Black Screen w/ Cursor on laptop wake up

I'm not sure. Everything works fine now so I don't have a problem and no longer need support.

Offline

#17 2024-04-18 18:35:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,230

Re: [Solved] Black Screen w/ Cursor on laptop wake up

Strange... In any case please mark as [SOLVED] by editing the title in your first post.

Offline

#18 2024-04-18 19:58:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: [Solved] Black Screen w/ Cursor on laptop wake up

It's a dual graphcis system, wayland will run fine on the primary AMD chip and I guess the nvidia one is completely ignored.

@NeonWyvern24
If you want to use the nvidia GPU (esp. on wayland) you'll have to make sure that

cat /sys/module/nvidia_drm/parameters/modeset

says "Y"
If it doesn't, you need to understand that

added the values "nvidia_drm.modeset=1" & "nvidia_drm.fbdev=1" to the file nvidia_drm.conf under /etc/modprobe.d

is wrong on multiple levels and will only lead to modprobe complaints about bogus module parameters.
Those are kernel parameters and you're supposed to add "nvidia_drm.modeset=1" to the kernel commandline.

You can fix this now or later - looking the other side won't work and only at *that* point you'd have wasted peoples time because all efforts effectively didn't lead anywhere because you decided to run.

Since I assume that there's probably some language barrier: https://deepl.com

Offline

Board footer

Powered by FluxBB