LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-27-2016, 01:03 PM   #1
marinacar
LQ Newbie
 
Registered: Dec 2009
Location: UK
Distribution: Slackware64-15
Posts: 23

Rep: Reputation: 5
Some text disappears in X when I resume from hibernation (by closing lid) of laptop. Slackware 14.2


Hi,
my laptop runs Slackware 14.2 64b which comes with kernel 4.4.14 and I have multilib support. I have a NVidia GTX 970 graphics card (installed with the propietary NVidia drivers). All was fine with my display before upgrading from 14.1 current (few months before the release of 14.2) to 14.2.

Now every now and then, and a bit randomly, when I resume from hibernation some text disappears from my screen when I move over it with the mouse. To get out of this mess I normally have to reboot. This problem appreared with 14.2 when freshly installed, even before I updated the graphics NVidia drivers. Everything else worked like a charm straight after upgrading to 14.2, so I have no other issues.

I heard this is possibly linked to the 4.4 kernel as people in other distros have reported a similar bug. Is there a way I can solve it without going to kernel 4.5? That is not yet available under slackware (current seems to use 4.4.23).

A distro change is ruled out.

Thanks,
Marina

Last edited by marinacar; 10-27-2016 at 01:09 PM.
 
Old 10-27-2016, 08:51 PM   #2
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
Quote:
A distro change is ruled out.
As such, you will be recommended to install a kernel from kernel.org.
If indeed it's a bug with 4.4.x and you're not interested in using the OS nouveau driver
instead of the proprietary nVidia, you might as well install "your own" kernel.
http://docs.slackware.com/howtos:sla...kernelbuilding
Don't worry that the 2.6 kernel series is mentioned. The routine is the same.
Anecdotally, 4.8.4 (the current stable Linux release) is known to work fine with 14.2.
 
1 members found this post helpful.
Old 10-28-2016, 04:45 AM   #3
xj25vm
Member
 
Registered: Jun 2008
Posts: 393

Rep: Reputation: 68
Same here

I can confirm that I'm experiencing the same issue here - but on an Intel video card - in case it helps anybody.

I normally "cure" it but closing down all open programs, and restarting X with CTRL+ALT+Backspace. At least it saves time on waiting for a reboot :-)

Last edited by xj25vm; 10-28-2016 at 04:46 AM.
 
Old 10-28-2016, 06:40 AM   #4
marinacar
LQ Newbie
 
Registered: Dec 2009
Location: UK
Distribution: Slackware64-15
Posts: 23

Original Poster
Rep: Reputation: 5
Hi,
the problem "seems" to have disappeared using kernel 4.8.4. This is when running with the default graphics drivers provided by the kernel. I need to re-install the NVidia drivers and check that as well.

It has only been one morning and not too many hibertation, so I will leave the machine to go back and forth from hibernation for a couple of day and multiple times (as in real usage) before I confirm the problem is solved, but it is promising.

I had thought about installing 4.8.4 but I had not realised it was reported to work well on slackware 14.2, so that's great and I have done it.

I followed the guidelines on the link STDOUBT provided:
http://docs.slackware.com/howtos:sla...kernelbuilding

I made my new .config with the command line
zcat /proc/config.gz > /usr/src/linux/.config

where linux now is soft linked to linux-4.8.4. I saved a copy of the .config in my linux-4.4.14 source folder (just in case).

Then I compiled the new kernel and just accepted the default options (Enter) for all. Some of the recommendation for changes on that site are not that relevant as they are already implemented in the default config file coming with slackware14.2 64b

The part with lilo in the instructions was not that useful to me, as with my current hardware it does not work.
I use the refind software to keep the machine dual boot (at least), and so I placed the bzImage in the folder "/boot/efi/EFI/slackware"

and modified the file "/boot/efi/EFI/Boot/refind.conf" as follows:

scanfor manual
menuentry "Slackware14p2_k484" {
loader /EFI/slackware/bzImage_1
options "root=/dev/sda1 ro"
icon /EFI/Boot/icons/os_linux.png
}

menuentry "Slackware14p2" {
loader /EFI/slackware/vmlinuz
options "root=/dev/sda1 ro"
icon /EFI/Boot/icons/os_linux.png
}

menuentry "Windows8" {
loader /EFI/Microsoft/Boot/bootmgfw.efi
icon /EFI/Boot/icons/os_win8.png"
# disabled
}

Now my new kernel is the first option, hence default. Nearly everything on my laptop works perfectly well out of the box (apart from few programs which need to be recompiled when upgrading kernel, like nvidia drivers and virtualbox)

Thanks
 
  


Reply

Tags
hibernation, slackware 14.2



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
[SOLVED] Hibernation on laptop lid close action. ewlabonte Slackware 2 09-05-2016 11:28 PM
[SOLVED] Slackware 14.2 - how to suspend when closing the lid on the laptop? aldorgan Slackware 8 09-05-2016 11:27 PM
No standby modus available when closing laptop lid Tankura Linux - Laptop and Netbook 4 08-09-2015 03:25 AM
[SOLVED] Enabling resume from hibernation in Slackware on a laptop with Ubuntu and Windows 8 ecoslacker Slackware 2 05-04-2013 02:05 AM
screen hanging after closing laptop lid makaukelvin Linux - Laptop and Netbook 1 04-27-2012 08:50 PM

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

All times are GMT -5. The time now is 03:30 PM.

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