Help!

xgl rendering problem

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions RSS
Next:  bluez bluetooth mods and headset installation  
Author Message
misiek
External


Since: Nov 11, 2005
Posts: 38



PostPosted: Sun Jun 10, 2007 9:18 pm    Post subject: xgl rendering problem
Archived from groups: alt>os>linux>gentoo (more info?)

problem with rendering XGL
I use beryl, fglrx and xorg.conf

# glxinfo
name of display: :0.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0 screen: 0
direct rendering: No


I was trying recompile drivers. Wired is that when I first time was
using xgl and beryl rendering worked fine even in XGL. After mayb efew
days something broked.

When I switched on regular X it works fine

I use unstable ati drivers
emerge -pvD ati-drivers

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild UD] app-admin/eselect-1.0.7 [1.0.9] USE="-bash-completion
-doc (-vim-syntax%)" 0 kB
[ebuild UD] x11-drivers/ati-drivers-8.35.5 [8.36.5] USE="acpi qt3" 0 kB

stable works the same, no rendering...

MY xorg.conf
----------------------------------------------------------------------
Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen0" 0 0
#Screen "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "TouchPad" "CorePointer"
EndSection

Section "Files"
FontPath "/usr/share/fonts/artwiz"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/freefont"
FontPath "/usr/share/fonts/sharefonts"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/unifont"
#FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
EndSection

Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA
extension
EndSubSection
Load "type1"
Load "freetype"
Load "glx" # libglx.a
Load "dri" # libdri.a
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
EndSection

Section "InputDevice"
Identifier "TouchPad"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mouse0"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"

EndSection

Section "Monitor"
Identifier "Monitor0"
#DisplaySize 420 315 # 96 DPI @ 1600x1200
#DisplaySize 370 278 # 96 DPI @ 1400x1050
DisplaySize 474 355 # 75 DPI @ 1400x1050
EndSection

Section "Device"
Identifier "Standard VGA"
Driver "vga"
EndSection

Section "Device"
Identifier "ATI Graphics Adapter connector 0"
Driver "fglrx"
Option "UseInternalAGPGART" "no"
Option "VideoOverlay" "on"
#Option "DesktopSetup" "horizontal"
Option "PCI:1:0:0"
Screen 0
Option "UseFastTLS 2"
EndSection

Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter connector 0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1400x1050"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Section "ServerFlags"
Option "AIGLX" "off"
EndSection
----------------------------------------------------------------------

Thank You for help
Back to top
misiek
External


Since: Nov 11, 2005
Posts: 38



PostPosted: Mon Jun 11, 2007 1:05 pm    Post subject: Re: xgl rendering problem [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

# 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 X300
OpenGL version string: 1.2 (2.0.6458 (8.36.5))


what is going on ../???
Back to top
Sebastian Volke
External


Since: Nov 12, 2005
Posts: 59



PostPosted: Mon Jun 11, 2007 8:17 pm    Post subject: Re: xgl rendering problem [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 11 Jun 2007 13:05:08 -0500
misiek <michal_augustyniak DeleteThis @gazeta.pl> wrote:

> # 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 X300
> OpenGL version string: 1.2 (2.0.6458 (8.36.5))
>
>
> what is going on ../???

Did you get this fglrxinfo-output after a warm or a cold boot?
fglrxinfo shows "OpenGL vendor string: ATI ..." when DRI is working and
"OpenGL vencor string: Mesa..." when it's not.
Please post your glxinfo-output as well, that is, at least the line
with "direct rendering".
Maybe you experienced your problem with XGL after a cold boot where
your aperture base wasn't set up all right by your BIOS. There are some
bugs @ bugzilla.kernel.org about this.
After a reboot it may be working.

--
*Sebastian Volke*
registered Linux user #426550

mail address: echo ozslxhmfw_gfxyn DeleteThis @lrc.sjy | perl -pe 'y/a-z/v-za-w/'
Back to top
misiek
External


Since: Nov 11, 2005
Posts: 38



PostPosted: Mon Jun 11, 2007 8:17 pm    Post subject: Re: xgl rendering problem [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> Did you get this fglrxinfo-output after a warm or a cold boot?
> fglrxinfo shows "OpenGL vendor string: ATI ..." when DRI is working and
> "OpenGL vencor string: Mesa..." when it's not.
> Please post your glxinfo-output as well, that is, at least the line
> with "direct rendering".
> Maybe you experienced your problem with XGL after a cold boot where
> your aperture base wasn't set up all right by your BIOS. There are some
> bugs @ bugzilla.kernel.org about this.
> After a reboot it may be working.
>


fglrxinfo-output I paste after reboot machine I started XGL -> beryl and
then fglrxinfo
Back to top
shishir



Joined: Jul 12, 2007
Posts: 2



PostPosted: Thu Jul 12, 2007 1:50 am    Post subject: [Login to view extended thread Info.]

I am facing the same problem, and I think the reason for this can be found in the Xorg.0.log:
(EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: __driCreateNewScreen_20050727)
(EE) AIGLX: reverting to software rendering

so i guess, it will get fix in the next or some future release.
[edit] i get great FPS, something like 4900 when i am running applications like firefox, evolution, etc, but on a lightly loaded system, i get FPS around 6000. It is just this DRI thing that is failing. I am using the ati repository for openSUSE10.2 for the drivers. Have disabled the composite extension in xorg.conf.
I think ill raise a bug in ati/amd bugzilla and see if they have any answers.
Back to top
shishir



Joined: Jul 12, 2007
Posts: 2



PostPosted: Thu Jul 12, 2007 3:59 am    Post subject: [Login to view extended thread Info.]

I dug around a bit, and saw that there actually is DRI happening, it is just some display problem the fglrx_dri.so module, or something like that, not sure.
Xorg.0.log does show that the server loaded dri, in loading fglrx.
high FPS vouches for that.
Also, i forgot to disable AIGLX in my serverflags, i think it got overwritten when i reconfigured my X.
So, I have some peace in knowing that my card is giving good performance with direct rendering.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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