Page 1 of 4

display issue after Suspend

Posted: Thu Jun 15, 2023 8:52 pm
by arp
Hello, I did a fresh install of MX. After coming back from "suspend" mode, the display is reddish throughout and is lower resolution like an old computer. This does not go away and I have to re-start. I thought this was a swap size issue so I increased swap to 2x RAM (RAM is 6GB). Any ideas? Thank you!

Code: Select all

System:    Kernel: 5.10.0-20-amd64 [5.10.158-2] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-20-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.18.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower January 15  2023 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Desktop System: Apple product: iMac7,1 v: 1.0 serial: <filter> Chassis: type: 13 
           v: Mac-F4238CC8 serial: <filter> 
           Mobo: Apple model: Mac-F4238CC8 v: PVT serial: <filter> UEFI: Apple 
           v: IM71.88Z.007A.B03.0803051705 date: 03/05/08 
CPU:       Info: Dual Core model: Intel Core2 Duo T7300 bits: 64 type: MCP arch: Core Merom 
           family: 6 model-id: F (15) stepping: A (10) microcode: 95 cache: L2: 4 MiB 
           flags: lm nx pae sse sse2 sse3 ssse3 vmx bogomips: 7980 
           Speed: 1331 MHz min/max: 800/2000 MHz Core speeds (MHz): 1: 1331 2: 1317 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled 
           Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Unknown: No mitigations 
           Type: retbleed status: Not affected 
           Type: spec_store_bypass status: Vulnerable 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Retpolines, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD RV610/M74 [Mobility Radeon HD 2400 XT] vendor: Apple driver: radeon 
           v: kernel bus-ID: 01:00.0 chip-ID: 1002:94c8 class-ID: 0300 
           Device-2: Apple Built-in iSight type: USB driver: uvcvideo bus-ID: 3-4:2 
           chip-ID: 05ac:8502 class-ID: 0e02 serial: <filter> 
           Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.18.0 driver: 
           loaded: ati,radeon unloaded: fbdev,modesetting,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1680x1050 s-dpi: 96 s-size: 444x277mm (17.5x10.9") 
           s-diag: 523mm (20.6") 
           Monitor-1: LVDS res: 1680x1050 hz: 60 dpi: 99 size: 433x270mm (17.0x10.6") 
           diag: 510mm (20.1") 
           OpenGL: renderer: AMD RV610 (DRM 2.50.0 / 5.10.0-20-amd64 LLVM 11.0.1) 
           v: 3.3 Mesa 20.3.5 compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel 82801H HD Audio vendor: Apple driver: snd_hda_intel v: kernel 
           bus-ID: 00:1b.0 chip-ID: 8086:284b class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.0-20-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Broadcom BCM4321 802.11a/b/g/n vendor: Apple AirPort Extreme 
           driver: b43-pci-bridge v: N/A modules: ssb,wl port: 3000 bus-ID: 04:00.0 
           chip-ID: 14e4:4328 class-ID: 0280 
           Device-2: Marvell 88E8058 PCI-E Gigabit Ethernet driver: sky2 v: 1.30 port: 2000 
           bus-ID: 05:00.0 chip-ID: 11ab:436a class-ID: 0200 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IF-ID-1: wlan0 state: down mac: <filter> 
Bluetooth: Device-1: Apple Bluetooth HCI type: USB driver: btusb v: 0.8 bus-ID: 2-1:4 
           chip-ID: 05ac:8206 class-ID: fe01 
           Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 1.2 lmp-v: 2.0 
           sub-v: 7ad hci-v: 2.0 rev: 7ad 
           Info: acl-mtu: 384:8 sco-mtu: 64:8 link-policy: rswitch hold sniff park 
           link-mode: slave accept service-classes: rendering, capturing, object transfer, audio 
Drives:    Local Storage: total: 931.51 GiB used: 6.11 GiB (0.7%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: HDWD110 size: 931.51 GiB block-size: 
           physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200 serial: <filter> 
           rev: A8J0 scheme: GPT 
Partition: ID-1: / raw-size: 97.66 GiB size: 95.56 GiB (97.86%) used: 6.01 GiB (6.3%) fs: ext4 
           dev: /dev/sda2 maj-min: 8:2 
           ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.45%) used: 282 KiB (0.1%) fs: vfat 
           dev: /dev/sda1 maj-min: 8:1 
           ID-3: /home raw-size: 821.88 GiB size: 807.88 GiB (98.30%) used: 109.4 MiB (0.0%) 
           fs: ext4 dev: /dev/sda4 maj-min: 8:4 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 11.72 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/sda3 maj-min: 8:3 
Sensors:   System Temperatures: cpu: 54.0 C mobo: N/A gpu: radeon temp: 35.0 C 
           Fan Speeds (RPM): cpu: 1197 
Repos:     Packages: note: see --pkg apt: 1967 lib: 989 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye main non-free
Info:      Processes: 218 Uptime: 7m wakeups: 1 Memory: 5.8 GiB used: 1.84 GiB (31.7%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: N/A 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: UEFI

Re: display issue after hibernation

Posted: Sat Jun 17, 2023 9:26 am
by arp
I saw on the forum a reference to an "intel tweak" but can't find the tweak itself. I welcome a pointer or other suggestions on this display issue. Thanks!

Re: display issue after hibernation

Posted: Sat Jun 17, 2023 9:31 am
by Jerry3904
MX Tweak > Other tab, "Use intel driver etc."

Re: display issue after hibernation

Posted: Sat Jun 17, 2023 2:13 pm
by Charlie Brown
arp wrote: Sat Jun 17, 2023 9:26 am I saw on the forum a reference to an "intel tweak" but can't find the tweak itself...
Jerry3904 wrote: Sat Jun 17, 2023 9:31 am MX Tweak > Other tab, "Use intel driver etc."
It won't be there also won't work. Cause your card is AMD :

Graphics: Device-1: AMD ... driver: radeon
...
Display: ... driver: loaded: ati,radeon

Re: display issue after hibernation

Posted: Sat Jun 17, 2023 2:26 pm
by MXRobo
arp wrote: Sat Jun 17, 2023 9:26 am I welcome a pointer or other suggestions on this display issue.
Maybe clarify as to whether the display issue is hibernation or suspend.

Re: display issue after hibernation

Posted: Sat Jun 17, 2023 2:31 pm
by Charlie Brown

Code: Select all

sudo make-xorg-conf radeon -o /etc/X11/xorg.conf.d/20-radeon.conf
Reboot, try suspend then wake up.

Re: display issue after Suspend

Posted: Sat Jun 17, 2023 3:16 pm
by arp
I tried the make-xorg-conf command (and reboot) but the video issue remained after suspend...

Re: display issue after Suspend

Posted: Sat Jun 17, 2023 5:12 pm
by MXRobo
A search of iMac7,1 v: 1.0 linux waking from suspend brings up a lot of older hits regarding this.
I don't know linux, I'm a newb, but if others of more knowledge don't eventually solve the issue, maybe try light-locker, or antix.

Or disable suspend, maybe hibernate will work!
HTH

Re: display issue after Suspend

Posted: Sat Jun 17, 2023 7:23 pm
by arp
It could be lack of kernel support for the Radeon graphics device. MX 21 used to work. Any uses with retrograding to that version?

Re: display issue after Suspend

Posted: Sat Jun 17, 2023 8:27 pm
by Charlie Brown
MXRobo wrote: Sat Jun 17, 2023 5:12 pm... maybe try light-locker ...
It's already light-locker ootb.

You can install 4.19 and 6.1 kernels from "MX Package Installer" , boot with and try. (4.19 and 5.10 will be in Advanced Options on Grub menu after installation.)