Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

XGL and NVIDIA

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
366 posts
  • Page 7 of 15
    • Jump to page:
  • Previous
  • 1
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • …
  • 15
  • Next
Author
Message
thaswiftness
n00b
n00b
Posts: 34
Joined: Tue May 31, 2005 7:59 am
Location: Florida

  • Quote

Post by thaswiftness » Fri Feb 17, 2006 7:29 am

Well I have it all working fine with Xgl, compiz, xfce4, nvidia 420go... I just followed the Wiki's tips

However, whenever I play something in mplayer, my cpu runs at 100% and the video / whole desktop really, becomes very sluggish, almost to the point of locking up.

As for gaming, supertux runs great. Enemy-Territory runs TERRIBLY. I haven't really tested anything else.

Anyone else experience problems with mplayer/movies or games like ET?

:(
Top
mikkoloo
Apprentice
Apprentice
User avatar
Posts: 159
Joined: Tue Nov 04, 2003 3:19 am
Location: .se and .nl

  • Quote

Post by mikkoloo » Fri Feb 17, 2006 7:36 am

thaswiftness wrote:Well I have it all working fine with Xgl, compiz, xfce4, nvidia 420go... I just followed the Wiki's tips

:(
I use xfce too, do you get the window decorations on it? Could you just share your upstart procedure, cause I would like to think I followed the wiki too :/ Thanks for any help on this.
----
AMD 64 4000+, nforce4 mobo, 2GB RAM, 200Gb SATA HDD, xfx Geforce 7900GT XE
----
HP pavilion zv5470EA: AMD 64 3400+, 512 Mb RAM, 80 Gb HDD, nvidia GeForce4 440 Go 64M, Cabletron RoamAbout 802.11 DS (orinoco gold) WiFi. Creative Webcam Pro (ov511)
Top
thaswiftness
n00b
n00b
Posts: 34
Joined: Tue May 31, 2005 7:59 am
Location: Florida

  • Quote

Post by thaswiftness » Fri Feb 17, 2006 8:26 am

Code: Select all

swift@swiftoo ~ $ cat .startxgl 
#!/bin/bash
Xgl :1 -ac -accel glx:pbuffer -accel xv &
sleep 3
echo "======= COMPIZ ==========="
DISPLAY=:1 LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace decoration wobbly fade switcher minimize cube rotate zoom scale move resize place opacity &
sleep 3
echo "====== DECORATIONS ======="
DISPLAY=:1 gnome-window-decorator &
sleep 3
echo "======= XFCE ============"
DISPLAY=:1 xfce-mcs-manager
DISPLAY=:1 xfdesktop &
DISPLAY=:1 exec xfce4-panel
~/.startxgl is what I run, and I have window decorations. Hope this helps.
Top
d is for decker
n00b
n00b
Posts: 4
Joined: Tue Feb 14, 2006 2:21 am

  • Quote

Post by d is for decker » Fri Feb 17, 2006 8:34 am

I am at a loss. I have followed the instructions from the Wiki exactly. I have been actively keeping up w/ hanno's overlay, and I still get black windows.

I did the following to emerge it during my last attempt (hanno rev 7. svn):

Code: Select all

emerge mesa
eselect opengl set nvidia
emerge nvidia-glx glitz xgl
eselect opengl set xorg-x11
emerge compiz 
I run the server and compiz using the following:

Code: Select all

Xgl :1 -ac -accel glx:pbuffer  -accel xv:fbo &

DISPLAY=:1 LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ \
compiz gconf &

DISPLAY=:1 \
gnome-terminal
I have tried LD_PRELOAD and various options for glx:* and xv:* , w/o any change.
The most I can say is that something is wrong w/ my compiz. If i start gnome-terminal before compiz, it renders just fine but as soon as compiz starts, the window goes black.
I would really appreciate any insights into what I am doing wrong.
Thanks in advance.

Here is some system info, let me know if more would be helpful.

Code: Select all

0000:01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 440 Go 64M] (rev a3)

*  media-libs/glitz
      Latest version installed: 0.5.3
*  media-libs/mesa
      Latest version installed: 6.4.3_alpha20060216
*  x11-base/xgl
      Latest version installed: 20060216
*  x11-wm/compiz
      Latest version installed: 20060216
*  media-video/nvidia-kernel
      Latest version installed: 1.0.8178-r3
*  media-video/nvidia-glx
      Latest version installed: 1.0.8178

Linux peace 2.6.15-suspend2-r5 #4 PREEMPT Tue Feb 7 00:32:58 PST 2006 i686 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux
Note: my system is 32bit, not 64 ~lazy~

EDIT: ps: i noticed that mesa depends on glproto-1.4.4 in hanno's svn rev 7, but that is not included
EDIT: found glproto-1.4.4 after sync, cleaned and emerge'd everything again, still no dice.
Last edited by d is for decker on Fri Feb 17, 2006 10:34 am, edited 1 time in total.
Top
BlackBelt
Guru
Guru
User avatar
Posts: 369
Joined: Sat Nov 27, 2004 10:54 pm
Location: Messina/Pisa
Contact:
Contact BlackBelt
Website

  • Quote

Post by BlackBelt » Fri Feb 17, 2006 8:37 am

Hi guys,


I'm running xgl with nvidia.



Code: Select all

./startxgl 1
>Starting XGL at Display: 1
========= XGL ============
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/Nabucodonosor:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
No matching visual for __GLcontextMode with visual class = 4 (32770), nplanes = 24
No matching visual for __GLcontextMode with visual class = 4 (32770), nplanes = 24
Could not init font path element /usr/share/fonts/OTF, removing from list!
Could not init font path element /usr/share/fonts/CID/, removing from list!
======= COMPIZ ===========
./startxgl: line 7: decoration: command not found
====== DECORATIONS =======
======= GNOME ============
How can I fix it?

I have nvdia geforc go5650, amd64, kernle 2.6.13-gentoo-r5, xgl-overlay-20060215.

Distorted screen like this: http://impurity.org/~stalyn/fuxed.png

thanks
"Sulla strada per l'inferno c'e' sempre un sacco di gente,
ma è comunque una via che si percorre in solitudine."

Charles Bukowski
Top
mikkoloo
Apprentice
Apprentice
User avatar
Posts: 159
Joined: Tue Nov 04, 2003 3:19 am
Location: .se and .nl

  • Quote

Post by mikkoloo » Fri Feb 17, 2006 9:03 am

thaswiftness wrote:

Code: Select all

swift@swiftoo ~ $ cat .startxgl 
#!/bin/bash
Xgl :1 -ac -accel glx:pbuffer -accel xv &
sleep 3
echo "======= COMPIZ ==========="
DISPLAY=:1 LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace decoration wobbly fade switcher minimize cube rotate zoom scale move resize place opacity &
sleep 3
echo "====== DECORATIONS ======="
DISPLAY=:1 gnome-window-decorator &
sleep 3
echo "======= XFCE ============"
DISPLAY=:1 xfce-mcs-manager
DISPLAY=:1 xfdesktop &
DISPLAY=:1 exec xfce4-panel
~/.startxgl is what I run, and I have window decorations. Hope this helps.
It sure does. Thanks a million! I need gnome-window-decorator i think. Anyone knows a way to install that without installing the whole gnome?
----
AMD 64 4000+, nforce4 mobo, 2GB RAM, 200Gb SATA HDD, xfx Geforce 7900GT XE
----
HP pavilion zv5470EA: AMD 64 3400+, 512 Mb RAM, 80 Gb HDD, nvidia GeForce4 440 Go 64M, Cabletron RoamAbout 802.11 DS (orinoco gold) WiFi. Creative Webcam Pro (ov511)
Top
pijulius
n00b
n00b
Posts: 7
Joined: Mon Feb 13, 2006 3:33 pm

[Success/Solved] Xgl on nVidia GeForce4 420 Go/AGP/SSE2

  • Quote

Post by pijulius » Fri Feb 17, 2006 10:42 am

Hi All,

Thanks to the wiki:
http://gentoo-wiki.com/HOWTO_XGL

I successfully managed to install Xgl on my nvidia GF4 Go (I had black windows problems), I'm not using gento, so here is a litle howto what I did to get it to work, but please note: I may do things the wrongest way possible, so your notes are more then welcome.
http://julius.solutions-i.org/uploaded/ ... nstall.txt

I uploaded the packages that I'm using too, so if you want you can get them from here:
http://julius.solutions-i.org/uploaded/downloads/xgl/

NOTE: this was done on a FC4 updated to latest rawhide.

Thanks again everyone for the help, I'm now one of you :D
Julius

ps Note1: I had some problem with the gnome-window-decorator, when I ran it I always got "Unable to load shadow pixmap" or something like that, but I just switched/created another user, and with the clean gconf/gnome setup everything worked just fine.

ps Note2: I was having problems with dbus too, so I needed to launch the runcompiz script like this: dbus-launch runcompiz after that everything worked just fine
Top
pijulius
n00b
n00b
Posts: 7
Joined: Mon Feb 13, 2006 3:33 pm

  • Quote

Post by pijulius » Fri Feb 17, 2006 10:47 am

thaswiftness wrote:Well I have it all working fine with Xgl, compiz, xfce4, nvidia 420go... I just followed the Wiki's tips

However, whenever I play something in mplayer, my cpu runs at 100% and the video / whole desktop really, becomes very sluggish, almost to the point of locking up.

As for gaming, supertux runs great. Enemy-Territory runs TERRIBLY. I haven't really tested anything else.

Anyone else experience problems with mplayer/movies or games like ET?

:(
Same here, mplayer is very slow, even killing it is slow :) but I read somewhere that we may need to change the output from xv to something else, but I don't remember it, I will get back to you if I found out something.

EDIT OK, it seems changing the vo to x11 solves the problem, at least for me:
mplayer -vo x11 movie.mpg
and it works fine, the processor usage for mplayer is somewhere around 15-20%
Top
Gusar
Advocate
Advocate
Posts: 2665
Joined: Sat Apr 09, 2005 10:19 pm
Location: Slovenia

  • Quote

Post by Gusar » Fri Feb 17, 2006 11:00 am

For xv/mplayer to run fast you need the GL_EXT_framebuffer_object extension. It is possible that your old geforces don't support this extension. What you could try is starting Xgl with '-accel xv:pbuffer' instead of just '-accel xv' or use mplayer with -vo gl
Top
MisterHH
n00b
n00b
Posts: 15
Joined: Mon Jan 12, 2004 11:36 am

  • Quote

Post by MisterHH » Fri Feb 17, 2006 1:30 pm

d is for decker wrote:

Code: Select all

0000:01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 440 Go 64M] (rev a3)

*  media-libs/glitz
      Latest version installed: 0.5.3
*  media-libs/mesa
      Latest version installed: 6.4.3_alpha20060216
*  x11-base/xgl
      Latest version installed: 20060216
*  x11-wm/compiz
      Latest version installed: 20060216
*  media-video/nvidia-kernel
      Latest version installed: 1.0.8178-r3
*  media-video/nvidia-glx
      Latest version installed: 1.0.8178

Linux peace 2.6.15-suspend2-r5 #4 PREEMPT Tue Feb 7 00:32:58 PST 2006 i686 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux
The fix to the black window problem was in glitz, try to compile current CVS of glitz. Hanno's overlay should provide that, though it is called glitz-0.5.0_alpha20060215 and I don't even know, how you got 0.5.3?!?

The current "solution" in the wiki seems to be a bit overkill as a simple emerge glitz is what solves the problem ;-)
Top
monkeyBox
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 111
Joined: Fri Feb 14, 2003 5:07 pm
Location: Dallas, TX
Contact:
Contact monkeyBox
Website

Re: Please help!

  • Quote

Post by monkeyBox » Fri Feb 17, 2006 2:11 pm

baeksu wrote:
monkeyBox wrote:
baeksu wrote:
monkeyBox wrote:I'm having the strangest problem with Xgl. Whenever I run the Xgl command in any shape or form, I get nothing. I just ran the command:

Code: Select all

Xgl :1 -ac -accel glx:pbuffer -accel xv

all it does is just sit there with a blinking cursor. Nothing happens. I can't see any errors anywhere. Does anyone know something, anything I can try?

I have a GeForce4 Ti 4200 AGP 8x
How are you starting Xgl? After Xgl, you should start compiz and gnome-window-decorator (or wm and glxcompmgr).
I'm starting xgl using the command I mentioned above. When I run that command, I don't get an X server on ctrl+alt+f7 or f8 (or any other vt's for that matter). Therefore, I cannot start compiz, gnome-window-decorator, or anything like that without first having the X server running, am I wrong?
You have to run Xgl on top of an X server. For instance, to run it from command line, put something like this in your .xinitrc:

Code: Select all

Xgl :1 -ac -accel glx:pbuffer -accel xv &
DISPLAY=:1 LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace decoration wobbly fade switcher minimize cube rotate zoom scale move resize place &
sleep 5
DISPLAY=:1 gnome-window-decorator &
DISPLAY=:1 gnome-session
Then start X with 'startx'
Oh! I was under the impression that Xgl was its own X server :-P Ok, so now that I understand that -- I tried a simple startx script as above, and it started fine, but I don't think compiz was working. I went back to the CLI and during startup it showed an error:

Code: Select all

compiz: No composite extension
I don't have composite enabled in Xorg.conf, but I was under the impression that you weren't supposed to. What do I need to do here?
Top
Gergan Penkov
Veteran
Veteran
User avatar
Posts: 1464
Joined: Sat Jul 17, 2004 9:42 pm
Location: das kleinste Kuhdorf Deutschlands :)

  • Quote

Post by Gergan Penkov » Fri Feb 17, 2006 3:37 pm

Just freaking cool - it works here on nvidia 440MX and it is really fast, no problems at all.
if someone uses --as-needed ldflag - xgl could not be compiled with it.
the video playing has still some problems, but who cares:)
someone knows how to set the keyboard to sth other than USA:)
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Top
GizzmoAsus
n00b
n00b
User avatar
Posts: 46
Joined: Sun May 23, 2004 2:05 am
Location: (Blackburn / Lougborough) UK

  • Quote

Post by GizzmoAsus » Fri Feb 17, 2006 4:34 pm

Code: Select all

Xgl :1 -ac -accel glx:fb0 -accel xv
dlopen: /usr/lib64/xorg/modules/xgl/libglx.so: undefined symbol: xf86stdout

Fatal server error:
No GLX modules loaded
dlopen: /usr/lib64/xorg/modules/xgl/libglx.so: undefined symbol: xf86stdout

FatalError re-entered, aborting
No GLX modules loaded
Aborted
I realise this has probably already been answered but I have spent the past two days searching these threads for an answer and still can't get it to work.
The above is what I get when the top command is run.
I have tried several variations of this command and nothing seems to work.

I have had Xgl running in a window then for no apparent reason it dies on me again.

Suggestions gratefully acceped

Regards
GizzmoAsus
[see my website as it develops]
Top
thaswiftness
n00b
n00b
Posts: 34
Joined: Tue May 31, 2005 7:59 am
Location: Florida

  • Quote

Post by thaswiftness » Fri Feb 17, 2006 6:06 pm

mikkoloo wrote: It sure does. Thanks a million! I need gnome-window-decorator i think. Anyone knows a way to install that without installing the whole gnome?
Rebuild compiz with +gnome did the trick for me.
Top
GizzmoAsus
n00b
n00b
User avatar
Posts: 46
Joined: Sun May 23, 2004 2:05 am
Location: (Blackburn / Lougborough) UK

  • Quote

Post by GizzmoAsus » Fri Feb 17, 2006 6:19 pm

There is also a version of kde-window-decorator about somewhere. Not tried it but apparently it works pretty well.
[see my website as it develops]
Top
Gergan Penkov
Veteran
Veteran
User avatar
Posts: 1464
Joined: Sat Jul 17, 2004 9:42 pm
Location: das kleinste Kuhdorf Deutschlands :)

  • Quote

Post by Gergan Penkov » Fri Feb 17, 2006 7:13 pm

well I have some problems now :) under heavy load there is a heavy lag on some occasions.
now correcting the ebuilds - probably this will resolve some sigsevs and other things.
this is from the compiz build

Code: Select all

src_compile() {
        use amd64 && replace-flags -O[1-9] -O0

        ./autogen.sh --host=${CHOST} \
                --libdir=/usr/$(get_libdir) \
                --prefix=/usr \
                --infodir=/usr/share/info \
                --mandir=/usr/share/man \
                --with-gl-libs="-Wl,-R/usr/$(get_libdir)/opengl/xorg-x11/lib/ -L/usr/$(get_libdir)/opengl/xorg-x11/lib/ -lGL" \
                `use_enable gnome` \
                `use_enable kde` \
                `use_enable svg libsvg-cairo` || die

        emake || die
}
and changing the call to start compiz to

Code: Select all

DISPLAY=:1 compiz --replace decoration wobbly fade switcher minimize cube rotate zoom scale move resize place opacity &
works here :wink:
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Top
enzobelmont
Guru
Guru
User avatar
Posts: 345
Joined: Tue Apr 06, 2004 1:07 am
Location: Chiapas, Mexico

  • Quote

Post by enzobelmont » Fri Feb 17, 2006 9:08 pm

mplayer, xine, tvtime= problems, distorted & slow video.
compiz running fine (better than i though).

any suggestion????

do need i recompile something???

sys specs:
geforce2 MX400 32MB
athlon XP 1600

is my video card too old to run it fine???

sorry my english... :wink:
Top
no.op
n00b
n00b
Posts: 7
Joined: Fri Feb 17, 2006 8:55 pm

Xgl working, but Xvideo slow

  • Quote

Post by no.op » Fri Feb 17, 2006 9:29 pm

I have tried Xgl/compiz with both following settings:

Code: Select all

-accel glx:pbuffer -accel xv:fbo
-accel glx:pbuffer -accel xv:pbuffer
but Xvideo (mplayer -vo xv) is running very slow - I have GeForce4 Ti 4200, so it has pixel shaders support, so I do not understand, why it is so slow:-(
Anybody has an idea what could be wrong?

Running mplayer -vo x11 is ok, plays fast, but scaling to fullscreen does not work unfortunatelly, so it is not very useful.
The Xgl effects on windows and cube for switching desktops works fine.

Another problem seems to be quake 3 arena, which seems to be accelerated, but it is also damn slow comparing to normal Xorg/GLX.
Setting brightness in the game does not work either, and it runs in a window instead of fullscreen even when it is set to run in fullscreen.
I am running it on PIII 800Mhz: when q3a is run without Xgl, it is damn fast on the highest details 1024x768, but with Xgl, it is damn slow using 640x480 window.
Could be the reason of such poor performance the quite slow cpu used even though accelerated in graphics card?

Anybody knows how to run q3a so that mouse cursor is free and the q3a window can be moved (running it with fullscreen option off still does not free the mouse cursor nor allows to switch tasks with alt-tab)?
Top
GizzmoAsus
n00b
n00b
User avatar
Posts: 46
Joined: Sun May 23, 2004 2:05 am
Location: (Blackburn / Lougborough) UK

  • Quote

Post by GizzmoAsus » Fri Feb 17, 2006 9:52 pm

Ok have managed to get Xgl to run in a -fullscreen window with both, gnome-window-decoration and gnome-session, and gnome-window-decoration and fluxbox. The downside to this is that compiz refuses to run and I am fresh out of ideas.

When trying to start this up without another xsession running I encounter the following errors

I have tried two different variations of xorg.conf:

Code: Select all

Section "Device"
    Identifier  "FX6600GT"
    Driver      "nvidia"
EndSection
This produces glx errors whilst

Code: Select all

Section "Device"
    Identifier  "FX6600GT"
    Driver      "xorg"
EndSection
produces "dlopen: /usr/lib/xorg/modules/xgl/libglcore.so: undefined symbol: xf86stdout"

The script I have used is as follows:

Code: Select all

#!/bin/bash
echo ">Starting XGL at Display: $1"
echo "========== XGL ==========="
Xgl -fullscreen :$1 -ac -accel xv -accel glx:pbuffer &
sleep 3
echo "======== COMPIZ =========="
DISPLAY=:$1 LD_LIBRARY_PATH=/usr/lib/opengl/nvidia/lib/ compiz --replace 
gconf decoration wobbly fade switcher minimize cube rotate zoom scale move resize place &
sleep 3
echo "========= GNOME =========="
DISPLAY=:$1 gnome-window-decoration &
echo "======== Fluxbox ========="
DISPLAY=:$1 startfluxbox &
with the command

Code: Select all

~/startxgl 1
I have tried approx 5 variations on this script and everytime it bombs out.

Please help in solving this as I really want to get it too work and have been working on this for nearly two weeks now (without joy) ;)
[see my website as it develops]
Top
d is for decker
n00b
n00b
Posts: 4
Joined: Tue Feb 14, 2006 2:21 am

  • Quote

Post by d is for decker » Sat Feb 18, 2006 12:32 am

MisterHH wrote:
d is for decker wrote:

Code: Select all

0000:01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 440 Go 64M] (rev a3)

*  media-libs/glitz
      Latest version installed: 0.5.3
*  media-libs/mesa
      Latest version installed: 6.4.3_alpha20060216
*  x11-base/xgl
      Latest version installed: 20060216
*  x11-wm/compiz
      Latest version installed: 20060216
*  media-video/nvidia-kernel
      Latest version installed: 1.0.8178-r3
*  media-video/nvidia-glx
      Latest version installed: 1.0.8178

Linux peace 2.6.15-suspend2-r5 #4 PREEMPT Tue Feb 7 00:32:58 PST 2006 i686 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux
The fix to the black window problem was in glitz, try to compile current CVS of glitz. Hanno's overlay should provide that, though it is called glitz-0.5.0_alpha20060215 and I don't even know, how you got 0.5.3?!?

The current "solution" in the wiki seems to be a bit overkill as a simple emerge glitz is what solves the problem ;-)
I dont have the glitz-0.5.0_alpha20060215.ebuild, here is what i see:

Code: Select all

peace xgl-overlay # svn update
At revision 9.
peace xgl-overlay # ls media-libs/glitz/
files  glitz-0.5.3.ebuild  Manifest
Still not working :(
Last edited by d is for decker on Sat Feb 18, 2006 1:05 am, edited 2 times in total.
Top
d is for decker
n00b
n00b
Posts: 4
Joined: Tue Feb 14, 2006 2:21 am

Re: Xgl working, but Xvideo slow

  • Quote

Post by d is for decker » Sat Feb 18, 2006 12:46 am

no.op wrote:I have tried Xgl/compiz with both following settings:

Code: Select all

-accel glx:pbuffer -accel xv:fbo
-accel glx:pbuffer -accel xv:pbuffer
but Xvideo (mplayer -vo xv) is running very slow - I have GeForce4 Ti 4200, so it has pixel shaders support, so I do not understand, why it is so slow:-(
Anybody has an idea what could be wrong?

Running mplayer -vo x11 is ok, plays fast, but scaling to fullscreen does not work unfortunatelly, so it is not very useful.
The Xgl effects on windows and cube for switching desktops works fine.

Another problem seems to be quake 3 arena, which seems to be accelerated, but it is also damn slow comparing to normal Xorg/GLX.
Setting brightness in the game does not work either, and it runs in a window instead of fullscreen even when it is set to run in fullscreen.
I am running it on PIII 800Mhz: when q3a is run without Xgl, it is damn fast on the highest details 1024x768, but with Xgl, it is damn slow using 640x480 window.
Could be the reason of such poor performance the quite slow cpu used even though accelerated in graphics card?

Anybody knows how to run q3a so that mouse cursor is free and the q3a window can be moved (running it with fullscreen option off still does not free the mouse cursor nor allows to switch tasks with alt-tab)?
Nvidia 8178? Mplayer has been really slow. Try changing to -vo gl or gl2, though they suck now too. best to use xine or vlc?

For quake3 its in_nograb or m_nograb... i forget, its been a long time. The reason it probably sucks might have to do w/ this:

Code: Select all

   o Flipping: When OpenGL flipping is enabled, OpenGL can perform buffer
     swaps by changing which buffer the DAC scans out rather than copying the
     back buffer contents to the front buffer; this is generally a much higher
     performance mechanism and allows tearless swapping during the vertical
     retrace (when __GL_SYNC_TO_VBLANK is set). The conditions under which
     OpenGL can flip are slightly complicated, but in general: on GeForce or
     newer hardware, OpenGL can flip when a single full screen unobscured
     OpenGL application is running, and __GL_SYNC_TO_VBLANK is enabled.
     Additionally, OpenGL can flip on Quadro hardware even when an OpenGL
     window is partially obscured or not full screen or __GL_SYNC_TO_VBLANK is
     not enabled.
Top
mikkoloo
Apprentice
Apprentice
User avatar
Posts: 159
Joined: Tue Nov 04, 2003 3:19 am
Location: .se and .nl

  • Quote

Post by mikkoloo » Sat Feb 18, 2006 9:38 am

i just installed gnome. why do i get the xfce4 window-decorations when i run gnome-window-decorations?

when i try to change it in gnome in "theme" it just crashes.
----
AMD 64 4000+, nforce4 mobo, 2GB RAM, 200Gb SATA HDD, xfx Geforce 7900GT XE
----
HP pavilion zv5470EA: AMD 64 3400+, 512 Mb RAM, 80 Gb HDD, nvidia GeForce4 440 Go 64M, Cabletron RoamAbout 802.11 DS (orinoco gold) WiFi. Creative Webcam Pro (ov511)
Top
mikkoloo
Apprentice
Apprentice
User avatar
Posts: 159
Joined: Tue Nov 04, 2003 3:19 am
Location: .se and .nl

  • Quote

Post by mikkoloo » Sat Feb 18, 2006 3:56 pm

btw is there an issue with transparency? i tried the method in:
http://gentoo-wiki.com/Xorg_X11_and_Tra ... ransset-df
as the wiki for XGL show's but i simply can not get that to work. anyone else have success with this?

I tried the patch compiz_opacity too, but that just refuses as well.
----
AMD 64 4000+, nforce4 mobo, 2GB RAM, 200Gb SATA HDD, xfx Geforce 7900GT XE
----
HP pavilion zv5470EA: AMD 64 3400+, 512 Mb RAM, 80 Gb HDD, nvidia GeForce4 440 Go 64M, Cabletron RoamAbout 802.11 DS (orinoco gold) WiFi. Creative Webcam Pro (ov511)
Top
r.vitaliy
n00b
n00b
Posts: 25
Joined: Sat Jul 30, 2005 4:48 am

  • Quote

Post by r.vitaliy » Sat Feb 18, 2006 4:02 pm

I have been trying to install Xgl for about a week but still no luck :(
I use the latest hanno's ebuilds and I do exactly as it written at http://gentoo-wiki.com/HOWTO_XGL/
But every time I start Xgl it crashes with 'Segmentation fault'
I use the following command:
LD_LIBRARY_PATH=/usr/include/opengl/xorg-x11/lib LD_PRELOAD=/usr/lib/libGL.so Xgl :1 -accel glx:pbuffer -accel xv:fbo

My video card is Nvidia Fx5200 with the latest drivers; the software installed is:
media-libs/mesa-6.4.2-r1
media-libs/glitz-0.5.3
x11-wm/compiz-20060216
x11-base/xgl-20060216

The x.org congfig is:

Code: Select all

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    FontPath     "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/cyr-rfx:unscaled"
    FontPath   "/usr/share/fonts/cronyx/100dpi:unscaled"
    FontPath   "/usr/share/fonts/cronyx/misc:unscaled"
    FontPath   "/usr/share/fonts/terminus"
    FontPath   "/usr/share/fonts"
    FontPath   "/usr/share/fonts/100dpi:unscaled"
    FontPath   "/usr/share/fonts/misc:unscaled"
    FontPath   "/usr/share/fonts/TTF"
    FontPath   "/usr/share/fonts/Type1"
    FontPath   "/usr/share/fonts/corefonts"
    FontPath   "/usr/local/share/fonts"
    FontPath   "/usr/share/fonts"
    FontPath   "/usr/share/fonts/cyrillic"
    FontPath   "/usr/share/fonts/local"
EndSection

Section "Module"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
#       Load  "dri"
#        Load  "glx"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
       Load "/usr/lib/xorg/modules/extensions/libglx.so"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option       "Autorepeat" "250 30"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "us,ru(winkeys)"
        Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
EndSection

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

Section "Monitor"
#       DisplaySize       376   302     # mm
        Identifier   "Monitor0"
        VendorName   "GSM"
        ModelName    ""
 ### Uncomment if you don't want to default to DDC:
#       HorizSync    30.0 - 71.0
#       VertRefresh  56.0 - 75.0
#       Option      "DPMS"
EndSection

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     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        Identifier  "Card0"
#       Driver      "nv"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "NV34 [GeForce FX 5200]"
        BusID       "PCI:1:0:0"
#        Option "DPMS"
#        Option "IgnoreEDID" "1"
        Option "RenderAccel" "true"
        Option      "NvAGP" "1"
        Option      "NoLogo"        "1"
        Option      "HWCursor"      "1"
        Option      "CursorShadow"  "1"
    Option "AllowGLXWithComposite" "True"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Modes "1280x1024"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Extensions"
#    Option  "Composite"     "Enable"
    Option "RENDER" "Enable"
EndSection

What should I do or check to make Xgl work?
Thanks in advance for your help!
Top
no.op
n00b
n00b
Posts: 7
Joined: Fri Feb 17, 2006 8:55 pm

Re: Xgl working, but Xvideo slow

  • Quote

Post by no.op » Sat Feb 18, 2006 5:18 pm

d is for decker wrote:
Nvidia 8178? Mplayer has been really slow. Try changing to -vo gl or gl2, though they suck now too. best to use xine or vlc?

For quake3 its in_nograb or m_nograb... i forget, its been a long time. The reason it probably sucks might have to do w/ this:
Yes, i have nvidia 8178 drivers (geforce4 ti4200 64MB);
tried mplayer with both -vo gl and -vo gl2, it is certainly better than xvideo (-vo xv) in any mode of xgl (-accel xv:fbo or -accel xv:pbuffer), but anyway it is still so bad that video and audio are very much out of sync.

With xine and output to opengl it is better with regard to audio sync, but you can clearly see, that frames are being dropped. But it is far much better than the xvideo output of either xine or mplayer (for both, it's just slide show even hard to quit in that case).

Thanks for the tip how to release mouse in quake3 - the \in_nograb 1 works fine.
Concerning quake3 - running it with Xgl in a window of 640x480, for timedemo I get around 18 fps measured and you can clearly see that there are missing some textures.
If quake3 is run without Xgl, fullscreen 1024x768 all details maxed, the timedemo measures around 66 fps, so the performance of opengl in Xgl is not very good (if missing textures are overlooked :( ).

I can forget about performance of quake3, but I need usable playing of video - anybody has any idea how to get better performance in mplayer or xine with nvidia gf4 ti4200 (which has pixel shaders 1.3 hw support)?
Top
Post Reply

366 posts
  • Page 7 of 15
    • Jump to page:
  • Previous
  • 1
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • …
  • 15
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic