[gobolinux-users] Beryl, Mesa, error...
Jonas Karlsson
jonka750 at student.liu.se
Mon Apr 23 16:00:51 UTC 2007
Ok, first, make sure you have the Nvidia package installed. If you
don't you have to install that first (Compile nvidia)
Then open your xorg.conf in an editor and in the "Device" section,
change (unless it's already changed)
Driver "nv"
to
Driver "nvidia"
and add the following lines (mind the acsii scissors) to the same section:
#---%<-----------------------------------------
Option "AddARGBGLXVisuals" "True"
Option "RenderAccel" "True"
Option "AllowGLXWithComposite" "True"
Option "backingstore" "True"
Option "TripleBuffer" "True"
#--->%-----------------------------------------
then, as new sections, add these lines to your xorg.conf:
#----------%<--------------------------------------------------
Section "Extensions"
Option "Composite" "Enable"
Endsection
Section "DRI"
Group 0
Mode 0666
EndSection
#------->%------------------------------------------------
and then restart X and try 'glxinfo | grep -i direct' again.
If yoy get a line saying "direct rendering: Yes", you can try beryl
again (always started as normal user). If it doesn't start, I want the
output.
In case you don't get "direct rendering: Yes", I need a copy of your
/System/Variables/log/Xorg.0.log.
I have never set up accelerated graphics with an nvidia card, so if
anyone else has, please feel free to correct me or add details that
I've missed.
/Jonas
2007/4/23, Viola Zoltán <violazoli at gmail.com>:
> Dear Jonas, the output for "direct rendering":
>
> glxinfo | grep -i direct
> direct rendering: No
>
> In attachment I send the /System/Settings/X11/xorg.conf
>
> In this file is, my nVidia card is GeForce FX 5200
>
> If I run the Beryl from a console as root:
>
> pv at Csiszilla /Programs/Xorg/Settings/X11]beryl
> No protocol specified
> xvinfo: Unable to open display :0.0
> No protocol specified
> xdpyinfo: unable to open display ":0.0".
> **************************************************************
> * Beryl system compatiblity check
> *
> **************************************************************
> No protocol specified
> Error: unable to open display (null)
> beryl: SmcOpenConnection failed: Authentication Rejected, reason : None of
> the authentication protocols specified are supported and host-based
> authentication failed
> No protocol specified
> beryl: Couldn't open display :0.0
>
>
> If I run the Beryl from a console as non-root user:
>
> vz at Csiszilla /Users]beryl
> **************************************************************
> * Beryl system compatiblity check
> *
> **************************************************************
>
> Detected xserver : AIGLX
>
> Checking Display : 0.0 ...
>
> Checking for XComposite extension : failed
>
> No composite extension
> beryl: No composite extension
>
>
> Zoli
>
>
> 2007/4/22, Jonas Karlsson < jonka750 at student.liu.se>:
> > I'm asuming that you try to switch to beryl from beryl-manager. And it's
> > really enough with the Emerald window decorator, unless you want to use
> > KDE themes (which is what Aquamarine does).
> >
> > Most probably you Xorg isn't configured to be accelerated. Try 'glxinfo|
> > grep -i direct', it should give you a line that says "direct rendering:
> > Yes" if everything is set up correctly.
> > Otherwice I can try to help you. Then I need what model your Nvidia card
> > is, your /System/Settings/X11/Xorg.conf file, the output from when you run
> > 'beryl' from a console.
> >
> > /Jonas
> >
> > On Sun, 22 Apr 2007 00:33:08 +0200, Viola Zoltán <violazoli at gmail.com>
> > wrote:
> >
> > > Thank you dear Jonas, the compile of beryl is succeeded. I have Emerald,
> > > but
> > > not find recipe for aquamarine. But, the very problem is: how can I use
> > > Beryl?! If I click "Select Window manager -> Beryl", make nothing, and
> > > the
> > > system re-set the XFWM4 or KWin!
> > >
> > > Can you give me a link, to "How the Beryl works"?
> > >
> > > Zoli
> > >
> > > 2007/4/21, Jonas Karlsson <jonka750 at student.liu.se>:
> > >>
> > >> I named two of them, Emerald and Aquamarine. Use Compile.
> > >>
> > >> /Jonas
> > >>
> > >> On Sat, 21 Apr 2007 19:18:11 +0200, Viola Zoltán < violazoli at gmail.com>
> > >> wrote:
> > >>
> > >> > And, how can I build and find decorators?
> > >> >
> > >> > Zoli
> > >> >
> > >> > 2007/4/21, Jonas Karlsson < jonka750 at student.liu.se>:
> > >> >>
> > >> >> It shouldn't matter, because if you do it any order the dependencies
> > >> >> should fix the order, e.g. if you try to install
> > >> beryl-settings-manager
> > >> >> it
> > >> >> has the dependency beryl-settings-bindings and will therefore ask
> you
> > >> if
> > >> >> you want to install beryl-settings-bindings before
> > >> >> beryl-settings-manager
> > >> >> (which, of course, you want). So you don't have to mind the build
> > >> order
> > >> >> as
> > >> >> if a dependency isn't installed Compile will ask you to install it.
> > >> >>
> > >> >> Don't forget to build a window decorator that supports Beryl
> (Emerald
> > >> or
> > >> >> Aquamarine).
> > >> >>
> > >> >> /Jonas
> > >> >>
> > >> >> On Sat, 21 Apr 2007 14:44:41 +0200, Viola Zoltán
> > >> <violazoli at gmail.com>
> > >> >> wrote:
> > >> >>
> > >> >> > And, If I see good, it is not have meta-recipe to beryl. What is
> > >> the
> > >> >> > preferred order of installing of the BerylProg-parts?
> > >> >> >
> > >> >> > Zoli
> > >> >> >
> > >> >> > 2007/4/19, Jonas Karlsson < jonka750 at student.liu.se>:
> > >> >> >>
> > >> >> >> You should install the kernel headers the way I instructed you.
> > >> The
> > >> >> >> kernel
> > >> >> >> headers is not the same thing as the kernel source. Install the
> > >> >> kernel
> > >> >> >> headers with 'InstallPackage linux-headers' and try to Compile
> > >> Mesa
> > >> >> >> again.
> > >> >> >>
> > >> >> >> /Jonas
> > >> >> >>
> > >> >> >> On Thu, 19 Apr 2007 13:27:04 +0200, Viola Zoltán
> > >> >> <violazoli at gmail.com>
> > >> >> >> wrote:
> > >> >> >>
> > >> >> >> > I not use the "InstallPackage linux-headers" command, but first
> > >> >> >> download
> > >> >> >> > it,
> > >> >> >> > and copy to the /Files/Compile/Sources directory, as this is
> > >> >> written
> > >> >> >> in
> > >> >> >> > the
> > >> >> >> > Gobolinux homepage at theselink:
> > >> >> >> >
> http://gobolinux.org/index.php?lang=en_US&page=downloads
> > >> >> >> >
> > >> >> >> > Kernel headers
> > >> >> >> >>
> > >> >> >> >> The kernel headers for this release can be downloaded
> > >> >> >> >> here<
> > >> >> >>
> > >> >>
> > >>
> http://gobolinux.org/download/kernel/linux-2.6.17.11-smp-headers.tar.bz2
> >.
> > >> >> >> >> If you need to compile extra drivers, just unpack this tarball
> > >> at
> > >> >> >> >> /Files/Compile/Sources and proceed with the driver's
> > >> installation
> > >> >> >> >> process.
> > >> >> >> >>
> > >> >> >> >
> > >> >> >> > Zoli
> > >> >> >> >
> > >> >> >> >
> > >> >> >> >
> > >> >> >> >
> > >> >> >> > 2007/4/19, Jonas Karlsson <jonka750 at student.liu.se >:
> > >> >> >> >>
> > >> >> >> >> On Thu, 19 Apr 2007 11:43:21 +0200, Viola Zoltán
> > >> >> >> <violazoli at gmail.com >
> > >> >> >> >> wrote:
> > >> >> >> >>
> > >> >> >> >> > I probe Compile Beryl, but not know, in witch order should I
> > >> >> have.
> > >> >> >> I
> > >> >> >> >> > probe
> > >> >> >> >> > first "Compile Beryl-Core". It have dependencies. And, as I
> > >> >> Compile
> > >> >> >> >> the
> > >> >> >> >> > Mesa, it make me the following error:
> > >> >> >> >> >
> > >> >> >> >> > makedepend: warning: ../common/dri_util.c (reading
> > >> >> >> >> > /usr/include/sys/mman.h,
> > >> >> >> >> > line 26): cannot find include file "stddef.h"
> > >> >> >> >> > not in ./stddef.h
> > >> >> >> >> > not in
> > >> >> ../../../../../src/mesa/drivers/dri/common/stddef.h
> > >> >> >> >> > not in server/stddef.h
> > >> >> >> >> > not in ../../../../../include/stddef.h
> > >> >> >> >> > not in
> ../../../../../include/GL/internal/stddef.h
> > >> >> >> >> > not in
> ../../../../../src/mesa/stddef.h
> > >> >> >> >> > not in
> ../../../../../src/mesa/main/stddef.h
> > >> >> >> >> > not in
> ../../../../../src/mesa/glapi/stddef.h
> > >> >> >> >> > not in
> ../../../../../src/mesa/math/stddef.h
> > >> >> >> >> > not in
> ../../../../../src/mesa/transform/stddef.h
> > >> >> >> >> > not in
> ../../../../../src/mesa/shader/stddef.h
> > >> >> >> >> > not in
> ../../../../../src/mesa/swrast/stddef.h
> > >> >> >> >> > not in
> ../../../../../src/mesa/swrast_setup/stddef.h
> > >> >> >> >> > not in
> ../../../../../src/egl/main/stddef.h
> > >> >> >> >> > not in
> ../../../../../src/egl/drivers/dri/stddef.h
> > >> >> >> >> > not in
> /Programs/Xorg/7.1/include/stddef.h
> > >> >> >> >> > not in
> /Programs/Xorg/7.1/include/drm/stddef.h
> > >> >> >> >> > not in /usr/include/stddef.h
> > >> >> >> >> > make[6]: Leaving directory `/Files/Compile/Sources/Mesa-
> 6.5.2
> > >> >> >> >> > /src/mesa/drivers/dri/i810'
> > >> >> >> >>
> > >> >> >> >> Do you have Linux-Headers installed? Could you try
> > >> 'InstallPackage
> > >> >> >> >> linux-headers' and try compilation again?
> > >> >> >> >>
> > >> >> >> >>
> > >> >> >> >> > make[6]: Entering directory
> > >> `/Files/Compile/Sources/Mesa-6.5.2
> > >> >> >> >> [...]
> > >> >> >> >> > gcc -c -I.
> -I../../../../../src/mesa/drivers/dri/common
> > >> -Iserver
> > >> >> >> >> > -I../../../../../include
> -I../../../../../include/GL/internal
> > >> >> >> >> > -I../../../../../src/mesa -I../../../../../src/mesa/main
> > >> >> >> >> > -I../../../../../src/mesa/glapi
> > >> -I../../../../../src/mesa/math
> > >> >> >> >> > -I../../../../../src/mesa/transform
> > >> >> >> -I../../../../../src/mesa/shader
> > >> >> >> >> > -I../../../../../src/mesa/swrast
> > >> >> >> >> -I../../../../../src/mesa/swrast_setup
> > >> >> >> >> > -I../../../../../src/egl/main
> > >> >> -I../../../../../src/egl/drivers/dri
> > >> >> >> >> > `pkg-config --cflags libdrm` -Wall -Wmissing-prototypes
> > >> >> -std=c99
> > >> >> >> >> > -ffast-math -O -g -fPIC -D_POSIX_SOURCE
> > >> >> -D_POSIX_C_SOURCE=199309L
> > >> >> >> >> > -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS
> > >> >> >> >> > -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
> > >> -DGLX_DIRECT_RENDERING
> > >> >> >> >> > -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN
> > >> >> >> >> > ../common/vblank.c -o ../common/vblank.o
> > >> >> >> >> > ../common/vblank.c: In function 'driGetCurrentVBlank':
> > >> >> >> >> > ../common/vblank.c:306: error: 'DRM_VBLANK_SECONDARY'
> > >> undeclared
> > >> >> >> >> (first
> > >> >> >> >> > use
> > >> >> >> >> > in this function)
> > >> >> >> >> > ../common/vblank.c:306: error: (Each undeclared identifier
> is
> > >> >> >> reported
> > >> >> >> >> > only
> > >> >> >> >> > once
> > >> >> >> >> > ../common/vblank.c:306: error: for each function it appears
> > >> in.)
> > >> >> >> >> > ../common/vblank.c: In function 'driWaitForVBlank':
> > >> >> >> >> > ../common/vblank.c:363: error: 'DRM_VBLANK_SECONDARY'
> > >> undeclared
> > >> >> >> >> (first
> > >> >> >> >> > use
> > >> >> >> >> > in this function)
> > >> >> >> >> > make[6]: *** [../common/vblank.o] Error 1
> > >> >> >> >> > make[6]: Leaving directory
> `/Files/Compile/Sources/Mesa-6.5.2
> > >> >> >> >> > /src/mesa/drivers/dri/i810'
> > >> >> >> >> > make[5]: *** [subdirs] Error 1
> > >> >> >> >> > make[5]: Leaving directory
> `/Files/Compile/Sources/Mesa-6.5.2
> > >> >> >> >> > /src/mesa/drivers/dri'
> > >> >> >> >> > make[4]: *** [linux-solo] Error 2
> > >> >> >> >> > make[4]: Leaving directory
> > >> >> >> >> `/Files/Compile/Sources/Mesa-6.5.2/src/mesa'
> > >> >> >> >> > make[3]: *** [default] Error 2
> > >> >> >> >> > make[3]: Leaving directory
> > >> >> >> >> `/Files/Compile/Sources/Mesa-6.5.2/src/mesa'
> > >> >> >> >> > make[2]: *** [subdirs] Error 1
> > >> >> >> >> > make[2]: Leaving directory
> > >> >> `/Files/Compile/Sources/Mesa-6.5.2/src'
> > >> >> >> >> > make[1]: *** [default] Error 1
> > >> >> >> >> > make[1]: Leaving directory
> > >> `/Files/Compile/Sources/Mesa-6.5.2'
> > >> >> >> >> > make: *** [linux-dri] Error 2
> > >> >> >> >> > Compile: Build failed.
> > >> >> >> >> >
> > >> >> >> >> I don't know if that last error depends on the first error,
> but
> > >> >> could
> > >> >> >> >> you
> > >> >> >> >> try to install the linux headers and try to compile Mesa
> again?
> > >> >> >> >>
> > >> >> >> >> --
> > >> >> >> >> /Jonas
> > >> >> >> >>
> > >> >> >> >> Using Opera's revolutionary e-mail client:
> > >> >> http://www.opera.com/mail/
> > >> >> >> >>
> _______________________________________________
> > >> >> >> >> gobolinux-users mailing list
> > >> >> >> >> gobolinux-users at lists.gobolinux.org
> > >> >> >> >>
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
> > >> >> >> >>
> > >> >> >> >
> > >> >> >> >
> > >> >> >> >
> > >> >> >>
> > >> >> >>
> > >> >> >>
> > >> >> >> --
> > >> >> >> Using Opera's revolutionary e-mail client:
> > >> http://www.opera.com/mail/
> > >> >> >> _______________________________________________
> > >> >> >> gobolinux-users mailing list
> > >> >> >> gobolinux-users at lists.gobolinux.org
> > >> >> >>
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
> > >> >> >>
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >>
> > >> >>
> > >> >>
> > >> >> --
> > >> >> Using Opera's revolutionary e-mail client:
> http://www.opera.com/mail/
> > >> >> _______________________________________________
> > >> >> gobolinux-users mailing list
> > >> >> gobolinux-users at lists.gobolinux.org
> > >> >>
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
> > >> >>
> > >> >
> > >> >
> > >> >
> > >>
> > >>
> > >>
> > >> --
> > >> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
> > >> _______________________________________________
> > >> gobolinux-users mailing list
> > >> gobolinux-users at lists.gobolinux.org
> > >>
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
> > >>
> > >
> > >
> > >
> >
> >
> >
> > --
> > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
> > _______________________________________________
> > gobolinux-users mailing list
> > gobolinux-users at lists.gobolinux.org
> >
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
> >
>
>
>
> --
>
> Honlapom: http://poliverzum.birodalom.net/powi
> Fórumom: http://birodalom.net/forum
>
> A #86-os sorszámú hivatalosan bejegyzett GoboLinux felhasználó
> The #86 official GoboLinux-user
>
> A GoboLinux felhasználók hivatalos magyar fóruma:
> The official forum for the hungarian GoboLinux-users:
> http://linux.birodalom.net/smf
> _______________________________________________
> gobolinux-users mailing list
> gobolinux-users at lists.gobolinux.org
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>
>
>
More information about the gobolinux-users
mailing list