Re: Geode GX2 hack

Stéphane Graber <stgraber-GeWIH/[email protected]>
Newsgroups gmane.linux.terminal-server.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Warren Togami wrote:
> Oops.  Here is the actual script.
> 
> # This script forces the geode driver for the AMD Geode GX2
> # It cannot be autodetected by upstream X.org currently.
> 
> device_hacks="$device_hacks set_xserver_geode_gx2"
> 
> set_xserver_geode_gx2() {
>      if [ -n "$(/sbin/lspci -n |grep 100b:0030)" ]; then
>          echo "        Driver \"geode\"" >> ${XCONF}
>      fi
> }
> 
> 
Works for me, we actually already have something similar in
getltscfg-cluster (yeah I know it's not the right place but we didn't
have screen-session.d back then) that would in the end have been moved
as a screen-session.d script either upstream or at least for our customers:

# Fix AMD Geode GX2 support, will probably break the other GX2 chips though
    if [ "$vendor" = "4107" ]
    then
(
cat << 'EOF'
Section "Device"
    Identifier "Card0"
    Driver "geode"
    Option "AccelMethod" "XAA"
EndSection
EOF
) > /etc/X11/xorg.conf
    fi

Ok, I know it really sucks, it applies to way too many chipsets
(basically all of AMD's) but we only have one Geode GX2 chipset at our
customers so ...

The AccelMethod "XAA" may not be required anymore but at least in Ubuntu
it used to crash X in some corner cases when using EXA (would need to
test that again).

Stéphane
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAklA1bwACgkQjxyfqkjBhuxWGQCgiNm/aPkbX+l5pYvZIOVSkt1I
OWIAn34lGDy7kVVMOrbDMQ5TR8btYb7G
=/+TS
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_____________________________________________________________________
Ltsp-developer mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help,   try #ltsp channel on irc.freenode.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.