I have an Asus Tuf A16, I successfully got arch and kde plasma working, I just needed Nvidia gpu drivers. I use the nvidia-open since it's an rtx 4070 mobile, and it's been working great. But for some reason, once I put the laptop to sleep, then wake it up, I get a purple flicking screen and logining in doesn't fix it, the only way to fix it is to restart it, but strangely enough, normal locking works just fine, but it's when it goes to sleep and then woken up that this purple flicker comes up. I have a video showing how it happens.
#[SOLVED] Waking from sleep causes flicking purple screen.
1 messages · Page 1 of 1 (latest)
I did get the Nvidia-open drivers and nvidia-utils.
Do I also need nvidia-settings?
I also got this from that command
you forgot the |
Oh, now we got something
@echo geyser upload that please
The picture shows the error
Okay. Here's the text then. [gabrielx36@MilkLordOS ~]$ lspci -k curl -F 'file=0-' 0x0.st pcilib: Error reading sys/bus/ppi/devices/0000:00:08.3/label: Operation not permitted http://0x0 .st/8Ywf txt [gabrielx36@MilkLordOS ~$
bad link
That wasn't supposed to be a link. That's just the error I got.
Here's what I got now. curl: (26) Failed to open/ read local data from file/application pcilib: Error reading /sys/bus/pci/devices/0000 : 000 08.3/label: Operation not permitted
Now that it's morning, please tell someone has ideas? I could really use an idea to solve this.
I got the solution and im leaving it for those with the same issue. What you'll want to do is create a script to reset the Nvidia gpu so that the display can properly reinitialize. First type, sudo nano /etc/systemd/system/gpu-reset.service. Then inside nano, type this in, [Unit]
Description=Restart GPU after waking
After=suspend.target
[Service]
ExecStart=/bin/sh -c 'modprobe -r nvidia && modprobe nvidia && systemctl restart display-manager'
Restart=always
[Install]
WantedBy=sleep.target.
And finally, enable it using sudo systemctl enable gpu-reset.service. and that's it, all in good shape now.
[SOLVED] Waking from sleep causes flicking purple screen.
IMPORTANT UPDATE. I was wrong. Forget the whole script, I found out that my tlp setting were the culprit. So I set it to this, and now it works.
@echo geyser I would recommend installing auto-cpufreq, it's an automatic CPU speed and power optimizer for Linux based on active monitoring of laptop's battery state, CPU usage, CPU temperature and system load
auto-cpufreq > tlp
Is it really better? Does it have a UI I can use? How is it better?
2) yes 3) 
You don't know. It's okay, mabye I'll try that latter, tlp has given me good battery life, I don't want to break things for now. But I check it out I the future. But I think I've had my trouble shooting session for the day. Thanks for the help 👍.