Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
intel graphics - X freezing frequently
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2296
Location: Adendorf, Germany

PostPosted: Mon May 10, 2010 1:01 pm    Post subject: Reply with quote

If it is a kernel problem, why is it perfectly stable on my laptop? With the same chipset another user reported to have the freezing issue?

Are you using acpi and apm? Are you letting powerdevil and laptop-mode-tools control cpu-freq and video-out? Do you have freezes in simple DEs like twm or fvwm, too?

My kernel config:
Code:
sed-notebook sed # egrep "(AGP|DRM).*=y" /usr/src/linux/.config
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=y
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y

_________________
Edited 220,176 times by Yamakuzure
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Mon May 10, 2010 1:36 pm    Post subject: Reply with quote

Yamakuzure wrote:
If it is a kernel problem, why is it perfectly stable on my laptop? With the same chipset another user reported to have the freezing issue?

Are you using acpi and apm? Are you letting powerdevil and laptop-mode-tools control cpu-freq and video-out? Do you have freezes in simple DEs like twm or fvwm, too?

My kernel config:
Code:
sed-notebook sed # egrep "(AGP|DRM).*=y" /usr/src/linux/.config
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=y
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y


That is my settings as well, only that I dont have the AMD64 agp activated (shouldnt you have either AMD or INTEL, but not both?)

I am using acpi and powerdevil. laptop-mode-tools is not installed and I even cant activate APM in my menuconfig (the menu entry is simply missing). Can you post your complete .config here so I can test it (only changing it to include my hardware drivers)? And please tell me which kernel you are exactly using.
Back to top
View user's profile Send private message
Iguana8649
n00b
n00b


Joined: 27 Jan 2005
Posts: 38

PostPosted: Mon May 10, 2010 1:51 pm    Post subject: Reply with quote

Yamakuzure wrote:
If it is a kernel problem, why is it perfectly stable on my laptop? With the same chipset another user reported to have the freezing issue?

-snip


I'm sorry, just to confirm, you're on amd64 right?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9280

PostPosted: Mon May 10, 2010 7:58 pm    Post subject: Reply with quote

So the conclusion is that it's a platform issue?

~amd64 here too were it is perfectly stable (didn't count dolphin tearing down the whole system).
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Mon May 10, 2010 8:09 pm    Post subject: Reply with quote

genstorm wrote:
So the conclusion is that it's a platform issue?

~amd64 here too were it is perfectly stable (didn't count dolphin tearing down the whole system).


i am using ~amd64 too
Back to top
View user's profile Send private message
Iguana8649
n00b
n00b


Joined: 27 Jan 2005
Posts: 38

PostPosted: Tue May 11, 2010 8:43 am    Post subject: Reply with quote

Then what else can it be?
Same packages version, same arch, same kernel. One has problems, the other not. Weird,

Off-topic, why you're using Compiz with KDE?
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Tue May 11, 2010 10:57 am    Post subject: Reply with quote

thats why I ask those with a stable system to post their .config here, so all of us experiencing freezes can test that.
Back to top
View user's profile Send private message
Iguana8649
n00b
n00b


Joined: 27 Jan 2005
Posts: 38

PostPosted: Tue May 11, 2010 3:10 pm    Post subject: Reply with quote

I'm using Ubuntu, though I've Gentoo on a chroot for someday to swap.
Want my .config ? Better than nothing, I suppose?

Pastebin link above expires in a month.

WARNING: I'm on x86.
Back to top
View user's profile Send private message
rahulthewall
Veteran
Veteran


Joined: 01 Nov 2007
Posts: 1264
Location: Zürich

PostPosted: Tue May 11, 2010 4:15 pm    Post subject: Reply with quote

There is a lot of corruption in graphics as well - firefox goes awry, window decorations go haywire as well ... definitely something with xorg-server-1.8 and the ensuing updates ... too lazy to downgrade for now. Hoping xorg-server-1.8.1 fixes it. Should be out any day now.
_________________
Who shall guard the guards?
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Tue May 11, 2010 4:21 pm    Post subject: Reply with quote

I don't have any graphic bugs, only freezes..
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2296
Location: Adendorf, Germany

PostPosted: Wed May 12, 2010 3:23 pm    Post subject: Reply with quote

Gh0str1d3r wrote:
(shouldnt you have either AMD or INTEL, but not both?)
Yes, you are right. No idea what activated it. As I do not have an athlon64/opteron north bridge, the setting does nothing on my laptop.
Gh0str1d3r wrote:
I am using acpi and powerdevil. laptop-mode-tools is not installed and I even cant activate APM in my menuconfig (the menu entry is simply missing). Can you post your complete .config here so I can test it (only changing it to include my hardware drivers)? And please tell me which kernel you are exactly using.
Yes, ACPI + Powerdevil here, too.

My Config : http://pastebin.com/4UmWr23u
my System: Linux sed-notebook 2.6.33-gentoo-r2 #4 SMP Mon May 10 17:22:01 CEST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T5670 @ 1.80GHz GenuineIntel GNU/Linux
_________________
Edited 220,176 times by Yamakuzure
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9280

PostPosted: Wed May 12, 2010 4:58 pm    Post subject: Reply with quote

Well, updating to 1.8.1 certainly didn't correct the xrandr issues - X still resets when trying to change screen res.
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Wed May 12, 2010 9:56 pm    Post subject: Reply with quote

thank you for posting your .configs, I compiled them and will report if they are stable for me as well.
Back to top
View user's profile Send private message
Bakterie
n00b
n00b


Joined: 10 Sep 2004
Posts: 12

PostPosted: Thu May 13, 2010 10:25 am    Post subject: Reply with quote

I just want to add another data point to the discussion. I'm experiencing the exact same problem with freezes. The only solution has for me been to use a kernel < 2.6.32, currently 2.6.31-r10 works perfectly. I'm using intel driver 2.9.1 on an Intel 82G35. I had this problem on x86, but when my system drive recently died I installed amd64 instead, and the problem is the same, so at least for me x86 vs amd64 made no difference.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9280

PostPosted: Thu May 13, 2010 3:00 pm    Post subject: Reply with quote

The fun thing is, my experience with 2.6.31(+kms) was the exact opposite - I switched to 32 as soon as it got to rc2.
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Thu May 13, 2010 6:39 pm    Post subject: Reply with quote

Yamakuzure wrote:
Gh0str1d3r wrote:
(shouldnt you have either AMD or INTEL, but not both?)
Yes, you are right. No idea what activated it. As I do not have an athlon64/opteron north bridge, the setting does nothing on my laptop.
Gh0str1d3r wrote:
I am using acpi and powerdevil. laptop-mode-tools is not installed and I even cant activate APM in my menuconfig (the menu entry is simply missing). Can you post your complete .config here so I can test it (only changing it to include my hardware drivers)? And please tell me which kernel you are exactly using.
Yes, ACPI + Powerdevil here, too.

My Config : http://pastebin.com/4UmWr23u
my System: Linux sed-notebook 2.6.33-gentoo-r2 #4 SMP Mon May 10 17:22:01 CEST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T5670 @ 1.80GHz GenuineIntel GNU/Linux


this config runs almost stable for me. I could work a day before it crashed the first time. But still this is unacceptable.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9280

PostPosted: Thu May 13, 2010 7:05 pm    Post subject: Reply with quote

so, what was the difference? could you run a diff over both configs?
Back to top
View user's profile Send private message
hephooey
n00b
n00b


Joined: 24 Feb 2003
Posts: 74

PostPosted: Thu May 13, 2010 11:24 pm    Post subject: Reply with quote

I am also having trouble with the latest kernel/intel driver, now I stick with kernel 2.6.31 and xf86-video-intel 2.9.1, which is very stable, I can run my laptop for weeks. with the lastest kms kernel and xf86-video-intel (I have not try rc kernels and xf86-video-intel-9999). The system will halt randomly in a few hours. Since it is a fairly annoying bug and I have an working alternative, I have not tried to find a relible way to reproduce it. I have trouble with sleep using 2.6.32 and 2.6.33 in my T61. After a few days it will fail to sleep and the only key working is the power key. I am using a x86 system and xorg-server 1.7.7. I cannot test xorg-server 1.8 with xf86-video-intel 2.9.1 since it cannot compile.
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Fri May 14, 2010 10:07 am    Post subject: Reply with quote

ok, here is the diff output:

http://pastebin.com/Ef8dfTiM

but its really a lot, no chance to test one-by-one what made it more stable. The new .config belongs to kernel-2.6.33-gentoo-r2, my old .config to kernel-2.6.33-gentoo-r1.
Back to top
View user's profile Send private message
npc
n00b
n00b


Joined: 22 Oct 2005
Posts: 32

PostPosted: Sat May 15, 2010 10:41 pm    Post subject: Reply with quote

Hey guys, i've been facing the same trouble on my eeepc 1000ha. Ever since i upgraded to new and testing drivers and xorg while keeping my 2.6.30 kernel i was getting an awful lot of screen corruptions and wierd colorful frags and crazy black squares all over the screen (Xdamage complaints and all). So an upgrade to gentoo-sources-2.6.33-r2 fixed most of those things, but i started facing wierd lockups and segfaults while running opengl stuff.
I narrowed it down to a few significant situations in which i get hardlocks or segmentation faults from Xorg. I think it's a xorg issue with KVM like you guys have mentioned. I tried disabling KVM on my kernel config, but I couldnt start X and i'm too lazy to hack around xorg to make it run, but since you guys have already tested KVM and non-KVM setups i don't think that would be of any help.

I've disabled the xscreensaver, because whenever it goes fullscreen after a few seconds it hardlocks. I preview any opengl screensaver on the small preview box, hitting the button to make it go fullscreen results in trouble.
Running a simple opengl game on fullscreen in any resolution but my native 1024x600 results in a segfault and xorg quits, but i can restart it normally and repeat the procedure and get another segfault.
Running the same game on fullscreen and full resolution results in a hardlock.

my intel hardware: "00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)"
xorg is 1.8.0
kernel is gentoo-sources-2.6.33-r2
xf86-video-intel is 2.11.0

So, I suppose the weak spot is mixing modesetting and 3d acceleration, if i keep off those things, the enviroment should be stable... i hope. I miss the jumping cow saver though. :(
I'm looking forward to testing xorg-server-1.8.1 or perhaps new xf86-video-intel drivers. Maybe that will fix those issues.
_________________
Tiburcio da Silva
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat May 15, 2010 11:59 pm    Post subject: Reply with quote

FWIW, my lockups went away after downgrading xorg-server
1.8 to 1.7.7 - might be worth a try
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
npc
n00b
n00b


Joined: 22 Oct 2005
Posts: 32

PostPosted: Sun May 16, 2010 12:00 am    Post subject: Reply with quote

Hey guys, it's worse than I thought. I used lxrandr to quickly change xorg screen resolution and do video out for presentations and such. Guess what, it results in hardlocks. This is a real problem since I use this eeepc for presentations at work.
_________________
Tiburcio da Silva
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9280

PostPosted: Sun May 16, 2010 12:31 am    Post subject: Reply with quote

Well yes, if you rely on a real stable Intel graphics system with all features turned on, you currently have to use xorg-server-1.7.7. Even with 1.8.1 there's no way of using xrandr reliably, regardless of X compositing enabled or not, same for hardware 3d acceleration.

For me there's no way back as I'm not going to re-migrate X to a pre-udev state. At least in case it doesn't get worse - running a plain office environment without doing any OpenGL stuff or using xrandr is possible right now without show-stoppers.
Back to top
View user's profile Send private message
npc
n00b
n00b


Joined: 22 Oct 2005
Posts: 32

PostPosted: Sun May 16, 2010 1:07 am    Post subject: Reply with quote

Yup, genstorm, i see you. Thanks for the tip, albright. :)
I've downgraded to 1.7.7 and it seems to work fine. I can't afford to rely on unstable 1.8.x, but i must say that the new non-fdi-hal-hell setup is much more simple and makes much more sense. I had already migrated to new xorg.conf.d style and i was hoping a downgrade wouldnt be necesary, but bummer, at least there are no hardlocks anymore... i hope.

I'm still looking forward to a xrandr-stable future release, I even saved the .confs for later reuse, hope it doesn't take much longer.

Thanks again folks. :D
_________________
Tiburcio da Silva
Back to top
View user's profile Send private message
rahulthewall
Veteran
Veteran


Joined: 01 Nov 2007
Posts: 1264
Location: Zürich

PostPosted: Sun May 16, 2010 9:52 am    Post subject: Reply with quote

Well, I updated to the xorg-server-1.8.1 and am currently rebuilding my kernel. The config posted above didn't help me much - it is vastly different from mine and reconfiguring my kernel based on that would be too much of a bother.

Freezes - I don't know. They are very random and I will report if there is one. However, there is definite graphic corruption. Websites like http://www.cricinfo.com don't render properly with firefox - yet they are fine with both konqueror and chromium. Can anyone point out as to why this might be the case?
_________________
Who shall guard the guards?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 3 of 8

 
Jump to:  
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