Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Google Earth with XGL/Beryl and ATI fglrx drivers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
jeff777
n00b
n00b


Joined: 04 Nov 2003
Posts: 45
Location: Vancouver, BC

PostPosted: Sun Mar 18, 2007 5:17 am    Post subject: Google Earth with XGL/Beryl and ATI fglrx drivers Reply with quote

I can't get google earth to work on my system under XGL and Beryl. I have a Macbook pro with a Radeon Mobility x1600. I have to use XGL instead of AIGLX because the Macbook pro's Radeon Mobility x1600 isn't supported by the open source radeon driver and AIGLX doesn't work with the closed source ati-driver.

Anyway, I get the following error when I try to start google earth:
Code:

$ googleearth
Xlib:  extension "XFree86-DRI" missing on display ":0.0".


I understand that there's something you have to do make 3D programs run under XGL. Also, I know that the closed source ATI drivers do something different with DRI. However, I haven't been able to find an understandable explanation of how this works. I'm not sure if my problem is with XGL or with fglrx. Is it possible to run google earth under XGL? Can anyone shed some light on how XGL, fglrx, and DRI are supposed to work?

Code:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)

Section "Files"
        FontPath        "/usr/share/X11/fonts/misc"
        FontPath        "/usr/share/X11/fonts/cyrillic"
        FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/Type1"
        FontPath        "/usr/share/X11/fonts/CID"
        FontPath        "/usr/share/X11/fonts/100dpi"
        FontPath        "/usr/share/X11/fonts/75dpi"
        # paths to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
        Load    "extmod"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "vbe"
        Load    "dri"
        Load    "glx"
        Load    "freetype"
#       Load    "int10"
        Load    "type1"

EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
        Option          "XkbOptions"    "ctrl:nocaps"
        #Option          "XkbOptions"    "ctrl:swapcaps"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "Device"                "/dev/input/mouse1"
        Option          "Protocol"              "auto-dev"
        Option          "LeftEdge"              "100"
        Option          "RightEdge"             "1120"
        Option          "TopEdge"               "50"
        Option          "BottomEdge"            "310"
        Option          "FingerLow"             "25"
        Option          "FingerHigh"            "30"
        Option          "MaxTapTime"            "180"
        Option          "MaxTapMove"            "220"
        Option          "MaxDoubleTapTime"      "180"
        Option          "VertScrollDelta"       "20"
        Option          "HorizScrollDelta"      "50"
        Option          "MinSpeed"              "0.80"
        Option          "MaxSpeed"              "0.90"
        Option          "AccelFactor"           "0.0020"
        Option          "SHMConfig"             "on"
        Option          "TapButton1"            "1"
        Option          "TapButton2"            "3"
        Option          "TapButton3"            "2"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        Option          "DPMS"
EndSection

Section "Device"
        Identifier      "ATI Technologies, Inc. FireGL Mobility T2 (M10 NT)"
        Driver          "fglrx"
        BusID           "PCI:1:0:0"
        Option          "XAANoOffscreenPixmaps" "true"
        Option          "DRI"                   "true"
        Option      "backingstore"  "true"
        Option      "RenderAccel"   "true"
        Option      "DesktopSetup"  "0x00000100"  # clone
        Option      "MonitorLayout" "LVDS,CRT"
        Option      "MetaModes" "1600x1200-1024x768 1600x1200-1280x1024 1600x1200-1600x1200"
EndSection


Section "Extensions"
        Option "Composite" "false"
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "ATI Technologies, Inc. FireGL Mobility T2 (M10 NT)"
        Monitor         "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1440x900"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1440x900"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1440x900"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1440x900"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1440x900"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1440x900" "1024x768"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Screen0"
        InputDevice     "Generic Keyboard"
        InputDevice     "Synaptics               Touchpad"      "AlwaysCore"
        InputDevice     "Configured Mouse"      "CorePointer"
        Option          "AIGLX"                 "true"
EndSection

Section "DRI"
        Group   0
        Mode    0666
EndSection

Code:

$ fglrxinfo
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon X1600 Generic
OpenGL version string: 1.2 (2.0.6234 (8.32.5))
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sun Mar 18, 2007 5:35 am    Post subject: Reply with quote

I believe Google-earth uses opengl for the display, and the ATI drivers do not support composite and DRI at the same time: hence those errors you are receiving.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sun Mar 18, 2007 8:35 am    Post subject: Reply with quote

googleearth with xgl unfortunately is atm a "no-go", I can start it, but it hangs on startup-screen & consumes loads of cpu (100%),

as ppurka already wrote, this is due to missing composite, dri, GLX_EXT_texture_from_pixmap support of the ati-drivers at once / at all

so you'll have to switch to xorg, when you want to use googleearth
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
arabis
Apprentice
Apprentice


Joined: 11 Apr 2005
Posts: 195
Location: Québec, Canada

PostPosted: Mon Mar 19, 2007 9:32 pm    Post subject: Reply with quote

I can start and use Googleearth under xgl, but it is quite unstable (X crashes sometimes) and not very fluid. With Beryl-0.2.0, it is more stable.
But despite XGL, Ati-drivers has a bug with Googleearth. In order to make it work, you have to get libGL.so.1 from a precedent version of ati-drivers and put it in /opt/googleearth/.

See there:https://forums.gentoo.org/viewtopic-t-516665-highlight-googleearth+ati.html
_________________
Acer Ferrari 4002 WLMI fr
AMD64, Turion ML-30
ATI Mobility X700
DVDR double couche
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
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