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 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
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Tue Mar 30, 2010 10:55 am    Post subject: intel graphics - X freezing frequently Reply with quote

Hi,

I have a new computer with integrated intel graphics. I experience frequent system full freezes when running X, while working without X is stable (independent of memory usage). I am running ~amd64 and already downgraded to the latest stable intel driver x11-drivers/xf86-video-intel-2.9.1.

There are no error messages in the logs. So how can I find out what may be the cause for the freezes?
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Tue Mar 30, 2010 12:12 pm    Post subject: Reply with quote

hmm, these problems are often hard to debug. It could also be a X problem.

But first: Does switching to xf86-video-intel-2.10.0-r1 fix your problem?
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Wed Mar 31, 2010 7:53 pm    Post subject: Reply with quote

no, I think its even worse. I started with the 2.10.0-r1 version and downgraded because of the problems described. But still X freezes.

What do you recommend? Downgrading X?
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Wed Mar 31, 2010 7:56 pm    Post subject: Reply with quote

Yeah try that. If that solves it, try to file a bug report.
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Mon Apr 05, 2010 4:14 pm    Post subject: Reply with quote

i have another idea:

my laptop has an intel pentium SU4100 CPU. I couldn't find a gcc march flag for this cpu, so I chose

Code:
CFLAGS="-O2 -pipe -march=native"


Is it possible that this causes problems (because gcc uses the wrong march)? If it could be a reason for the crashes, I will try to recompile everything without any march flag.
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Wed Apr 14, 2010 4:19 pm    Post subject: Reply with quote

I now did a number of tests to locate the problem. These are:

- Magic kernel keys: While it is possible to reboot the system using sysrq - alt - b, it is not possible anymore in the frozen state.

- Hardware problems: I took the hard disc and used another laptop of the same kind to check if the freezing is a hardware problem, maybe due to too hot graphic chips. This computer ran with ubuntu linux without any problems. My gentoo freezes here as well.

- Kernel bugs: I changed from zen-2.6.33 to gentoo-2.6.33-r1 without any effect. I used syslog-ng to see if any kernel failures are reported just before the crash: none.

- xorg / driver up / downgrade: I tried the xf86-video-intel drivers in the versions 2.9.1, 2.10.0, 2.10.0-r1 and 2.11.0 and the xorg-server in the versions 1.7.6 and 1.8.0. No improvement could be observed.


Is there anything more I can test?
Back to top
View user's profile Send private message
cryptosteve
Veteran
Veteran


Joined: 04 Jan 2004
Posts: 1169
Location: GER

PostPosted: Wed Apr 14, 2010 4:57 pm    Post subject: Reply with quote

Hi,
same problem here. Several freezes with 2.6.33-gentoo-r1 with KMS enabled. I found some bug reports via google with similar results. Now I try a kernel with KMS disabled. Maybe to be continued ...
_________________
- born to create drama -
gpg: 0x9B6C7E15
CS Virtual Travel Bug: VF6G5D
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8942

PostPosted: Wed Apr 14, 2010 5:18 pm    Post subject: Reply with quote

I've noticed the same with 2.6.33 since I'm using it every time my notebook rests on its docking station (2.6.34 doesn't get the EDID info right, 2.6.33 on the other hand has broken cpufreq which makes it a pain on mobile use). On 2.6.34 I can't remember any freezes.
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Thu Apr 15, 2010 7:08 am    Post subject: Reply with quote

I got maybe similar problem, when I login (slim) to X then it freeze and screen get fuzzy, only power switch helps :( But it happed not so often, maybe once a 10-15 boots.
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


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

PostPosted: Thu Apr 15, 2010 8:10 am    Post subject: Reply with quote

Absolutely no problem here with the following on KDE-4.4.2:
Quote:
sed-notebook sed # lspci | grep Graphics
00:02.0 VGA compatible controller: Intel Corporation Mobile GME965/GLE960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GME965/GLE960 Integrated Graphics Controller (rev 0c)

sed-notebook sed # uname -pr
2.6.33-gentoo-r1 Intel(R) Core(TM)2 Duo CPU T5670 @ 1.80GHz

sed-notebook sed # eix -I -c "(libdrm|mesa|video-intel|xorg-server|dri2proto|xf86driproto|glproto)"
[ I ] media-libs/mesa (7.8.1@13.04.2010): OpenGL-like graphic library for Linux
[ I ] x11-apps/mesa-progs (7.7@13.04.2010): Mesa's OpenGL utility and demo programs (glxgears and glxinfo)
[ I ] x11-base/xorg-server (1.8.0@13.04.2010): X.Org X servers
[ I ] x11-drivers/xf86-video-intel (2.11.0@13.04.2010): X.Org driver for Intel cards
[ I ] x11-libs/libdrm (2.4.20@14.04.2010): X.Org libdrm library
[ I ] x11-proto/dri2proto (2.3@14.04.2010): X.Org DRI2 protocol headers
[ I ] x11-proto/glproto (1.4.11@14.04.2010): X.Org GL protocol headers
[ I ] x11-proto/xf86driproto (2.1.0@14.04.2010): X.Org XF86DRI protocol headers
And no graphics device, screen or monitor listed in xorg.conf.
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Thu Apr 15, 2010 8:47 am    Post subject: Reply with quote

Might be a bad memory block in the ram or swap. X requires memory, after utilizing that memory, the system freezes.

You can try a test to check out if this is true for just X or the whole system. Set a schedule to shutdown your system after 1 hour (or after a time which will ensure that X will hang). If the system shutdowns well when it got hanged, no hardware problems.
_________________
My blog
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Thu Apr 15, 2010 11:46 am    Post subject: Reply with quote

there is no time that ensures that X will freeze. And I forgot to mention: I did a memory test using memtest86+. With 4GB of RAM, swap is never used..

And isnt it very unlikely that the memory is damaged in both my laptops?
Back to top
View user's profile Send private message
goken42
n00b
n00b


Joined: 29 Oct 2008
Posts: 4

PostPosted: Thu Apr 15, 2010 12:19 pm    Post subject: Reply with quote

Hi,

I've encountered the same problem since I upgraded to xorg-server-1.8.0, using the latest intel driver. The system freezes totally randomly with non-functionning magic system keys, I can only hard reboot. Downgrading to xorg-server-1.7.2 seems to solve the problem. If I encounter freezes again, I will let you know.
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Thu Apr 15, 2010 12:20 pm    Post subject: Reply with quote

i have problem with xorg 1.7 and intel-2.9.1 :(
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Thu Apr 15, 2010 12:27 pm    Post subject: Reply with quote

goken42 wrote:
Hi,

I've encountered the same problem since I upgraded to xorg-server-1.8.0, using the latest intel driver. The system freezes totally randomly with non-functionning magic system keys, I can only hard reboot. Downgrading to xorg-server-1.7.2 seems to solve the problem. If I encounter freezes again, I will let you know.


do you mean xorg-server-1.7.6? 1.7.2 is not in portage afaik. With 1.7.6 I had freezes as well.
Back to top
View user's profile Send private message
goken42
n00b
n00b


Joined: 29 Oct 2008
Posts: 4

PostPosted: Thu Apr 15, 2010 12:52 pm    Post subject: Reply with quote

Gh0str1d3r wrote:
goken42 wrote:
Hi,

I've encountered the same problem since I upgraded to xorg-server-1.8.0, using the latest intel driver. The system freezes totally randomly with non-functionning magic system keys, I can only hard reboot. Downgrading to xorg-server-1.7.2 seems to solve the problem. If I encounter freezes again, I will let you know.


do you mean xorg-server-1.7.6? 1.7.2 is not in portage afaik. With 1.7.6 I had freezes as well.


Yes, sorry, I meant the xorg-server-1.7.6 which I don't encounter any freeze since this morning with. My graphic adapter is an i915GAV and I configured the kernel to use KMS from the boot. What is your configuration ?
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Thu Apr 15, 2010 2:46 pm    Post subject: Reply with quote

How about trying to disable the KMS.

Can I see your cat /proc/cpuinfo and cat /etc/make.conf?
_________________
My blog
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Thu Apr 15, 2010 3:47 pm    Post subject: Reply with quote

I think the recent intel driver needs kms, doesnt it?

Code:
cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Genuine Intel(R) CPU           U4100  @ 1.30GHz
stepping        : 10
cpu MHz         : 1200.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm
bogomips        : 2594.24
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Genuine Intel(R) CPU           U4100  @ 1.30GHz
stepping        : 10
cpu MHz         : 1200.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm
bogomips        : 2593.57
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:


Code:
cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"

LINGUAS="de en"

USE="-old-hd-rules udev extras -ldap fbcondecor djvu -symlink bluetooth secure-delete policykit semantic-desktop lensfun mjpeg geolocation redeyes assistant fontconfig xpm lcms wmf embedded mng cern icotools winetools java5 mysql skype oscar sql webkit faad kipi dvdr virtualbox gtk -gnome -qt3 qt4 kde dvd alsa cdr imlib pdf tiff gif jpeg history latex aac xvid a52 ogg vorbis flac mad theora asf matroska amr mikmod mp3 mplayer dvdread xine musicbrainz jack -arts -oss encode X opengl flash java xprint png quicktime samba wmp divx additions live modplug mpeg optimisememory stream win32codecs xv wxwindows cdda vcd mp4 cdio rar spell rdesktop vnc server jadetex caps svga gnutls vlm httpd vcd svg cairo kpathsea dbus hal nls dvd ffmpeg mpeg mad wxwindows aac dts a52 ogg flac theora oggvorbis matroska freetype bidi xv svga gnutls stream vlm httpd cdda vcd cdio live win32codecs cddb svga truetype vl4 vcdinfo xml vcdx v4l2 v4l skins x264 speex"

# latex useflags
USE="$USE context detex dvipdfm extra graphics latex3 luatex omega pstricks publishers science tex4ht xetex"

# power management
USE="$USE acpi apm lm_sensors pmu"

VIDEO_CARDS="intel"

INPUT_DEVICES="evdev synaptics"

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

EMERGE_DEFAULT_OPTS = "--with-bdeps=y"

PORTAGE_NICENESS=15

#PORTDIR_OVERLAY="/usr/local/portage"

ACCEPT_LICENSE="*"

ACCEPT_KEYWORDS="~amd64"

PORTAGE_IONICE_COMMAND = "ionice -c 3 -p \${PID}"

#source /var/lib/layman/make.conf


graphic card: Integrated Intel Graphics Media Accelerator 4500MHD
Back to top
View user's profile Send private message
cryptosteve
Veteran
Veteran


Joined: 04 Jan 2004
Posts: 1169
Location: GER

PostPosted: Thu Apr 15, 2010 3:49 pm    Post subject: Reply with quote

Still freezing here with KMS disabled and kernel 2.6.33-gentoo-r1. No more freezes with my old kernel 2.6.31-gentoo-r10 and i915.modeset=1 in grub.conf.
_________________
- born to create drama -
gpg: 0x9B6C7E15
CS Virtual Travel Bug: VF6G5D
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Thu Apr 15, 2010 4:08 pm    Post subject: Reply with quote

I am now trying kernel 2.6.34-rc4, I will report when it crashes.
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Thu Apr 15, 2010 8:31 pm    Post subject: Reply with quote

I just experienced another freeze with kernel 2.6.34-rc4, so it seems the problem is still there.
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Fri Apr 16, 2010 3:13 am    Post subject: Reply with quote

So this's supposed to be a kernel issue.

Why not just report a bug?

@Gh0str1d3r

You have a solo CPU?
_________________
My blog
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Fri Apr 16, 2010 10:37 am    Post subject: Reply with quote

no its a dual core (Intel SU4100)

before reporting a bug, I need to know which component causes the freeze. Are you sure that this is the kernel? I dont have any logs confirming this...
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Fri Apr 16, 2010 3:08 pm    Post subject: Reply with quote

To figure that out you need to have a look at the output of dmesg.

There are 2 ways, one that I specified before -

Quote:

You can try a test to check out if this is true for just X or the whole system. Set a schedule to shutdown your system after 1 hour (or after a time which will ensure that X will hang). If the system shutdowns well when it got hanged, no hardware problems.


In addition it will also specify if the kernel got hanged or not.

Set a timer (on your watch or something) for 1hours (or more, depending on within how much time did you set the system to shutdown), initiate the shutdown after n hours and just do your normal stuff and wait for the system to hang.

If the system hangs but it shutdowns after n hours, it means it's either an X or gnome issue.

To initiate a shutdown -

shutdown -h m

Where m is the time in minutes


Alternatively, do a hard shutdown after your system hangs, boot from a live CD and post the contents of /var/log/dmesg, /var/log/xorg.0.log from your Gentoo partitions.
_________________
My blog
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Tue Apr 20, 2010 10:54 pm    Post subject: Reply with quote

I now downgraded the video driver to xf86-video-intel-2.9.1, using it without KMS. Lets see if its stable now.

@dE_logics: I tried to boot to a usb stick system after a system freeze, but no messages in dmesg or Xorg.0.log from directly before the crash. The shutdown option I may try if it freezes again without kms. But this will take some time since the freeze is not at all reproducible, so catching a freeze before the shutdown will be luck.

If anyone has found out the reason for the system freeze, or even better a solution, please post here!
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 1, 2, 3, 4, 5, 6, 7, 8  Next
Page 1 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