using opengl ( google earth ) hardlocks X on intel x3100

hi, i recently installed opensuse 11.0 on my laptop. i previously had mandriva 2008.1 installed which worked fine. however now, if i try to use google earth after a certain amount of time, X will hardlock, and i can’t do anything to unlock it except just pressing the power button ( the machine isn’t hardlocked, as i have pure-ftpd installed and i can still reach it, also the machine responds to me pressing the power button, it gracefully powers down, stopping services, unmounting my drives, etc. the only thing that doesn’t exit is X )

as it does this the screen goes black, then comes back, but with a hardlocked image. i am running kde 4.1 beta from the buildservice ( KDE:KDE4:Factory ) also the plasma 3d world applet won’t even try to run. it gives me the message: “This object could not be created for the following reason: This system does not support OpenGL applets”. am i missing something?

confusingly, kde 3d effects work fine.

xorg.conf:

# /.../
# SaX generated X11 config file
# Created on: 2008-06-21T03:24:43+1200.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/share/fonts/misc:unscaled"
  FontPath     "/usr/share/fonts/local"
  FontPath     "/usr/share/fonts/75dpi:unscaled"
  FontPath     "/usr/share/fonts/100dpi:unscaled"
  FontPath     "/usr/share/fonts/Type1"
  FontPath     "/usr/share/fonts/URW"
  FontPath     "/usr/share/fonts/Speedo"
  FontPath     "/usr/share/fonts/PEX"
  FontPath     "/usr/share/fonts/cyrillic"
  FontPath     "/usr/share/fonts/latin2/misc:unscaled"
  FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/Type1"
  FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/share/fonts/baekmuk:unscaled"
  FontPath     "/usr/share/fonts/japanese:unscaled"
  FontPath     "/usr/share/fonts/kwintv"
  FontPath     "/usr/share/fonts/truetype"
  FontPath     "/usr/share/fonts/uni:unscaled"
  FontPath     "/usr/share/fonts/CID"
  FontPath     "/usr/share/fonts/ucs/misc:unscaled"
  FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/misc:unscaled"
  FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/Type1"
  FontPath     "/usr/share/fonts/misc/sgi:unscaled"
  FontPath     "/usr/share/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AIGLX" "on"
  Option       "AllowMouseOpenFail" "on"
  Option       "ZapWarning" "on"
EndSection

Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "microsoftpro"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
  Driver       "synaptics"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Emulate3Buttons" "on"
  Option       "HorizScrollDelta" "0"
  Option       "InputFashion" "Mouse"
  Option       "Name" "Synaptics;Touchpad"
  Option       "Protocol" "explorerps/2"
  Option       "SHMConfig" "on"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[3]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "ImPS/2 Generic Wheel Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  DisplaySize  304 190
  HorizSync    30-62
  Identifier   "Monitor[0]"
  ModelName    "LGPHILIPSLCD LCD MONITOR"
  Option       "DPMS"
  Option       "PreferredMode" "1280x800"
  VendorName   "LPL"
  VertRefresh  43-60
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline 	"1280x800" 83.46 1280 1344 1480 1680 800 801 804 828
  Modeline 	"1280x800" 69.75 1280 1328 1360 1440 800 803 809 823 +HSync -Vsync
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1280x800" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1280x800" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x800" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x800" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "965 GM"
  BusID        "0:2:0"
  Driver       "intel"
  Identifier   "Device[0]"
  Option       "monitor-LVDS" "Monitor[0]"
  VendorName   "Intel"
EndSection



Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice  "Mouse[3]" "SendCoreEvents"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection


Section "DRI"
    Group      "video"
    Mode       0666
EndSection

Section "Extensions"
  Option       "Composite" "on"
EndSection


glxinfo | grep direct

direct rendering: Yes

Same problem here trying to run google earth.

I do not use KDE4 though but the KDE 3.5.9.

I can run nexuiz but I have experienced the same problem trying to run other windows 3d applications using wine.

Black screen for a couple of seconds and then X freezes totally.

Does anyone have any ideas? Or just why this is happening…

@anyone with this problem:

Please Add This Into You Xorg.conf ( /etc/X11/xorg.conf ):

Option “AccelMethod” “exa”
Option “MigrationHeuristic” “greedy”
Option “ExaNoComposite” “false”

In The Section “Device” after “VendorName”

Don’t Touch Anything Else.
If You Are Unsure About What You Are Doing, Please Don’t Do It.

Once You Have Done This Logout, Then Log In Again And Try To Use Google Earth, Other 3D Apps, Etc.

What Ever You Do: DO NOT USE SAX ( YAST -> Hardware -> Graphics Card & Monitor ) After This, It Will REMOVE These Options!

Ben

FYI: Google Earth Now Works Beautifully.
FYI2: Its Already Got A Similar Bug Report: #400788, Hopefully An Update Will Fix This In The Future

Thank you!

Your solution works here.
I now have GoogleEarth working…

Hi Guys. I am using openSuse 11. When I launch Google Earth, my X Server crashes. I am using intel 915GM. Would the same instructions help me as well?

Thanks. This worked for my Intel 945 board as well. I was having this black screen problem while playing Quake 3 Arena using wine on my OpenSuSE 11.0.

This worked like a charm.

@Ben_Cook2
You’re a genius, worked for intel 82P965/G965
thanks! thanks!

Hi to all,
I have an similar issue. I want to use the the windows version of Google Earth and Picasa3 for GeoTagging, this is not supported with the Linux version so far.

I use: Laptop HP6715B, OpenSuse11, wine 1.1.16, graphic card: ATI onboard X1200, I think (but looks like it’s a wrong assumption) the graphic works fine. glxinfo and glx_glxgears shows the expected results.
But if I start Google Earth, then the compete screen gets really cloudy, looks like I have the desktop twice on the screen you can´t recognize any menu/buttons or icons. I captured the screen , but this picture looks correct, I see my background picture and the message, that Google Earth will start in the Direct X8 mode.

I hope somebody can help me.
Thank very much.
Thomas

Hi,
The new ATI Catalyst driver 8.11 from 12-Nov.-08 solve my issue.
Thomas

Just to warn all of you: if you upgrade to OpenSUSE 11.1 then you will need to reapply the three items I listed above.

They had to reverse the default back to what it was because it caused too many problems performance wise for other Intel users :frowning:

I have a Dell inspiron 1525 with x3100 and now graphics works, but I have still low fps running glxgears(500 fps circa) and the icons in the system tray are invisible… any suggestion?

I have the exact same problem. I applied the changes to xorg.conf and when I logged out and back in again I noticed the sound, updates and network manager icons missing from the system tray. In their place are some block icons ??

yes, but only if the kwin effects are enabled. if they’re disabled, i see a one color system tray without icons.

I got the same result related to the icons in the system tray. Also, GoogleEarth still didn’t render correctly at all. In fact, the only difference I noticed was the system tray icons.