View previous topic :: View next topic |
Author |
Message |
yagami Apprentice
Joined: 12 May 2002 Posts: 269 Location: Leiria, Portugal
|
Posted: Fri Sep 03, 2010 10:34 am Post subject: my X desktop completly "kinda like suspends" while |
|
|
hi
needing some help..
i am a gentoo user for a long time, dont even usually post on the forums, since i dont remember the last time i needed help.
i am having a weird problem.
sometimes, while i am away ( when sleeping or out ), my computer just suspends the Xorg Desktop.
The base system seems to still be working, the cron hourly scripts keep on running ( as the logs indicate ), but every app that is based on X just "freezes".
Description :
I start emerge on the X desktop terminal at night
i go to sleep
when i wake up in the morning, i see that the emerge just froze for about 1 hour after i left the computer. it immediatly resumes the work when i arrive at the computer.
the same thing goes for internet apps. konversation disconnects an hour after i leave the computer, then , the second i start using the computer again, it reconnects automaticly.
i tried to disable power devil ( kde user ), and other power managers.
it seems that if i completly disable monitor dpms it doesnt happen, but i dont want my monitor always on.
i started noticing this for a month now. really completly lost and in need of help
Kernel -> 2.6.35
Xorg -> 1.8.2
Desktop -> KDE and Gnome installed , running KDE
thanks |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
yagami Apprentice
Joined: 12 May 2002 Posts: 269 Location: Leiria, Portugal
|
Posted: Tue Sep 07, 2010 10:46 pm Post subject: |
|
|
well , i really doubt its the bios. there doesnt seem to be any option there regarding this problem.
also , this problem really doesnt always happen.
latelly its been happening less and less , but still does |
|
Back to top |
|
|
yagami Apprentice
Joined: 12 May 2002 Posts: 269 Location: Leiria, Portugal
|
Posted: Wed Sep 08, 2010 1:29 pm Post subject: |
|
|
just happened again today.
i am at work, and i see that my irc konversation nick just went offline.
funny thing is that i then try to login to my machine by ssh , and it works.
the machine is running , but everything related to X is "frozen".
if i do a DISPLAY=:0 and then a xset q , it doesnt do anything , xset just seems to be frozen.
really , really help !!??
if i cant sort this out , got to change to another distro , and i really dont want to leave gentoo.
thanks |
|
Back to top |
|
|
yagami Apprentice
Joined: 12 May 2002 Posts: 269 Location: Leiria, Portugal
|
Posted: Wed Sep 08, 2010 2:50 pm Post subject: |
|
|
doing in ssh :
strace xset q freezes in :
brk(0) = 0x1b5a000
brk(0x1b7c000) = 0x1b7c000
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0"}, 20) = 0
getpeername(3, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0"}, [20]) = 0
uname({sys="Linux", node="tower", ...}) = 0
access("/home/iori/.Xauthority", R_OK) = 0
open("/home/iori/.Xauthority", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=99, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa13adc6000
read(4, "\0\0\0\4\300\250\1\10\0\0010\0\22MIT-MAGIC-COOKIE-1\0"..., 4096) = 99
read(4, "", 4096) = 0
close(4) = 0
munmap(0x7fa13adc6000, 4096) = 0
getsockname(3, {sa_family=AF_FILE, NULL}, [2]) = 0
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"l\0\v\0\0\0\22\0\20\0\0\0", 12}, {"", 0}, {"MIT-MAGIC-COOKIE-1", 18}, {"\0\0", 2}, {"\264>\32Nw\2\254\350\177{p\225S\4\346\20", 16}, {"", 0}], 6) = 48
read(3, 0x1b605a0, = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}], 1, -1
?? help ?? |
|
Back to top |
|
|
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2508 Location: Silver City, NM
|
Posted: Wed Sep 08, 2010 9:24 pm Post subject: |
|
|
What a strange problem! Certainly emerge is running it its own process so it is not like one slowpoke is blocking a single execution thread. It is more like the X server has gone to sleep and everybody is stalled waiting for it to process their requests.
Would it be difficult for you to revert to the stable version of the X server?
What about your graphics driver? Can you try a different version?
Quote: | i am a gentoo user for a long time, dont even usually post on the forums, since i dont remember the last time i needed help.
i am having a weird problem. |
This indicates that a recent change you made triggered the problem. Running genlop -l will tell you what was recently emerged and when. You can use ls -l /boot to figure out when you last updated your kernel (which for me is usually very different from when the kernel source was downloaded by emerge).
You should be able to form some sort of time window of when the problem started. For example, if it happens daily then the change was probably during the week before you first noticed the problem.
This should help you narrow down which packages are most likely the cause of your problem. Of course, what the packages do will be key. If your X server was updated during the time you think the problem started, I know where I would start first. I then suggest you start playing the game called "swap swap" where you revert packages to earlier versions until the problem goes away. If you are running $arch (and not $arch~) comment lines in /etc/portage/package.keyword, if you are running $arch~ then add lines to /etc/portage/package.mask of the form: |
|
Back to top |
|
|
yagami Apprentice
Joined: 12 May 2002 Posts: 269 Location: Leiria, Portugal
|
Posted: Thu Sep 09, 2010 10:24 am Post subject: |
|
|
well , it would not be dificult to revert into a older version of X ...
but i have changed so many packages since then, i really dunno
it really seems , that with monitor with dpms off , this problem doesnt happens. i could almost say its a dpms problem |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Thu Sep 09, 2010 2:33 pm Post subject: |
|
|
This is a known problem in the intel drivers (assuming you use that since you didn't specify); newer versions (>2.10) have fixed it. |
|
Back to top |
|
|
yagami Apprentice
Joined: 12 May 2002 Posts: 269 Location: Leiria, Portugal
|
Posted: Thu Sep 09, 2010 3:15 pm Post subject: |
|
|
Ant_P wrote: | This is a known problem in the intel drivers (assuming you use that since you didn't specify); newer versions (>2.10) have fixed it. |
actually i do have an intel , but on my laptop ( and never noticed it there ... but this is kinda hard to notice actually, so maybe i suffered from it and didnt know )
in this case , i am using radeon drivers.
i today changed my xorg and drivers version , trying to see if it works |
|
Back to top |
|
|
yagami Apprentice
Joined: 12 May 2002 Posts: 269 Location: Leiria, Portugal
|
Posted: Sat Sep 11, 2010 8:28 am Post subject: |
|
|
well , i think this issue is solved.
i downgraded alot of Xorg packages to stable.
i will try to see if the problem is really the xorg-server pkg , since my desktop is kinda messy right now , i need at least a more updated mesa package.
thanks for all the help ! really glad this was fixed thanx alot really |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
yagami Apprentice
Joined: 12 May 2002 Posts: 269 Location: Leiria, Portugal
|
Posted: Sun Sep 12, 2010 1:17 pm Post subject: |
|
|
heh true
but in my case ... only the latest mesa works without flickering all the time on my video card.
i am gonna try to install just the mesa pkg and nothing else.
|
|
Back to top |
|
|
yagami Apprentice
Joined: 12 May 2002 Posts: 269 Location: Leiria, Portugal
|
Posted: Mon Sep 13, 2010 8:16 am Post subject: |
|
|
well , it started happening again after i updated some packages :
eselect-mesa
mesa
libdrm
libX11
from x11 repository
so .... i guess the problem is in there. gonna try to downgrade those packages and see if the problem is gone again |
|
Back to top |
|
|
yagami Apprentice
Joined: 12 May 2002 Posts: 269 Location: Leiria, Portugal
|
Posted: Sun Oct 09, 2011 1:04 am Post subject: |
|
|
Finally , i think i solved this problem.
Its due to .... wont believe it but true .... VSYNC disabled.
if i enable VSYNC , this bug doesnt happen !!!
weird |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|