LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   ATI fglrx and XGL (Has anyone got this to work yet ?) (https://www.linuxquestions.org/questions/linux-desktop-74/ati-fglrx-and-xgl-has-anyone-got-this-to-work-yet-535209/)

hoop 03-06-2007 06:38 PM

ATI fglrx and XGL (Has anyone got this to work yet ?)
 
PLEASE ONLY REPLY IF YOU CURRENTLY HAVE XGL RUNNING ON ATI with the PROPRIETARY FGLRX DRIVER, there seems to be alot of misleading information floating about about this issue. I would just like to know if someone has it working with either 'compiz' or 'beryl'. If so could you please put a link to any information that is reliable or just which distro and ATI card you have this working on. NO THEORIES please just tried and tested methods. I and so many others would really appreciate it and Thank you in advance.

Simon Bridge 03-07-2007 03:54 AM

You cannot have compiz and DRI with fglrx. This is because the proprietary ATI driver doesn't support the composite extension. Most people use compositing with xgl when they have an ATI graphics card.

What is misleading about that?

b0uncer 03-07-2007 04:02 AM

Like said.

Here's a good starting point if you like Beryl:
http://www.beryl-project.org/distros.php

Note the "howto install" links. When you install fglrx you don't get out of it without having DRI, but to get DRI working you'll need to disable composite extension from your X. That's pretty clearly said I think. The other option is to have composite extension enabled and not have DRI. Third option is to have two X servers configured and used when needed: one with fglrx+DRI enabled, without composite, and one with composite and without DRI -- I don't see any reason to use fglrx+DRI, though, unless you play 3d games or do some mad 3d modeling, and in those cases I see no reason to use composite :)

EDIT: this whole composite-3d-drivers-direct-rendering stuff is pretty confusing. I've found myself several times now thinking I know how it works, and the next time I go about installing either Beryl or Compiz the way I like I always find myself wondering why the setup doesn't work. It seems the instructions that work for one setup don't work for another one; I'm sorry if you've got a misleading picture of this, and I hope things change in the future so that people could get that kind of stuff work more easily, but as of now it's easier to not try get everything possible at once..just decide what you want exactly and locate instructions for that. If you really do want both 3d desktop effects trough composite and ATI's proprietary drivers enabled direct rendering, consider having two X server configurations that you can more or less easily switch when needed.

hoop 03-07-2007 02:15 PM

DRI ? who cares
 
Thx for replies. I have had this completely upside down.

GLX is the OpenGL interface for 3D modelling on X, such things as 3D desktops(compiz) and games

DRI is a Direct Rendering Infrastructure which is an added feature of ATI cards to give Xorg Direct Access to graphics Hardware.

Although these are different things, You cant have GLX support without DRI on ATI cards with the proprietary drivers. So which video driver are you supposed to use with XGL ?

Simon Bridge 03-08-2007 12:09 AM

http://www.ubuntuforums.org/showthread.php?p=739758
http://nicofo.tuxfamily.org/dotclear...eryl-on-fedora
http://polishlinux.org/choose/compar...istro2=Zenwalk
Read carefully... again, this is all non-ambiguous.

blade013be 03-08-2007 01:43 AM

Hi all !

For those who already read my previous post, I just edit it now by replacing it completely because ... it works now :D

So, now I have Ubuntu 6.10, the latest proprietary driver 8.14.something from ATI and the latest Beryl SVN.

These are my repos :
Quote:

# Automatically generated sources.list
# http://www.ubuntu-nl.org/source-o-matic/
#
# If you get GPG errors with this sources.list, locate the GPG key in this file
# and run these commands (where KEY is replaced with that key)
#
# gpg --keyserver hkp://subkeys.pgp.net --recv-keys KEY
# gpg --export --armor KEY | sudo apt-key add -

# Ubuntu supported packages
# GPG key: 437D05B5
deb http://be.archive.ubuntu.com/ubuntu edgy main restricted
deb http://be.archive.ubuntu.com/ubuntu edgy-updates main restricted
deb http://security.ubuntu.com/ubuntu edgy-security main restricted

# Ubuntu community supported packages
# GPG key: 437D05B5
deb http://be.archive.ubuntu.com/ubuntu edgy universe multiverse
deb http://be.archive.ubuntu.com/ubuntu edgy-updates universe multiverse
deb http://security.ubuntu.com/ubuntu edgy-security universe multiverse

# Ubuntu backports project
# GPG key: 437D05B5
deb http://be.archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse

# Kubuntu.org bleeding edge KDE
# GPG key: DD4D5088
deb http://kubuntu.org/packages/kde-latest edgy main

# Kubuntu.org bleeding edge Koffice
# GPG key: DD4D5088
#deb http://kubuntu.org/packages/koffice-latest edgy main

# Kubuntu.org bleeding edge amaroK
# GPG key: DD4D5088
#deb http://kubuntu.org/packages/amarok-latest edgy main

# Upstream Wine
# GPG key: 387EE263
deb http://wine.budgetdedicated.com/apt edgy main

# Canonical Commercial packages
# GPG key: 437D05B5
deb http://archive.canonical.com edgy-commercial main

# Seveas' Ubuntu Packages
# GPG key: 1135D466
deb http://seveas.imbrandon.com edgy-seveas all

# Beryl

deb http://ubuntu.beryl-project.org/ edgy main
deb-src http://ubuntu.beryl-project.org edgy main

# beryl-svn
deb http://download.tuxfamily.org/3v1deb edgy beryl-svn
deb-src http://download.tuxfamily.org/3v1deb edgy beryl-svn
I installed my ubuntu, made the full update after I adapted my sources.list

Then I did the installation of the ATI driver following this HOWTO : http://wiki.cchtml.com/index.php/Ubu...allation_Guide (you'll need to add the lines for Composite and AIGLX in the xorg.conf at the end of the installation, because for some reason it disappears if you did it in the beginning)

This is my xorg.conf after ATI driver installation :
Quote:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection

Section "Files"

# path to defoma fonts
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/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
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" "pc105"
Option "XkbLayout" "be"
Option "XkbOptions" "lv3:ralt_switch"
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"

# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"

# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"

# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. RV350 NP [Mobility Radeon 9600/9700 M10/M11]"
Driver "ati"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. RV350 NP [Mobility Radeon 9600/9700 M10/M11]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Disable"
EndSection

Section "ServerFlags"
Option "AIGLX" "off"
EndSection
Then I did the installation of Beryl (note that I first installed the latest stable version of beryl, which means without the SVN repos, and that didn't work and gave the same problem as with generic drivers, it gave a white screen on loading beryl, so I updated Beryl after that... maybe first installing the stable version helped)

Here's the HOWTO I used (skip the driver part, get directly to the beryl installation) :
http://ubuntuforums.org/showthread.php?t=291464

deloptes 03-31-2007 01:22 PM

There was a discussion about the installation and support (I tried to install this on SUSE 10.2 but it is not SUSE specific problem).

I have put there the steps which way I installed the driver - including patch and so on.

You can download the tar.bz2 file unpack it and rebuild the driver yourself. Let me know if it worked or any help was needed.

https://bugzilla.novell.com/show_bug.cgi?id=257060


All times are GMT -5. The time now is 03:26 AM.