fglrx in ltsp clients

David Van Assche dvanassche at gmail.com
Sun Oct 28 18:34:16 GMT 2007


Hi,
   I've been waiting for the new ATI drivers for many months to finally get
X working properly on my thin clients (all running ati X1450 radeon.)
Finally they've come out and I've tried following this here:
http://www.howforge.com/how-setup-fglrx-8-42-3-and-compiz-ubuntu-gutsy

So... I go into the /opt/ltsp/i386 chroot and follow instructions, but being
specific about the kernel, since I have a 64bit kernel on the server, but 32
bit clients...:

#sudo module-assistant prepare -- want to use i386 kernel, not current kernel
sudo module-assistant update
sudo module-assistant build -k /path/to/kernel -f fglrx
sudo module-assistant install -k /path/to/kernel fglrx

Some of these steps give errors about not finding the kernel image...
however, all the necessary files for building seem there, so maybe
ltsp-update-image will do this for me... If I go into an actual client and
do the steps, it works fine... So how should I be doing this from the
chroot?

Maybe I've gone wrong here... not sure... but even so, it does look like its
trying to load the new fglrx driver.

So... Then I put in my own /etc/xorg.conf that looks like so:

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
    InputDevice    "Synaptics Touchpad"
EndSection
Section "Files"
    FontPath     "/usr/share/fonts/X11/misc"
    FontPath     "/usr/share/fonts/X11/cyrillic"
    FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/Type1"
    FontPath     "/usr/share/fonts/X11/100dpi"
    FontPath     "/usr/share/fonts/X11/75dpi"
    FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
    Load  "bitmap"
    Load  "dbe"
    Load  "ddc"
    Load  "dri"
    Load  "extmod"
    Load  "freetype"
    Load  "glx"
    Load  "int10"
    Load  "type1"
    Load  "vbe"
EndSection
Section "InputDevice"
    Identifier  "Generic Keyboard"
    Driver      "kbd"
    Option      "CoreKeyboard"
    Option      "XkbRules" "xorg"
    Option      "XkbModel" "pc104"
    Option      "XkbLayout" "us"
EndSection
Section "InputDevice"
    Identifier  "Configured Mouse"
    Driver      "mouse"
    Option      "CorePointer"
    Option      "Device" "/dev/input/mice"
    Option      "Protocol" "ExplorerPS/2"
    Option      "ZAxisMapping" "4 5"
    Option      "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
    Identifier  "Synaptics Touchpad"
    Driver      "synaptics"
    Option      "SendCoreEvents" "true"
    Option      "Device" "/dev/psaux"
    Option      "Protocol" "auto-dev"
    Option      "HorizScrollDelta" "0"
EndSection
Section "InputDevice"
    Identifier  "stylus"
    Driver      "wacom"
    Option      "Device" "/dev/wacom"       # Change to
    Option      "Type" "stylus"
    Option      "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection
Section "InputDevice"
    Identifier  "eraser"
    Driver      "wacom"
    Option      "Device" "/dev/wacom"       # Change to
    Option      "Type" "eraser"
    Option      "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection
Section "InputDevice"
    Identifier  "cursor"
    Driver      "wacom"
    Option      "Device" "/dev/wacom"       # Change to
    Option      "Type" "cursor"
    Option      "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection
Section "Monitor"
    Identifier   "Builtin LCD"
    HorizSync    28.0 - 70.0
    VertRefresh  43.0 - 60.0
    Option      "DPMS"
EndSection
Section "Device"
    Identifier  "ATI Technologies Inc M22 [Radeon Mobility M300]"
    Driver      "fglrx"
    Option      "VideoOverlay" "on"
    Option      "OpenGLOverlay" "off"
    BusID       "PCI:1:0:0"
EndSection
Section "Screen"
    Identifier "Default Screen"
    Device     "ATI Technologies Inc M22 [Radeon Mobility M300]"
    Monitor    "Builtin LCD"
    DefaultDepth     24
    SubSection "Display"
            Depth     1
            Modes    "1400x1050"
    EndSubSection
    SubSection "Display"
            Depth     4
            Modes    "1400x1050"
    EndSubSection
    SubSection "Display"
            Depth     8
            Modes    "1400x1050"
    EndSubSection
    SubSection "Display"
            Depth     15
            Modes    "1400x1050"
    EndSubSection
    SubSection "Display"
            Depth     16
            Modes    "1400x1050"
    EndSubSection
    SubSection "Display"
            Depth     24
            Modes    "1400x1050"
    EndSubSection
EndSection
Section "DRI"
    Mode         0666
EndSection
Section "Extensions"
    Option      "Composite" "Enable"
EndSection

I add XF86CONFIG_FILE=/etc/myxorg.conf to
/var/lib/tftpboot/ltsp/i386/lts.conf
and just in case XCOLOR_DEPTH=16 (I've tried taking this out too)

I also get a failed module: binfmt-464c, which I've blacklisted... and now
get no more errors...

Anyway... start up client and X fails:

"(II) ATI Proprietary Linux Driver Version Identifier:8.42.3
(II) ATI Proprietary Linux Driver Release Identifier:
UNSUPPORTED-8.423.2

(II) ATI Proprietary Linux Driver Build Date: Oct 19 2007 16:13:26

Backtrace:
0: Xorg(xf86SigHandler+0x81) [0x80c9581]
1: [0xffffe420]
2: /usr/lib/xorg/modules/drivers//fglrx_drv.so(atiddxProbeMain+0x13b)
[0xb78f956b]
3: Xorg(DoConfigure+0x228) [0x80ba7c8]
4: Xorg(InitOutput+0x655) [0x80a8b05]
5: Xorg(main+0x27b) [0x8076ceb]
6: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7d40050]
7: Xorg(FontFileCompleteXLFD+0x1e1) [0x8076241]"

I've tried logging into the client and checking xorg.conf, but of course,
that no longer exists  in gutsy :-)

Any help to get this working is much appreciated... I've been banging my
head against a brick wall for a while now...

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/edubuntu-users/attachments/20071028/04a3c40a/attachment.htm 


More information about the edubuntu-users mailing list