I recently built a new PC. I'm pretty new to this stuff, but I got it running and installed linux Mint 21.1 Vera.
I soon noticed that when my PC automatically went to suspend mode after a period of inactivity, I could not wake it up again. I had to force-quit by holding the power button.
I'm a little stumped on how to fix this. I'm pretty sure my drivers are all up to date, and visible by the system.
GPU: Gigabyte AMD Radeon 6600 XT
CPU: Intel 12th Gen Core i5-12400
Kernel: 5.15.0-58 generic
Base: Ubuntu 22.04 Jammy
Motherboard: Gigabyte B660M Gaming X AX DDR4
Monitor: Asus VG27A (G-Sync)
Is the fact that it's a G-Sync monitor mixed with an AMD GPU messing things up?
Is there anything in the BIOS I can modify so that I can move the mouse or touch the keyboard to wake the PC from suspend?
Should I try updating the Kernel?
Thank you
[SOLVED] PC gets stuck in Suspend Mode- won't wake -- AMD GPU
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[SOLVED] PC gets stuck in Suspend Mode- won't wake -- AMD GPU
Last edited by LockBot on Tue Aug 01, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: PC gets stuck in Suspend Mode- won't wake -- AMD GPU
Please post your output so we can verify that. Give us information about your install by entering this command in a terminal:
Code: Select all
inxi -Fxxxrz
</>
from the mini toolbar above the textbox where you type your reply and then place your cursor between the code tags and paste the results of the command between the code tags [code]
Results[/code]
. This will let us know how Mint sees your hardware.Have you tried using a different port on the GPU to see if there is a difference?
A woman typing on a laptop with LM20.3 Cinnamon.
Re: PC gets stuck in Suspend Mode- won't wake -- AMD GPU
I have tried using a different GPU display port and I don't think that's the cause. But I will try again to make sure! Below is the output from <inxi -Fxxxrz>
Code: Select all
[System:
Kernel: 5.15.0-58-generic x86_64 bits: 64 compiler: gcc v: 11.3.0
Desktop: Cinnamon 5.6.7 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0
Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
Type: Desktop Mobo: Gigabyte model: B660M GAMING X AX DDR4 v: x.x
serial: <superuser required> UEFI: American Megatrends LLC. v: F2
date: 12/17/2021
CPU:
Info: 6-core model: 12th Gen Intel Core i5-12400 bits: 64 type: MT MCP
smt: enabled arch: Alder Lake rev: 5 cache: L1: 480 KiB L2: 7.5 MiB
L3: 18 MiB
Speed (MHz): avg: 800 high: 802 min/max: 800/5600 cores: 1: 800 2: 801
3: 800 4: 800 5: 800 6: 801 7: 800 8: 802 9: 801 10: 801 11: 800 12: 801
bogomips: 59904
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel vendor: Gigabyte driver: i915 v: kernel ports: active: none
empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:4692
class-ID: 0380
Device-2: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] vendor: Gigabyte
driver: amdgpu v: kernel pcie: speed: 16 GT/s lanes: 16 ports: active: DP-2
empty: DP-3,HDMI-A-3,HDMI-A-4 bus-ID: 03:00.0 chip-ID: 1002:73ff
class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.3 driver: X:
loaded: amdgpu,ati,modesetting unloaded: fbdev,radeon,vesa gpu: amdgpu
display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.7x15.0")
s-diag: 777mm (30.6")
Monitor-1: DisplayPort-1 mapped: DP-2 model: VG27A serial: <filter>
res: 2560x1440 hz: 60 dpi: 109 size: 597x336mm (23.5x13.2")
diag: 685mm (27") modes: max: 2560x1440 min: 720x400
OpenGL:
renderer: AMD DIMGREY_CAVEFISH (LLVM 13.0.1 DRM 3.42 5.15.0-58-generic)
v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
Device-1: Intel vendor: Gigabyte driver: snd_hda_intel v: kernel
bus-ID: 00:1f.3 chip-ID: 8086:7ad0 class-ID: 0403
Device-2: AMD Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]
driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
bus-ID: 03:00.1 chip-ID: 1002:ab28 class-ID: 0403
Sound Server-1: ALSA v: k5.15.0-58-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Intel driver: iwlwifi v: kernel port: N/A bus-ID: 00:14.3
chip-ID: 8086:7af0 class-ID: 0280
IF: wlo1 state: up mac: <filter>
Device-2: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
pcie: speed: 5 GT/s lanes: 1 port: 3000 bus-ID: 06:00.0 chip-ID: 10ec:8125
class-ID: 0200
IF: enp6s0 state: down mac: <filter>
IF-ID-1: ipv6leakintrf0 state: unknown speed: N/A duplex: N/A
mac: <filter>
IF-ID-2: proton0 state: unknown speed: 10 Mbps duplex: full mac: N/A
IF-ID-3: pvpnksintrf0 state: unknown speed: N/A duplex: N/A mac: <filter>
Bluetooth:
Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-14:7
chip-ID: 8087:0033 class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
/code]
Re: PC gets stuck in Suspend Mode- won't wake -- AMD GPU
I meant if you are using a DP port, can you try an HDMI port?
I found a bug RX 6600 XT fails to resume from suspend in 5.15.y series. I do see where someone said switching to an HDMI cable (instead of DP) fixed the issue for them. I also see mention of people indicating they were not having a problem with the 6.0 kernel. You can install the latest 6.0-oem kernel with
Code: Select all
sudo apt-get install linux-oem-22.04b
Let us know if either of those suggestions work.
A woman typing on a laptop with LM20.3 Cinnamon.
Re: PC gets stuck in Suspend Mode- won't wake -- AMD GPU
Hi SMG, that appears to have worked! I updated the kernel, rebooted, and then placed the PC into suspend. I was able to wake it up, so it looks like it's working!
a few questions though:
-I was not able to wake it up simply by just moving the mouse or typing on the keyboard. Is there a way to change something in my system settings or BIOS to allow for my keyboard or mouse to wake the PC from suspend?
-secondly, if for any reason I notice bugs with the 6.0 kernel.... how can I revert back to the previous kernel?
-and lastly.... do you think that by using a G-Sync monitor that I'm using right now, that it will have combatibility issues with my AMD video card? Should I switch to a Free Sync?
Thank you for your help! Looks like the major issue has been solved.
a few questions though:
-I was not able to wake it up simply by just moving the mouse or typing on the keyboard. Is there a way to change something in my system settings or BIOS to allow for my keyboard or mouse to wake the PC from suspend?
-secondly, if for any reason I notice bugs with the 6.0 kernel.... how can I revert back to the previous kernel?
-and lastly.... do you think that by using a G-Sync monitor that I'm using right now, that it will have combatibility issues with my AMD video card? Should I switch to a Free Sync?
Thank you for your help! Looks like the major issue has been solved.
Re: PC gets stuck in Suspend Mode- won't wake -- AMD GPU
The issue of this topic is solved. Please go to your first post in this topic, click the pencil icon, and add [SOLVED] to the beginning of the title so others know you are no longer seeking help on this issue.
To boot into an older kernel, bring up the grub menu, select the Advanced Options, and then select the desired kernel. If you do not normally see the grub menu, repeatedly tap the escape key during boot to bring up the grub menu for your UEFI boot computer.
See this post for how to edit grub to get the menu to show if you are having issues using the Escape key. (Some computers are very fast and getting the timing right with regards to hitting the escape at the proper time can be tricky.)
Once you boot with the older kernel, you will want to remove the newer one because Mint automatically boots into the highest number kernel. You can remove the newer kernel using Update Manager. Open Update Manager. Select View > Linux Kernels and click Continue. Click 6.0 on the left panel. Click the installed kernel in the right panel to make the "Remove" button visible.
I would think that would depend on your hardware. If your items are bluetooth, bluetooth is possibly put to sleep during suspend.
Gigabyte usually has good documentation available. Here is the BIOS Setup Guide for the 600 Series. I see on page 26 there is a setting for having usb ports enabled at different times in the boot process.
If you are not able to find an answer, please create a new topic in the Hardware Forum because this is not a graphics issues.
I'm sorry, but I do not understand your question. In what respect would not you have compatiblity?
A woman typing on a laptop with LM20.3 Cinnamon.
Re: [SOLVED] PC gets stuck in Suspend Mode- won't wake -- AMD GPU
Thanks again for all of your help with this issue. I appreciate your thorough responses tremendously. If I am unable to figure out a solution from Gigabyte's BIOS setup guide that you provided, I will be sure to post a different question in the hardware section.
I think my question about G-Sync vs Free sync is not super critical, so I don't want to take up more of your time! My understanding is that Freesync and G-sync are types of GPU software that are mostly used for gamers and high FPS users... and I don't think that I'll be pushing those boundaries too much so I'm not super concerned! I was just wondering if by me using a G-Sync monitor, with a Freesync GPU (AMD Radeon) if there might be some issues with that.... but after your help with this issue I don't think that the Freesync/G-sync conflict is causing the problem.
Thank you!!
I think my question about G-Sync vs Free sync is not super critical, so I don't want to take up more of your time! My understanding is that Freesync and G-sync are types of GPU software that are mostly used for gamers and high FPS users... and I don't think that I'll be pushing those boundaries too much so I'm not super concerned! I was just wondering if by me using a G-Sync monitor, with a Freesync GPU (AMD Radeon) if there might be some issues with that.... but after your help with this issue I don't think that the Freesync/G-sync conflict is causing the problem.
Thank you!!
Re: [SOLVED] PC gets stuck in Suspend Mode- won't wake -- AMD GPU
I would not think there is a conflict. I am actually not sure how well the Linux drivers for the GPU can (or can not) take advantage of those capabilities. I don't usually help with that specific level of detail with monitors, but maybe someone else will know and chime in.Cornelius wrote: ⤴Thu Feb 02, 2023 7:09 pm My understanding is that Freesync and G-sync are types of GPU software that are mostly used for gamers and high FPS users... and I don't think that I'll be pushing those boundaries too much so I'm not super concerned! I was just wondering if by me using a G-Sync monitor, with a Freesync GPU (AMD Radeon) if there might be some issues with that.... but after your help with this issue I don't think that the Freesync/G-sync conflict is causing the problem.
A woman typing on a laptop with LM20.3 Cinnamon.