You are not logged in.

#1 2006-08-23 13:47:58

Wikimig
Developer
From: France
Registered: 2004-12-10
Posts: 77
Website

[SOLVED] Yet another XGL troubleshooting

Hi everybody,

First of all : thank you for everything that makes the Arch community that good!

Here is my xgl issue :

I am trying to use xgl with KDE. Without xgl, KDE works fine on my laptop. fglrx drivers are installed on my ATI Mobility Radeon 9700 (beyond kernel) and I have direct rendering :

[miguel@WKMLpt ~]$ glxinfo | grep direct
direct rendering: Yes
[miguel@WKMLpt ~]$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 2.0.5946 (8.27.10)

(If I try these as root, I get "Xlib: Invalid MIT-MAGIC-COOKIE-1 key / Error: unable to open display :0" But I guess this is normal as it is fixed with a "xhost +")

I then tried to install xgl following the Wiki.

But now, if I have "kdm" in my DAEMONS rc.conf section and reboot, KDE starts with this xgl shade that makes me think everything is OK. But as KDE is still starting, the screen goes black for half a second and when it is back : xgl doesn't seems to be up anymore. I can't see the xgl style shade, the KMenu takes a while to draw itself and xgl effects are not available.

And I get :

[miguel@WKMLpt ~]$ glxinfo | grep direct
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
direct rendering: No
[miguel@WKMLpt ~]$ fglrxinfo
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 1.2 (2.0.5946 (8.27.10))

If I just go under a VT, stop KDM, re-launch the X server (with CTRL-ALT-Del) and then launch KDM : everything is up! I have XGL running with all effects (thought resizing is a bit slow).

Actually xgl works fine if I boot up without "kdm" in my rc.conf and then type :

[root@WKMLpt miguel]# /etc/rc.d/kdm start

GDM doesn't seem to manage to launch KDE neither!

Any idea of :

1) Why xgl does not work when I have it on my rc.conf?
2) Why fglrx drivers does not seem to work when I use xgl
3) What this "Xlib:  extension "XFree86-DRI" missing on display ":0.0"." means?

I guess these 3 are linked...

My rc.conf :

#################################################################################################
#                                       ServerLayout
#################################################################################################
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "aticonfig-Screen[0]" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

#################################################################################################
#                                       Files & Module
#################################################################################################
Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "extmod"
    Load  "xtrap"
    Load  "record"
    Load  "dbe"
    Load  "freetype"
    Load  "type1"
    Load  "glx"
    Load  "dri"
EndSection

#################################################################################################
#                    Keyboard
#################################################################################################
Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

#################################################################################################
#                    Mouse
#################################################################################################
Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

#################################################################################################
#                    Monitor
#################################################################################################
Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

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

#################################################################################################
#                    Device
#################################################################################################
Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"               # [<bool>]
        #Option     "DefaultRefresh"         # [<bool>]
        #Option     "ModeSetClearScreen"     # [<bool>]
    Identifier  "Card0"
    Driver      "vesa"
    VendorName  "ATI Technologies Inc"
    BoardName   "RV350 [Mobility Radeon 9600 M10]"
    BusID       "PCI:1:0:0"
EndSection

Section "Device"
    Identifier  "aticonfig-Device[0]"
    Driver      "fglrx"
EndSection

#################################################################################################
#                    Screen
#################################################################################################
Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    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

#################################################################################################
#                    DRI Addition
#################################################################################################
Section "DRI"
    Mode       0666
EndSection

#################################################################################################
#                    End
#################################################################################################

Thank you for your help...

Last edited by Wikimig (2008-07-03 17:47:52)

Offline

#2 2006-08-28 10:04:51

kcbanner
Member
From: Toronto, Canada
Registered: 2006-08-28
Posts: 43
Website

Re: [SOLVED] Yet another XGL troubleshooting

Hi,

I have this same problem exactly!

I also noticed that when I wanted to use the composite extension in my xorg.conf, DRI would stop working too. I read the Xorg.0.log and noticed "fglrx: Composite extension enabled, disabling direct rendering". This seems a little moronic as composite needs DRI to function up to speed tongue.

I'm running an ATI x800xl.

Hope this helps,
-kcbanner

Offline

#3 2006-09-15 14:24:35

Wikimig
Developer
From: France
Registered: 2004-12-10
Posts: 77
Website

Re: [SOLVED] Yet another XGL troubleshooting

Thanks for your reply!

I still don't know what is going on... I guess this is something with KDE because I managed to get XGL under Gnome and everything was fine after a reboot.

This issue is a bit to deep in the system for me : I think I'll wait for an update that would fix it!

Still looking for advice thought.

Thanks.

Offline

#4 2006-09-17 07:42:48

karag
Member
Registered: 2006-09-05
Posts: 84

Re: [SOLVED] Yet another XGL troubleshooting

Hi all
I was just about to post a thread to say I cannot get xgl to start - even though I follow the wiki instructions. I agree with datcracka's thoughts, the wiki entry is confusing and needs simplifying although there do seem to plenty of people using xgl ok.
when I start xgl all I get is a white screen and a mouse. I install packages from danimoth repo, and have tried to start through both kdm methods mentioned in wiki. I have an update system, and nvidia ti4400 video card.
thanks.

Offline

#5 2006-09-17 08:18:10

onearm
Member
From: Anywhere but here
Registered: 2006-07-06
Posts: 359
Website

Re: [SOLVED] Yet another XGL troubleshooting

karag wrote:

Hi all
I was just about to post a thread to say I cannot get xgl to start - even though I follow the wiki instructions. I agree with datcracka's thoughts, the wiki entry is confusing and needs simplifying although there do seem to plenty of people using xgl ok.
when I start xgl all I get is a white screen and a mouse. I install packages from danimoth repo, and have tried to start through both kdm methods mentioned in wiki. I have an update system, and nvidia ti4400 video card.
thanks.

Same thing here (only that I have an ati 9700). I've read a lot of howtos, wikis and guides about xgl but I've never been able to get beyond that white screen.
The funny thing is that with the koroora live cd xgl worked at first shot even with kde


To get something done, a committee should consist of no more than three persons, two of them absent.
--
My Github

Offline

#6 2006-09-18 01:52:07

leif_thande
Member
Registered: 2005-07-09
Posts: 20

Re: [SOLVED] Yet another XGL troubleshooting

Same problem here with radeon x700. I used autoaur to compile xgl. I read on gentoo wiki that the problem was present but fixed in March.

If anyone find a solution please tell us. I really want to try Xgl, the features look pretty cool.

Offline

#7 2006-09-18 06:07:11

Kenetixx
Member
From: /unvrs/mlkywy/earth/aust/home
Registered: 2006-09-09
Posts: 258
Website

Re: [SOLVED] Yet another XGL troubleshooting

I have the same white screen now this is after an update to the newwer packages , cant even get gnome back up at all now. I should have left it alone neutral


http://binaryritual.net

There is no spoon.......

Offline

#8 2006-09-19 04:12:13

Kenetixx
Member
From: /unvrs/mlkywy/earth/aust/home
Registered: 2006-09-09
Posts: 258
Website

Re: [SOLVED] Yet another XGL troubleshooting

Just hosed my system a few hours ago trying to get it to work LOL
Have reinstalled arch and will try it again when i get home from work, are many ppl having problems with the latest builds?


http://binaryritual.net

There is no spoon.......

Offline

#9 2006-09-28 11:11:06

onearm
Member
From: Anywhere but here
Registered: 2006-07-06
Posts: 359
Website

Re: [SOLVED] Yet another XGL troubleshooting

datracka were right, tried Xgl after some time I had renounced to make it work and now it works (after last pacman -Syu).
There are still some problems (win-key not working, mplayer stretches the video, every window get loaded in the same desktop) but it's not a big deal
/me doing some googling


To get something done, a committee should consist of no more than three persons, two of them absent.
--
My Github

Offline

Board footer

Powered by FluxBB