LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-17-2017, 08:55 PM   #1
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
using xfce, screen does not come back on from suspend, on kernels newer than 4.4.38 on Slackware64-14.2


So on Slackware64-14.2 when using xfce the screen does not come back on after resuming from suspend. This issue did not appear until after kernel 4.4.38. This issue does not appear to effect kde. If console switching takes place then the screen wakes back up.
 
Old 11-18-2017, 05:19 PM   #2
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 238Reputation: 238Reputation: 238
In XFCE there is a setting in the powermanager plugin to lock the screen before suspend. A mouse click is needed to wake the screen, i.e it lights up and asks for the login password. Could something like this be at work here?

EDIT: maybe a problem with an extra graphics card as encountered here?

Last edited by brobr; 11-19-2017 at 02:14 PM.
 
Old 11-20-2017, 10:20 AM   #3
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
I have this same issue with Slackware64-14.2 multilib running Nouveau. I also frequently when using KDE have the issue that after a suspend the AR9271 wireless dongle is hung in a stopped state. Instead I've built and used the latest window manager versions of WindowMaker, FVWM, and E, which have never hung after suspend. I access suspend by creating icons with pm-suspend-hybrid xlock calls. I've been unable to get a trace or seen anything in the logs for X.Org.log that indicate anything nefarious causing this hang, but it would be nice to get XFCE and KDE working properly. Maybe by reporting it here volkerdi or AlienBob might be aware and find or suggest some test to narrow down the issue. Cheers.
 
1 members found this post helpful.
Old 11-20-2017, 01:27 PM   #4
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 238Reputation: 238Reputation: 238
Hi bamunds, I had some problems after suspending at work and resuming at home; mostly something with dns and/or caching by browsers. Anyway, plainly annoying. I now have a script in /etc/pm/sleep.d/10_disconnect that ensures that all connections get stopped via networkmanager before sleep kicks in:

Code:
#!/bin/bash
#
# want to disconnect internet stuff when going to sleep
# kill wifi connection; kill mail, browsers, dropbox
# like nm does after losing connection
#

case $1 in
    hibernate)
	/usr/bin/nmcli networking off
    ;;
    suspend)
	/usr/bin/nmcli networking off
    ;;
    thaw)
    ;;
    resume)
	/usr/bin/nmcli networking on 
	# maybe not to save battery when opening on train    
    ;;
    *) 
    ;;
esac
scripts in /etc/NetworkManager/dispatcher.d then take over.

Maybe something to consider?

hth
 
Old 11-20-2017, 08:21 PM   #5
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
Thanks for the suggestion. I'm not using network manager, I'm using WICD, so would have to adapt this for WICD. However, I'm not sure why the problem would only exist with the DE's and not the WM's. Also I don't have two graphics cards, so the XFCE failing to provide a screen is also pointing to an issue. I've read the article you referred to and it doesn't apply to my setup, the only thing I could try is applying the NVIDIA drivers instead of Nouveau just to see if it makes a difference. Maybe I'll try that this weekend.
 
Old 10-23-2018, 09:32 AM   #6
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
Started having issue after a refresh install

I'm not sure what corrected this issue shortly after my last post. However, after a re-install of the base system, due to problems created after trying KTOWN latest, I again have this problem happening. IE. The system will not recover from from a suspend and only provides a blank screen or if screen recovers the wireless interface will not. I'm using kernel 4.4.157, the standard DE's and WM's, and Nouveau. The problem is now happening with both 'stable' WM's and DE's. I suspect the issue is with DBUS attempting to communicate with the wifi dongle (AR9271) and waiting for reply, which it never gets. I have found that in the cases when the screen recovers if I disconnect the wifi dongle, then stop /etc/rc.d/rc.wicd, wait about 30 seconds, re-insert the wifi dongle, and start rc.wicd that sometimes the network will recover. Usually I can wait two to ten minutes for a recovered screen, but have been forced to hard reboot the PC. Nothing in X.org.
DMesg says the following:
[27357.658636] ath: phy0: Unable to reset channel (2412 Mhz) reset status -5
[27357.658651] ath: phy0: Unable to set channel
[27357.761600] ath: phy0: Chip reset failed
[27357.761607] ath: phy0: Unable to reset channel (2412 Mhz) reset status -22
[27357.761743] ath: phy0: Unable to set channel
[27357.874294] ath: phy0: Failed to wakeup in 500us

I'll appreciate help in diagnosing or suggestions on fixes. Cheers, BrianA_MN
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
get xfce 4.6.2 to lock screen on suspend vayira Linux - Desktop 1 07-02-2012 12:46 PM
[SOLVED] No screen after suspend in -current using XFCE Kreezii Slackware 3 06-27-2012 01:34 PM
[SOLVED] Newer Kernels and the Need for Initrd vtel57 Slackware 14 04-04-2011 01:18 PM
TARPIT and newer kernels felosi Linux - Security 25 05-10-2008 12:10 AM
kmod is used in newer kernels but... hampel Linux - General 1 08-27-2003 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration