LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-01-2014, 12:37 PM   #1
sonicpp
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Rep: Reputation: Disabled
Swapping broke my graphics


Hi Linux community,

I searched in "whole Internet" and still dont know what to do. My problem is when Linux load/save memory into HDD (hibernate, swapping), my graphics will broke. Just look at the picture: http://www.nahraj-obrazek.cz/?di=113936968770. You can see that some fonts are broken, and some images too (actually, icons on left up corner were broken too, but when i move cursor over them, they will "repare" themselves. But you can still see some garbage over there. Sometimes it also broke my wallpaper image. After system restart is it all OK (or when I disable and enable again Xfce compositor, see here: http://www.nahraj-obrazek.cz/?di=913936974186 - but disabling/enabling compositor will not fix everything). This problem is on my notebook very long time (over one year or so? I really dont remember). I have old notebook (asus x51l) with integrated Intel graphics card.

My system:
Kernel: 3.12-1-amd64
Distribution: Debian GNU/Linux testing (jessie)
DE: Xfce 4.10

Thank you for your help
 
Old 03-03-2014, 04:57 PM   #2
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733
This sounds like a Xorg error to me. Since you're on a testing branch of Debian, my first question would be, have you tried hibernation with some stable distro (like off of a liveCD, obviously) to see if that makes a difference?

What version of the Intel driver are you using?

You can do this:
Code:
grep LoadModule -A5 /var/log/Xorg.0.log
and look for the 'intel' result, and find the version of the driver.
 
1 members found this post helpful.
Old 03-04-2014, 03:06 PM   #3
sonicpp
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you very much for your reply. I will try some stable distro tomorrow.

I also checked the driver version, here is "intel" output for your command (it is not whole output, but i hope it is enough):

Code:
[    17.093] (II) LoadModule: "intel"
[    17.093] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    17.161] (II) Module intel: vendor="X.Org Foundation"
[    17.161] 	compiled for 1.14.3, module version = 2.21.15
[    17.161] 	Module class: X.Org Video Driver
[    17.161] 	ABI class: X.Org Video Driver, version 14.1
 
Old 03-08-2014, 08:34 AM   #4
sonicpp
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
So, i installed Gnome Shell on my Debian testing and there is still problem when swapping (or hibernating). I tried it just to make sure it is not Xfce problem.

Next, i installed Ubuntu 13.10 and it looks like it's alright. Then i installed Xfce on this Ubuntu and... still OK.
Here is LoadModule output from Ubuntu:
Code:
[    20.676] (II) LoadModule: "intel"
[    20.676] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    20.684] (II) Module intel: vendor="X.Org Foundation"
[    20.684] 	compiled for 1.14.3, module version = 2.99.904
[    20.684] 	Module class: X.Org Video Driver
[    20.684] 	ABI class: X.Org Video Driver, version 14.1
Is it problem of Intel driver, isn't it?
 
Old 03-09-2014, 03:17 PM   #5
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733
I think it might be, yes.
 
Old 03-09-2014, 06:48 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,685

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
I searched in "whole Internet"

seeing as that is humanly impossible ........

any errors in the xorg.0.conf. Any (EE) listed
any errors in the message log ? /var/log/messages
 
1 members found this post helpful.
Old 03-10-2014, 04:07 AM   #7
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
I have a MA3 asus motherboard on one of my machines. never would sleep or hibernate right. I spent a long time looking up what and how to's. Finally I came up with a hybrid of them yes there is a hybrid sleep and hibernate mode. and yes if I boot that machine into another system that is not configured hybrid.
I will have a blank screen and do a hard reboot still comes back blank I need to disconect the electricity to it or manual reset bios.

you may want to look at a bios update but tell you the truth on a old machine better just to create the hybrid shutdown. Hybrid Sleep hibernate

Last edited by Drakeo; 03-10-2014 at 05:22 AM.
 
Old 03-10-2014, 08:10 AM   #8
sonicpp
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
John VV: in Xorg.0.log are no errors, but in Xorg.0.log.old is something:
Code:
...
[   302.619] (II) intel(0): Printing DDC gathered Modelines:
[   302.619] (II) intel(0): Modeline "1280x800"x0.0   71.00  1280 1328 1360 1440  800 803 809 823 -hsync -vsync (49.3 kHz eP)
(EE) [mi] EQ overflowing.  Additional events will be discarded until existing events are processed.
(EE) 
(EE) Backtrace:
(EE) 0: /usr/bin/Xorg (xorg_backtrace+0x3d) [0x7fab8f32dccd]
(EE) 1: /usr/bin/Xorg (mieqEnqueue+0x22b) [0x7fab8f30fc2b]
(EE) 2: /usr/bin/Xorg (QueuePointerEvents+0x52) [0x7fab8f1f7802]
(EE) 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7fab8aba2000+0x571d) [0x7fab8aba771d]
(EE) 4: /usr/bin/Xorg (0x7fab8f18c000+0x91ab8) [0x7fab8f21dab8]
(EE) 5: /usr/bin/Xorg (0x7fab8f18c000+0xb9fb0) [0x7fab8f245fb0]
(EE) 6: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fab8e28a000+0xf210) [0x7fab8e299210]
(EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (ioctl+0x7) [0x7fab8cfad857]
(EE) 8: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmIoctl+0x34) [0x7fab8e081764]
(EE) 9: /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1 (0x7fab8b3a6000+0x67af) [0x7fab8b3ac7af]
(EE) 10: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7fab8b5c7000+0xe500e) [0x7fab8b6ac00e]
(EE) 11: /usr/bin/Xorg (0x7fab8f18c000+0xcc3e7) [0x7fab8f2583e7]
(EE) 12: /usr/bin/Xorg (0x7fab8f18c000+0xd6c80) [0x7fab8f262c80]
(EE) 13: /usr/bin/Xorg (0x7fab8f18c000+0xd57f2) [0x7fab8f2617f2]
(EE) 14: /usr/bin/Xorg (miPointerUpdateSprite+0x27a) [0x7fab8f31991a]
(EE) 15: /usr/bin/Xorg (0x7fab8f18c000+0x18db7b) [0x7fab8f319b7b]
(EE) 16: /usr/bin/Xorg (0x7fab8f18c000+0xe30d1) [0x7fab8f26f0d1]
(EE) 17: /usr/bin/Xorg (0x7fab8f18c000+0x12a41e) [0x7fab8f2b641e]
(EE) 18: /usr/bin/Xorg (0x7fab8f18c000+0x5d1a7) [0x7fab8f1e91a7]
(EE) 19: /usr/bin/Xorg (0x7fab8f18c000+0x60cef) [0x7fab8f1eccef]
(EE) 20: /usr/bin/Xorg (0x7fab8f18c000+0x135d53) [0x7fab8f2c1d53]
(EE) 21: /usr/bin/Xorg (0x7fab8f18c000+0x1567a4) [0x7fab8f2e27a4]
(EE) 22: /usr/bin/Xorg (mieqProcessDeviceEvent+0x1cd) [0x7fab8f31000d]
(EE) 23: /usr/bin/Xorg (mieqProcessInputEvents+0xf7) [0x7fab8f310127]
(EE) 24: /usr/bin/Xorg (ProcessInputEvents+0x9) [0x7fab8f21dc19]
(EE) 25: /usr/bin/Xorg (0x7fab8f18c000+0x54d52) [0x7fab8f1e0d52]
(EE) 26: /usr/bin/Xorg (0x7fab8f18c000+0x4455a) [0x7fab8f1d055a]
(EE) 27: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7fab8ceed995]
(EE) 28: /usr/bin/Xorg (0x7fab8f18c000+0x4489f) [0x7fab8f1d089f]
(EE) 
(EE) [mi] These backtraces from mieqEnqueue may point to a culprit higher up the stack.
(EE) [mi] mieq is *NOT* the cause.  It is a victim.
[   464.427] [mi] EQ processing has resumed after 85 dropped events.
[   464.438] [mi] This may be caused my a misbehaving driver monopolizing the server's resources.
[   592.235] (II) UnloadModule: "synaptics"
...
In messages are only 2 lines, probably not errors msgs.

Drakeo: Thanks for tip.
 
Old 03-11-2014, 01:37 PM   #9
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733
If hibernation works as expected in Ubuntu, and not in Debian Testing, then the problem is not with your hardware. It is a software issue, either centering around your driver version or your configuration itself. You can try looking at the Xorg and Kernel configs on Ubuntu and attempt to mimic them in Debian Testing.

Why do you feel it is best for you to be running Debian Testing? Are you attempting to help test Debian for bugs? If so, you might want to investigate this issue further and then report back to Debian. Otherwise, try running Debian Stable, or Ubuntu. I feel like you'll have better luck, and a lot less frustration.

Cheers!
 
1 members found this post helpful.
Old 03-17-2014, 09:47 AM   #10
sonicpp
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Sorry for the delay.

I tried a lot of distributions, but I always returned back to Debian. Stable has a bit outdated apps for me and on Testing I found bugs very rarely.

I am using Linux for several years. You are right notKlaatu, it is maybe time to help testing Debian "testing" . Thanks for your tips,
I'll be back! (after I figure out where the problem lies)!
 
Old 03-17-2014, 10:00 AM   #11
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,908

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Have you tried running "xrefresh -root"?

If the problem goes away, it is a driver issue, though there is the possibility that the window manager or some such has an issue with the driver.
 
Old 03-18-2014, 06:24 PM   #12
sonicpp
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
hi, jpollard
i tried it..and it does not do anything

maybe i should try some tips what notKlaatu mentioned, but i am little busy this week.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
issue after swapping XVR-100 to XVR-1200 graphics accelorator The_Bug Solaris / OpenSolaris 1 02-11-2010 03:04 PM
Basic help with swapping graphics cards (nVidia to ATI) LauMars Linux - Hardware 3 10-21-2007 06:34 PM
HOW TO -Swapping HD-0 to HD-1 ? penguinlnx Linux - Hardware 9 05-01-2005 05:36 AM
swapping HD ZaphyR Linux - Hardware 2 01-16-2005 10:11 AM
swapping hardware blitzen Linux - Hardware 4 08-01-2004 04:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:04 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