Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
User avatar
tzell
Level 1
Level 1
Posts: 25
Joined: Wed Aug 03, 2022 4:56 pm

Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by tzell »

Hello forum,
I'm new to linux :) love it so far hope perhaps you could help with the following:

Issues:
1. screens won't turn off after idle (applied setting in power management.
They appear to flicker for a second when idle time arrives, then turn back on again.

2. Screen saver doesn't work + lock screen doesn't activate.

3. Screen seems to 'flash' a solid color for a second every few minutes before returning to normal (not sure if it's related but still quite annoying)

I have tried:
Enabling / Disabling screen saver - Screens still won't turn off even with screen saver disabled.

Additional question:
Is there a way to manually turn the screens off and set lockscreen (since it doesn't work automatically)

Thank you!

Information:

Part of the log says this regarding screen saver (not sure if it helps)

Code: Select all

11:24:46 cinnamon-sessio: WARNING: t+12853.23514s: Detected that screensaver has left the bus
11:24:15 cinnamon-sessio: WARNING: t+12822.11520s: Detected that screensaver has appeared on the bus
11:24:15 dbus-daemon: [session uid=1000 pid=1672] Successfully activated service 'org.cinnamon.ScreenSaver'
11:24:15 dbus-daemon: [session uid=1000 pid=1672] Successfully activated service 'org.cinnamon.ScreenSaver'
11:24:15 dbus-daemon: [session uid=1000 pid=1672] Activating service name='org.cinnamon.ScreenSaver' requested by ':1.217' (uid=1000 pid=12189 comm="/usr/bin/python3 /usr/bin/cinnamon-screensaver-com" label="unconfined")
11:19:44 cinnamon-sessio: WARNING: t+12550.92935s: Detected that screensaver has left the bus
11:19:44 cinnamon-screen: Original exception was:
11:19:44 cinnamon-screen: Original exception was:
11:19:44 cinnamon-screen: Error in sys.excepthook:
11:19:44 cinnamon-screen: Successfully using logind
11:19:44 cinnamon-screen: Cinnamon Screensaver support not found in current theme - adding some...
11:19:44 cinnamon-screen: Starting screensaver...
11:19:44 cinnamon-screen: Trying to connect to logind...
11:19:13 rtkit-daemon: Supervising 10 threads of 4 processes of 1 users.
11:19:13 cinnamon-sessio: WARNING: t+12519.80258s: Detected that screensaver has appeared on the bus
11:19:13 dbus-daemon: [session uid=1000 pid=1672] Successfully activated service 'org.cinnamon.ScreenSaver'
11:17:01 cron: pam_unix(cron:session): session closed for user root
my system information:
xrandr

Code: Select all

Screen 0: minimum 320 x 200, current 8960 x 2880, maximum 16384 x 16384
DisplayPort-0 connected primary 5120x2880+3840+0 (normal left inverted right x axis y axis) 697mm x 392mm
   3840x2160     60.00*+  60.00    59.94  
   2560x1440     74.78    59.95  
   1920x1200     60.00  
   1920x1080     74.98    60.00    50.00    59.94  
   1600x1200     60.00  
   1680x1050     59.95  
   1600x900      74.99    60.00  
   1280x1024     75.02    69.95    60.02  
   1440x900      59.89  
   1280x800      60.00  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    60.00    59.94  
   720x400       70.08  
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-1 connected 3840x2160+0+486 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  74.99    50.00    59.94  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x960      60.00  
   1280x800      60.00  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1440x576      50.00  
   1024x768      75.03    70.07    60.00  
   1440x480      60.00    59.94  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
system information

Code: Select all

            ...-:::::-...                 yeen@MintYeen 
          .-MMMMMMMMMMMMMMM-.              ------------- 
      .-MMMM`..-:::::::-..`MMMM-.          OS: Linux Mint 21 x86_64 
    .:MMMM.:MMMMMMMMMMMMMMM:.MMMM:.        Kernel: 5.15.0-43-generic 
   -MMM-M---MMMMMMMMMMMMMMMMMMM.MMM-       Uptime: 4 hours, 44 mins 
 `:MMM:MM`  :MMMM:....::-...-MMMM:MMM:`    Packages: 2875 (dpkg), 27 (flatpak) 
 :MMM:MMM`  :MM:`  ``    ``  `:MMM:MMM:    Shell: bash 5.1.16 
.MMM.MMMM`  :MM.  -MM.  .MM-  `MMMM.MMM.   Resolution: 5120x2880, 3840x2160 
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:   DE: Cinnamon 5.4.9 
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM:MMM:   WM: Mutter 
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:   WM Theme: Mint-Y 
.MMM.MMMM`  :MM:--:MM:--:MM:  `MMMM.MMM.   Theme: Adwaita-dark [GTK2/3] 
 :MMM:MMM-  `-MMMMMMMMMMMM-`  -MMM-MMM:    Icons: Mint-X-Purple [GTK2/3] 
  :MMM:MMM:`                `:MMM:MMM:     Terminal: gnome-terminal 
   .MMM.MMMM:--------------:MMMM.MMM.      CPU: AMD Ryzen 7 3700X (16) @ 3.600G 
     '-MMMM.-MMMMMMMMMMMMMMM-.MMMM-'       GPU: AMD ATI Radeon RX 6700/6700 XT  
       '.-MMMM``--:::::--``MMMM-.'         Memory: 5800MiB / 32008MiB 
            '-MMMMMMMMMMMMM-'

Code: Select all

System:
  Kernel: 5.15.0-43-generic x86_64 bits: 64 compiler: gcc v: 11.2.0 Desktop: Cinnamon 5.4.9
    tk: GTK 3.24.33 wm: Mutter dm: LightDM Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME B550M-A v: Rev X.0x serial: <superuser required>
    UEFI: American Megatrends v: 2803 date: 04/28/2022
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3 serial: <filter>
    charge: 100% (should be ignored) status: Discharging
CPU:
  Info: 8-core model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2 rev: 0 cache:
    L1: 512 KiB L2: 4 MiB L3: 32 MiB
  Speed (MHz): avg: 2909 high: 4274 min/max: 2200/4426 boost: enabled cores: 1: 2071 2: 4185
    3: 2137 4: 2138 5: 2442 6: 4254 7: 3861 8: 2137 9: 2063 10: 3776 11: 2120 12: 2358 13: 2429
    14: 4274 15: 4176 16: 2136 bogomips: 115207
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT / 6800M] vendor: Gigabyte driver: amdgpu v: kernel
    pcie: speed: 16 GT/s lanes: 16 ports: active: DP-1,HDMI-A-2 empty: DP-2,HDMI-A-1 bus-ID: 0c:00.0
    chip-ID: 1002:73df
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 8960x2880 s-dpi: 120
  Monitor-1: DisplayPort-0 mapped: DP-1 pos: primary,top-right model: Lenovo L32p-30
    res: 5120x2880 dpi: 187 diag: 800mm (31.5")
  Monitor-2: HDMI-A-1 mapped: HDMI-A-2 pos: bottom-l model: ASUS VA27EHE res: 3840x2160 dpi: 163
    diag: 686mm (27")
  OpenGL: renderer: AMD Radeon RX 6700 XT (navy_flounder LLVM 13.0.1 DRM 3.42 5.15.0-43-generic)
    v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
  Device-1: 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: 0c:00.1 chip-ID: 1002:ab28
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 0e:00.4 chip-ID: 1022:1487
  Device-3: iCreate Xonar U7 type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-1:2
    chip-ID: 1043:857c
  Sound Server-1: ALSA v: k5.15.0-43-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: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK PRIME B450M-A
    driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 09:00.0
    chip-ID: 10ec:8168
  IF: enp9s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 4.31 TiB used: 279.58 GiB (6.3%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT1000P1SSD8 size: 931.51 GiB speed: 31.6 Gb/s
    lanes: 4 serial: <filter> temp: 44.9 C
  ID-2: /dev/sda vendor: SanDisk model: SSD PLUS 480GB size: 447.14 GiB speed: 6.0 Gb/s
    serial: <filter>
  ID-3: /dev/sdb vendor: Western Digital model: WD30EZRZ-60Z5HB0 size: 2.73 TiB speed: 6.0 Gb/s
    serial: <filter>
  ID-4: /dev/sdc vendor: Samsung model: MZNTE256HMHP-000L2 size: 238.47 GiB speed: 6.0 Gb/s
    serial: <filter>
Partition:
  ID-1: / size: 233.18 GiB used: 134.21 GiB (57.6%) fs: ext4 dev: /dev/sdc3
  ID-2: /boot/efi size: 512 MiB used: 5.2 MiB (1.0%) fs: vfat dev: /dev/sdc2
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 10 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 1-6:2 info: ASUSTek AURA LED Controller type: HID driver: hid-generic,usbhid
    rev: 2.0 speed: 12 Mb/s chip-ID: 0b05:1939
  Device-2: 1-9:3 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID
    driver: logitech-djreceiver,usbhid rev: 2.0 speed: 12 Mb/s chip-ID: 046d:c52b
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 3-1:2 info: iCreate Xonar U7 type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid rev: 2.0 speed: 480 Mb/s chip-ID: 1043:857c
  Device-2: 3-4:3 info: Logitech USB Receiver type: Mouse,Keyboard,HID
    driver: hid-generic,usbhid rev: 2.0 speed: 12 Mb/s chip-ID: 046d:c547
  Hub-4: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 57.0 C mem: 52.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Repos:
  Packages: 2902 apt: 2875 flatpak: 27
  No active apt repos in: /etc/apt/sources.list
  No active apt repos in: /etc/apt/sources.list.d/amdgpu-proprietary.list
  Active apt repos in: /etc/apt/sources.list.d/amdgpu.list
    1: deb https: //repo.radeon.com/amdgpu/22.20/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com vanessa main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/rocm.list
    1: deb [arch=amd64] https: //repo.radeon.com/rocm/apt/5.2 ubuntu main
Info:
  Processes: 413 Uptime: 4h 42m Memory: 31.26 GiB used: 6.1 GiB (19.5%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.2.0 alt: 11 Client: Unknown python3.10 client inxi: 3.3.13
 
Cosmo.
Level 23
Level 23
Posts: 19952
Joined: Sat Dec 06, 2014 7:34 am

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by Cosmo. »

Open Users & Groups and create a new user account. Reboot and log into the new account. Do no changes in the new account except to shorten the time, until the screensaver shall launch; also do not open any program. How does it behave there?
User avatar
tzell
Level 1
Level 1
Posts: 25
Joined: Wed Aug 03, 2022 4:56 pm

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by tzell »

Cosmo. wrote:
Thu Aug 04, 2022 5:52 am
Open Users & Groups and create a new user account. Reboot and log into the new account. Do no changes in the new account except to shorten the time, until the screensaver shall launch; also do not open any program. How does it behave there?
Alright, created a new user and tested both new and old user.

This time lock screen seems to work (for both new and old user).
So that's one problem solved.

However the turn off screen part doesn't work - same thing for both users:
The screen flickers for a moment going to stand by mode then a second later wakes up again (both screens).
It would seem something keeps waking the screens up.
Cosmo.
Level 23
Level 23
Posts: 19952
Joined: Sat Dec 06, 2014 7:34 am

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by Cosmo. »

tzell wrote:
Thu Aug 04, 2022 1:45 pm
However the turn off screen part doesn't work - same thing for both users:
The screen flickers for a moment going to stand by mode then a second later wakes up again (both screens).
It would seem something keeps waking the screens up.
If I understand right, this is #1 from your starting post, right?

When did this problem start to happen? Already in the first run after installation?
User avatar
tzell
Level 1
Level 1
Posts: 25
Joined: Wed Aug 03, 2022 4:56 pm

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by tzell »

Cosmo. wrote:
Thu Aug 04, 2022 2:19 pm
tzell wrote:
Thu Aug 04, 2022 1:45 pm
However the turn off screen part doesn't work - same thing for both users:
The screen flickers for a moment going to stand by mode then a second later wakes up again (both screens).
It would seem something keeps waking the screens up.
If I understand right, this is #1 from your starting post, right?

When did this problem start to happen? Already in the first run after installation?
Yes that is number one from my starting post
And yes did a fresh installation, problem started since day 1
Cosmo.
Level 23
Level 23
Posts: 19952
Joined: Sat Dec 06, 2014 7:34 am

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by Cosmo. »

The only thing which comes into my mind is, that the kernel in LM 21 gives the problem. The next question is, that you cannot downgrade the kernel in LM 21.

As it is obviously not an acceptable way, to replace your system with LM 20.3 - and this can give new problems also - try this: Download and boot 20.3 Cinnamon (not the edge edition). I don't know, if the screensaver works in the live system, most likely not. So you need to activate the screen saver in the live system and watch, what happens here.
User avatar
tzell
Level 1
Level 1
Posts: 25
Joined: Wed Aug 03, 2022 4:56 pm

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by tzell »

Cosmo. wrote:
Fri Aug 05, 2022 4:14 am
The only thing which comes into my mind is, that the kernel in LM 21 gives the problem. The next question is, that you cannot downgrade the kernel in LM 21.

As it is obviously not an acceptable way, to replace your system with LM 20.3 - and this can give new problems also - try this: Download and boot 20.3 Cinnamon (not the edge edition). I don't know, if the screensaver works in the live system, most likely not. So you need to activate the screen saver in the live system and watch, what happens here.
Confirmed!
LM 20.3 live CD - screen timeout works.
LM 21 live CD - doesn't work (same flicker for a second then exiting standby mode)

What does this mean? That LM kernel 21 is the problem? Is there a way to fix? report bug? what do I do with this?
Cosmo.
Level 23
Level 23
Posts: 19952
Joined: Sat Dec 06, 2014 7:34 am

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by Cosmo. »

Yep, the kernel gives the problem. Note, that this is not always the case. I use the same kernel version and I have no problems.

Be patient and wait. The next version will surely come and hopefully it solves the problem.
User avatar
tzell
Level 1
Level 1
Posts: 25
Joined: Wed Aug 03, 2022 4:56 pm

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by tzell »

Cosmo. wrote:
Fri Aug 05, 2022 6:20 am
Yep, the kernel gives the problem. Note, that this is not always the case. I use the same kernel version and I have no problems.

Be patient and wait. The next version will surely come and hopefully it solves the problem.
Thank you
Should I report this bug somewhere?
Is there a 'manual' way to try and trigger screen standby mode?
Cosmo.
Level 23
Level 23
Posts: 19952
Joined: Sat Dec 06, 2014 7:34 am

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by Cosmo. »

tzell wrote:
Fri Aug 05, 2022 6:26 am
Should I report this bug somewhere?
Is there a 'manual' way to try and trigger screen standby mode?
Simply be patient. I doubt, that Linus Torvalds and his team would read it.

Do you really mean Standby Mode? Until now we only talked about the screensaver. What you most likely mean is called Suspend. If you open the shutdown menu you should see a button for it on the left. Many laptops have a shortcut key (Fn key combination) for that.
User avatar
tzell
Level 1
Level 1
Posts: 25
Joined: Wed Aug 03, 2022 4:56 pm

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by tzell »

Cosmo. wrote:
Fri Aug 05, 2022 6:37 am

Simply be patient. I doubt, that Linus Torvalds and his team would read it.

Do you really mean Standby Mode? Until now we only talked about the screensaver. What you most likely mean is called Suspend. If you open the shutdown menu you should see a button for it on the left. Many laptops have a shortcut key (Fn key combination) for that.
Sorry I wasn't clear - I meant screen standby mode where the screen goes to sleep, not computer standby mode.
Cosmo.
Level 23
Level 23
Posts: 19952
Joined: Sat Dec 06, 2014 7:34 am

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by Cosmo. »

Ctrl-alt-L, but this will not change anything for you.
User avatar
SMG
Level 22
Level 22
Posts: 15640
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by SMG »

tzell wrote:
Fri Aug 05, 2022 5:59 am
LM 20.3 live CD - screen timeout works.
LM 21 live CD - doesn't work (same flicker for a second then exiting standby mode)

What does this mean? That LM kernel 21 is the problem? Is there a way to fix? report bug? what do I do with this?
It was not a good test because the 5.4 kernel in LM20.3 does not have the graphics drivers for your GPU. All you did by running that live session was confirm software rendering mode works. You do not want to run in software rendering mode.

One can not even properly test using the LM20.3 Edge ISO because that ISO does not have the firmware needed for an RX 6700 XT. (See the notes for an RX 6700XT in Tips for Troubleshooting Graphics Issues (including external monitors not working).)

So the results of that test have no real meaning as far as troubleshooting this issue.

Standby with a monitor is usually related to DPMS which is a setting in the monitor which interacts with the graphics driver. I will re-read your topic later and see if I get any ideas for testing the problem.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
SMG
Level 22
Level 22
Posts: 15640
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by SMG »

tzell wrote:
Thu Aug 04, 2022 5:32 am
1. screens won't turn off after idle (applied setting in power management.
They appear to flicker for a second when idle time arrives, then turn back on again.
3. Screen seems to 'flash' a solid color for a second every few minutes before returning to normal (not sure if it's related but still quite annoying)
There are DPMS settings in monitors and there are also graphics driver settings for each type of port on your GPU. (I mention that because, if there are differences you are noticing between your two monitors, the fact they are different connections might be a factor.)

The power management setting from the operating system does not always have the ability to override what the GPU and monitors are doing.

Let's check the X Server log to see what information the graphics driver may be picking up from your monitors. Please use this command in a terminal to upload the X Server log file to termbin:

Code: Select all

cat /var/log/Xorg.0.log | nc termbin.com 9999
It will return with a url address that you can post in your next reply.

I am aware of there being a 5.17-oem kernel available for use with LM21 so, if it appears this might be a graphics driver issue, perhaps a newer kernel will help.

There are also some settings with xset which sometimes work to turn off a stubborn monitor.

The monitor info from inxi does not seem to match (resolution-wise) what is being shown in xrandr

Code: Select all

  Monitor-1: DisplayPort-0 mapped: DP-1 pos: primary,top-right model: Lenovo L32p-30
    res: 5120x2880 dpi: 187 diag: 800mm (31.5")
  Monitor-2: HDMI-A-1 mapped: HDMI-A-2 pos: bottom-l model: ASUS VA27EHE res: 3840x2160 dpi: 163
    diag: 686mm (27")
Which resolution specs are correct per your understanding of the monitors' capabilities?

Code: Select all

DisplayPort-0 connected primary 5120x2880+3840+0 (normal left inverted right x axis y axis) 697mm x 392mm
   3840x2160     60.00*+  60.00    59.94 
HDMI-A-1 connected 3840x2160+0+486 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  74.99    50.00    59.94 
Was there a specific reason you added these repos? The AMD drivers are in the kernel.

Code: Select all

No active apt repos in: /etc/apt/sources.list.d/amdgpu-proprietary.list
  Active apt repos in: /etc/apt/sources.list.d/amdgpu.list
    1: deb https: //repo.radeon.com/amdgpu/22.20/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/rocm.list
    1: deb [arch=amd64] https: //repo.radeon.com/rocm/apt/5.2 ubuntu main
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
tzell
Level 1
Level 1
Posts: 25
Joined: Wed Aug 03, 2022 4:56 pm

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by tzell »

Thank you for the detailed reply,

I also seem to have another problem with the screen, it goes black as if refuses to render window, then slowly comes back as I move the mouse, adding video link, any thoughts?

Video of the problem:
https://youtu.be/uef6EHYpCcM

The information you requested:

1.
x server log file:
https://termbin.com/nmts

2.
The correct resolution capabilities for the screens are:
Lenovo L32p-30 - 4K resolution (3840x2160) 60hz
ASUS VA27EHE - 1080p (1920x1080) 60hz

3.
SMG wrote:
Fri Aug 05, 2022 7:57 pm
Was there a specific reason you added these repos? The AMD drivers are in the kernel.

Code: Select all

No active apt repos in: /etc/apt/sources.list.d/amdgpu-proprietary.list
  Active apt repos in: /etc/apt/sources.list.d/amdgpu.list
    1: deb https: //repo.radeon.com/amdgpu/22.20/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/rocm.list
    1: deb [arch=amd64] https: //repo.radeon.com/rocm/apt/5.2 ubuntu main
I don't recall adding these repos honestly, perhaps they were added another way?
User avatar
SMG
Level 22
Level 22
Posts: 15640
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by SMG »

tzell wrote:
Sat Aug 06, 2022 2:08 am
I don't recall adding these repos honestly, perhaps they were added another way?
It's my understanding if you tried adding the drivers from the AMD website then these repos get added. AMD is really wanting people to switch to using drivers from the kernel and not separate installs from their website.
tzell wrote:
Sat Aug 06, 2022 2:08 am
I also seem to have another problem with the screen, it goes black as if refuses to render window, then slowly comes back as I move the mouse, adding video link, any thoughts?
Looks like magic. You are painting the desktop with your mouse. I think, many years ago, I used to watch a children's show that did that. I have no guesses at this time what might be causing it.

Am I correct to presume all the hardware was working properly in Windows before you made the switch to Linux Mint? I did find this 6700XT detection won't let primary monitor turn off, but that was on a Windows install.

In the Xorg Server log for your Lenovo monitor

Code: Select all

[    10.847] (II) AMDGPU(0): DPMS capabilities: Off
and for the ASUS monitor

Code: Select all

[    10.849] (II) AMDGPU(0): DPMS capabilities: Off
This link is not for your specific monitors, but it explains the states of Power management of the display. The graphics driver is picking up your monitors are set to "Off" which means "Never attempts to turn the display off."

I'm not sure why that is happening.

If you want to try the newer kernel (which would give you newer graphics drivers), you can install the latest 5.17-oem kernel with

Code: Select all

sudo apt-get install linux-oem-22.04
and then reboot.

However, I would suggest removing those AMD repos first. I don't think those drivers are being used, but drivers from the website do not work with OEM kernels.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
tzell
Level 1
Level 1
Posts: 25
Joined: Wed Aug 03, 2022 4:56 pm

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by tzell »

SMG wrote:
Sat Aug 06, 2022 8:51 pm
It's my understanding if you tried adding the drivers from the AMD website then these repos get added. AMD is really wanting people to switch to using drivers from the kernel and not separate installs from their website.
That might be the case yes, I did try installing from AMDs website to see if it might solve the problem.
I removed both AMD repos now.
SMG wrote: Am I correct to presume all the hardware was working properly in Windows before you made the switch to Linux Mint? I did find this 6700XT detection won't let primary monitor turn off, but that was on a Windows install.
Yes you are correct within windows there was no issues with screen standby mode
MSG wrote: In the Xorg Server log for your Lenovo monitor

Code: Select all

[    10.847] (II) AMDGPU(0): DPMS capabilities: Off
and for the ASUS monitor

Code: Select all

[    10.849] (II) AMDGPU(0): DPMS capabilities: Off
This link is not for your specific monitors, but it explains the states of Power management of the display. The graphics driver is picking up your monitors are set to "Off" which means "Never attempts to turn the display off."
I did the kernel update
Here is the new xorg log (after kernel update)
https://termbin.com/yafv
I think there's the same issue where it says DPMS capabilities=Off still.

Very interesting, I didn't know you could just update the kernel like that.
Here's the new system info, does that mean I've updated properly?

Sadly, the problem still persists even after the update

Code: Select all

System:
  Kernel: 5.17.0-1014-oem x86_64 bits: 64 compiler: gcc v: 11.2.0 Desktop: Cinnamon 5.4.9
    tk: GTK 3.24.33 wm: Mutter dm: LightDM Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME B550M-A v: Rev X.0x serial: <superuser required>
    UEFI: American Megatrends v: 2803 date: 04/28/2022
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3 serial: <filter>
    charge: 100% (should be ignored) status: Discharging
CPU:
  Info: 8-core model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2 rev: 0 cache:
    L1: 512 KiB L2: 4 MiB L3: 32 MiB
  Speed (MHz): avg: 2864 high: 4320 min/max: 2200/4426 boost: enabled cores: 1: 2162 2: 2162
    3: 2162 4: 4296 5: 2158 6: 2158 7: 3027 8: 4061 9: 2162 10: 2162 11: 4305 12: 4320 13: 2158
    14: 2169 15: 2090 16: 4286 bogomips: 115196
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT / 6800M] vendor: Gigabyte driver: amdgpu v: kernel
    pcie: speed: 16 GT/s lanes: 16 ports: active: DP-1,HDMI-A-2 empty: DP-2,HDMI-A-1 bus-ID: 0c:00.0
    chip-ID: 1002:73df
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 7680x2160 s-dpi: 144
  Monitor-1: DisplayPort-0 mapped: DP-1 pos: primary,right model: Lenovo L32p-30 res: 3840x2160
    dpi: 140 diag: 800mm (31.5")
  Monitor-2: HDMI-A-1 mapped: HDMI-A-2 pos: primary,left model: ASUS VA27EHE res: 3840x2160
    dpi: 163 diag: 686mm (27")
  OpenGL: renderer: AMD Radeon RX 6700 XT (navy_flounder LLVM 13.0.1 DRM 3.44 5.17.0-1014-oem)
    v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
  Device-1: 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: 0c:00.1 chip-ID: 1002:ab28
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 0e:00.4 chip-ID: 1022:1487
  Device-3: iCreate Xonar U7 type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-1:2
    chip-ID: 1043:857c
  Sound Server-1: ALSA v: k5.17.0-1014-oem 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: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK PRIME B450M-A
    driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 09:00.0
    chip-ID: 10ec:8168
  IF: enp9s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 4.76 TiB used: 1.23 TiB (25.8%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT1000P1SSD8 size: 931.51 GiB speed: 31.6 Gb/s
    lanes: 4 serial: <filter> temp: 44.9 C
  ID-2: /dev/sda vendor: SanDisk model: SSD PLUS 480GB size: 447.14 GiB speed: 6.0 Gb/s
    serial: <filter>
  ID-3: /dev/sdb vendor: Western Digital model: WD30EZRZ-60Z5HB0 size: 2.73 TiB speed: 6.0 Gb/s
    serial: <filter>
  ID-4: /dev/sdc vendor: Samsung model: MZNTE256HMHP-000L2 size: 238.47 GiB speed: 6.0 Gb/s
    serial: <filter>
  ID-5: /dev/sdd type: USB model: External USB 3.0 size: 465.76 GiB serial: <filter>
Partition:
  ID-1: / size: 233.18 GiB used: 41.94 GiB (18.0%) fs: ext4 dev: /dev/sdc3
  ID-2: /boot/efi size: 512 MiB used: 5.2 MiB (1.0%) fs: vfat dev: /dev/sdc2
Swap:
  ID-1: swap-1 type: file size: 1.95 GiB used: 1.3 MiB (0.1%) priority: -2
    file: /mnt/Dlinux/swapfile
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 10 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 1-6:2 info: ASUSTek AURA LED Controller type: HID driver: hid-generic,usbhid
    rev: 2.0 speed: 12 Mb/s chip-ID: 0b05:1939
  Device-2: 1-9:3 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID
    driver: logitech-djreceiver,usbhid rev: 2.0 speed: 12 Mb/s chip-ID: 046d:c52b
  Device-3: 1-10:4 info: External USB 3.0 type: Mass Storage driver: uas rev: 2.1
    speed: 480 Mb/s chip-ID: 0080:0578
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 3-1:2 info: iCreate Xonar U7 type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid rev: 2.0 speed: 480 Mb/s chip-ID: 1043:857c
  Device-2: 3-3:3 info: Logitech USB Receiver type: Mouse,Keyboard,HID
    driver: hid-generic,usbhid rev: 2.0 speed: 12 Mb/s chip-ID: 046d:c547
  Hub-4: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 54.0 C mem: 46.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Repos:
  Packages: 2961 apt: 2926 flatpak: 35
  No active apt repos in: /etc/apt/sources.list
  No active apt repos in: /etc/apt/sources.list.d/amdgpu-proprietary.list
  No active apt repos in: /etc/apt/sources.list.d/amdgpu.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com vanessa main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  No active apt repos in: /etc/apt/sources.list.d/rocm.list
Info:
  Processes: 380 Uptime: 11m Memory: 31.26 GiB used: 2.72 GiB (8.7%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.2.0 alt: 11 Client: Unknown python3.10 client inxi: 3.3.13
User avatar
SMG
Level 22
Level 22
Posts: 15640
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by SMG »

tzell wrote:
Sun Aug 07, 2022 2:53 am
Very interesting, I didn't know you could just update the kernel like that.
Here's the new system info, does that mean I've updated properly?
The data shows you have the OEM kernel installed.

System:
Kernel: 5.17.0-1014-oem x86_64 bits: 64 compiler: gcc v: 11.2.0 Desktop: Cinnamon 5.4.9
tk: GTK 3.24.33 wm: Mutter dm: LightDM Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
tzell wrote:
Sun Aug 07, 2022 2:53 am
I think there's the same issue where it says DPMS capabilities=Off still.
I am aware of settings for this as "enabled" or "disabled", but I thought making sure it was enabled would let the DPMS do its thing with regards to the four settings (normal, stand-by, suspend, off). This setting is an interaction between the GPU/driver and the monitor.

I feel like I'm missing something easy, but I will have to think some more and get back to you because I do not have any other ideas right now other than checking to see if resetting the monitor(s) does anything.

Someone posted what they indicate is a similar issue on this forum, but they have Intel graphics so it is a different graphics driver. This type of issue is usually related to the graphics driver.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
SMG
Level 22
Level 22
Posts: 15640
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by SMG »

What is the output of

Code: Select all

xset -q
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
tzell
Level 1
Level 1
Posts: 25
Joined: Wed Aug 03, 2022 4:56 pm

Re: Screen doesn't turn off / power management options don't work / Screensaver doesn't activate

Post by tzell »

SMG wrote:
Sun Aug 07, 2022 3:00 pm
What is the output of

Code: Select all

xset -q

Code: Select all

Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    off    02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  532    repeat rate:  30
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Enabled
  Monitor is On

Post Reply

Return to “Cinnamon”