View previous topic :: View next topic |
Author |
Message |
remix l33t
Joined: 28 Apr 2004 Posts: 797 Location: hawaii
|
Posted: Mon Dec 11, 2006 9:21 am Post subject: help fixing AIGLX |
|
|
hi, i messed up and did the XGL and Beryl howto's, and i've gotten it to work this morning.. but i did not have direct rendering enabled.. so i'd like to use AIGLX. so i unmerged XGL and i still have beryl installed.
i followed the AIGLX tutorial, but all i've gathered from it is, i need to have the correct versions of xorg and nvidia-drivers which i do, then add aiglx to my USE="" and re-emerge xorg-server, which i did.
but when i try to run beryl-manager, all the borders for my windows disappear, and i get stuck... a few messages in the terminal about XGL not found, NVIDIA found, trying nvidia, .... crash.. i have to hard reboot my computer.. i've done that about 50 times today, hope i'm not damaging my new comp
but how do i tell beryl to use AIGLX ?
thanks _________________ help the needy |
|
Back to top |
|
|
batistuta Veteran
Joined: 29 Jul 2005 Posts: 1384 Location: Aachen
|
Posted: Mon Dec 11, 2006 9:51 am Post subject: |
|
|
if you use nvidia drivers you don't need neither aiglx, nor xgl.
So unmerge xgl
clear the USE aiglx flag
emerge --newuse world (to recompile your xorg)
try again |
|
Back to top |
|
|
remix l33t
Joined: 28 Apr 2004 Posts: 797 Location: hawaii
|
Posted: Mon Dec 11, 2006 10:42 am Post subject: |
|
|
thanks, but i keep getting lockups... i actually wrote the output from running beryl-manager
Code: | XGL Absent, Checking Nvidia
Nvidia Present
Relaunching beryl with __GL_YIELD="Nothing"
XGL Absent, Checking Nvidia
Nvidia Present |
the my computer freezes, and i have to hard reboot, then when i bootup, i freeze as soon as gdm starts, before the gdm theme launches... can't do anything, hard reboot. and now i'm here.
do you think it will help if i downgraded my drivers a bit?
from: x11-drivers/nvidia-drivers-1.0.9742
to: x11-drivers/nvidia-drivers-1.0.9629
and does it matter that i don't have heliodor installed?
!!! All ebuilds that could satisfy "~x11-wm/beryl-core-9999" have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-wm/beryl-core-9999 (masked by: missing keyword)
(dependency required by "x11-wm/heliodor-9999" [ebuild])
or should i go ahead and upgrade beryl-core to 9999 ? _________________ help the needy |
|
Back to top |
|
|
remix l33t
Joined: 28 Apr 2004 Posts: 797 Location: hawaii
|
Posted: Mon Dec 11, 2006 12:48 pm Post subject: |
|
|
ok the wiki said nvidia-drivers-1.0.9629 but that version is not in portage, so i tried 1.0.9.631 and i could not start X.
there was an error and could not initialize.. so i guess this version is it.
hmmm maybe i should downgrade all the way to 1.0.8776 and try aiglx....
as long as i can get dri, i might also try xgl. _________________ help the needy |
|
Back to top |
|
|
batistuta Veteran
Joined: 29 Jul 2005 Posts: 1384 Location: Aachen
|
Posted: Mon Dec 11, 2006 3:26 pm Post subject: |
|
|
Quote: | hmmm maybe i should downgrade all the way to 1.0.8776 and try aiglx.... |
They don't work with aiglx. I wouldn't use xgl either.
I would use the latest ~x86 nvidia driver, whatever that is. I would try *not* using svn beryl. Use the plain ~x86. In other words, remove completely xeffects overlay unless you need helidor or aquamarine (which I wouldn't recommend, in my system they were not too stable).
I'm not saying that xeffect is a bad overlay. It is great. I'm just suggesting you to try with something more stable first, and only then starting experimenting. |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Mon Dec 11, 2006 3:38 pm Post subject: |
|
|
have you added the needed sections in xorg.conf ?
Code: |
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
# Option "AIGLX" "true"
EndSection |
aiglx should be commented out !
in section "module"
in section "Device":
Code: | Section "Device"
Identifier "yourcardname"
Driver "nvidia"
Option "TripleBuffer" "true"
#VideoRam 262144
# Insert Clocks lines here if appropriate
EndSection |
in section "Screen":
Code: | Option "AddARGBGLXVisuals" "true" |
at the end
Code: | Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection |
try to start beryl & emerald via the following command:
Code: | emerald --replace & beryl --indirect-rendering --use-cow --replace dbus settings
|
if I've forgotten anything, please complete _________________ https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa
Hardcore Gentoo Linux user since 2004 |
|
Back to top |
|
|
remix l33t
Joined: 28 Apr 2004 Posts: 797 Location: hawaii
|
Posted: Mon Dec 11, 2006 6:54 pm Post subject: |
|
|
thanks guys, trying both right now...
kernelOfTruth - what about ServerLayout?
i have:
Code: | Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "optical" "CorePointer"
Option "AIGLX" "true"
EndSection |
should i also comment AIGLX here too? _________________ help the needy |
|
Back to top |
|
|
remix l33t
Joined: 28 Apr 2004 Posts: 797 Location: hawaii
|
Posted: Mon Dec 11, 2006 7:06 pm Post subject: |
|
|
ok i commented out all lines that have aiglx in them.
re-compiled xorg-server without the aiglx use flag.
and i tried running emerald --replace & beryl --indirect-rendering --use-cow --replace dbus settings
half my terminal is blank, but i get to see the other half of the error message before my computer freezes.
something like this.
Code: | Authentication Regected reason:
None of the ....
....... Supported and host based authentication fail |
then everytime i hard reboot, i freeze on the second boot when net.eth0 tries to start.
so i have to hard reboot again... and net.eth0 works again.
strange and frustrating. _________________ help the needy |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
remix l33t
Joined: 28 Apr 2004 Posts: 797 Location: hawaii
|
Posted: Mon Dec 11, 2006 7:24 pm Post subject: |
|
|
by the way here are my versions
x11-drivers/nvidia-drivers-1.0.9742
x11-wm/beryl-0.1.2
x11-wm/beryl-core-0.1.2
x11-wm/emerald-0.1.2
x11-misc/beryl-manager-0.1.2
x11-misc/beryl-settings-0.1.2
x11-plugins/beryl-dbus-0.1.2
x11-plugins/beryl-plugins-0.1.2
and i'm trying to clean out all the packages that i downloaded using layman, actually mostly just downgrading them. _________________ help the needy |
|
Back to top |
|
|
remix l33t
Joined: 28 Apr 2004 Posts: 797 Location: hawaii
|
Posted: Mon Dec 11, 2006 7:30 pm Post subject: |
|
|
kernelOfTruth wrote: | http://www.rafb.net/paste/results/EUwnSr91.html
the paste of my xorg.conf (will be gone within 24 hours)
have you switched your opengl ?
Code: | eselect opengl set nvidia && env-update && source /etc/profile |
and just to make sure:
/usr/src/linux
points to your running kernel ? |
i'm pretty sure i have switched the opengl.
and yes my symlink is correct.
going to try again, i've edited my xorg to look a lot more like yours..
how come you do not load dri though? _________________ help the needy |
|
Back to top |
|
|
remix l33t
Joined: 28 Apr 2004 Posts: 797 Location: hawaii
|
Posted: Mon Dec 11, 2006 8:16 pm Post subject: |
|
|
ok i tried it again, only to try and get the full error message.. and this is as complete as it gets.
Code: | [1]8808
XGL Absent, Checking Nvidia
Nvidia Present
Relaunching beryl with __GL_YIELD="Nothing"
XGL Absent, Checking Nvidia
Nvidia Present
beryl:SmcOpenConnection failed: Authentication Rejected reason:
None of the auth protocols specified are supported and host-based authentication failed |
_________________ help the needy |
|
Back to top |
|
|
AsM0DeUz n00b
Joined: 06 Sep 2005 Posts: 37
|
Posted: Wed Jan 31, 2007 6:25 pm Post subject: |
|
|
I've exactly the same prob as you remix Have you found a solution ?
Regards |
|
Back to top |
|
|
Jupiter1TX Guru
Joined: 24 Feb 2006 Posts: 546 Location: 3rd Rock
|
Posted: Wed Jan 31, 2007 9:40 pm Post subject: |
|
|
first,,, you don't need DRI in your xorg.conf
yes all AIGLX lines in your xorg need to be commented out
nvidia-1.0.9742 driver is hard masked for a reason and it sucks,, try nvidia-1.0.9746
as someone suggested earlier in this thread you should try UN-merging ALL beryl stuff
AND deleting any remnants that are left
i would then, before installing beryl, check that your nvidia setup is working
properly
i personally then would try the xeffects overlay's current release beryl-core-0.1.99.2
which is somewhat stable, then re-install your nvidia driver, don't forget to eselect it
here is a sample of my beryl related xorg.conf
Section "Module"
Load "glx"
Section "Device"
Identifier "Nvidia"
Driver "nvidia"
VideoRam 262144
Option "NoLogo" "true"
Option "RenderAccel" "true"
Option "TripleBuffer" "true"
Option "NoFlip" "true"
Option "AllowGLXWithComposite" "true"
Option "Coolbits" "1"
Section "Extensions"
Option "Composite" "Enable"
Section "Screen"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
hope this helps, good luck _________________ Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz |
|
Back to top |
|
|
|