[SOLVED] building xorg-server: libgl & nvidia-utils conflict
Hello!
I somehow feel like I'm totally missing the point, but...
edit: although I think (not sure any more) this was the same procedure when I first compiled xorg-server, I maybe should mention, I'm now using the testing xorg.
I still don't really understand, why I need libgl to build xorg-server. Aren't nvidia-utils supposed to replace that? Is there a way of building xorg-server with nvidia-utils instead of libgl and if yes: are there (dis-/) advantages doing so other than not having to uninstall nvidia-utils while compiling xorg-server?
Or the other way around: Perhaps it's just me, but I feel "funny" having to remove something that's vital to my installation before I can compile something that's vital to my installation, too... so is it really OK to remove nvidia-utils and compile xorg-server without it or am I doing it wrong?
Thank you for enlightening me
Last edited by whoops (2009-04-07 02:20:51)
Well AFAIK, The nVIDIA closed source drivers haven't caught up with xorg server 1.6 which is why you need libgl to build xorg-xserver 1.6+. I personally perfer the open source drivers over Fglrx (FireGL and Radeon X) and the closed source nVIDIA drivers as well.
edit: xorg server is 1.6 in testing so if you want to compile from source, and have the closed source nvidia drivers, you would need to compile xorg server 1.5.XX
P.S. You cannot have both, the nvidia drivers and the open source drivers (libgl), running at the same time which is why the nvidia-* packages are to be removed.
Cheers!
Last edited by Neo_The_User (2009-03-30 16:53:28)
Similar Messages
-
Two GPUs, two purposes - libgl and nvidia-utils conflict - lib32-libgl
Hi all!
After realizing there is no way (by now) to perform a vgs switch (between integrated Intel and discrete Nvidia GPUs) using nvidia propertary driver (as I read, the only one supporting gpgpu with cuda/openCL), I wondered if there is a way of letting them co-exist: graphics on the integrated one and applications on the nvidia. After all, I might not need to be using the discrete card for the video if I want to use it for other purposes.
Obeviously, the tho drivers conficlt (nvidia-utils conflicts with libgl), but in this post a workaround is suggested.
Thing is, also lib32-nvidia-utils and lib32-libgl (Skype depends on it) conflict, so I thought I could just extend the suggestion, but I couldn't find lib32-libgl's pkgbuild. Where can I find it? If it doesn't exist at all, is there a way I can workaround?
By the way, why aren't libgl and lib32-libgl on abs? In what way are they different from the others?
There is libgl-git in AUR, but I couldn't find the 32-bit version.
Do you think I have a chanche it'll work?
Thanks a lot
Davide
running Arch linux 64 bit
on a Dell Vostro 3500
$ lspci|grep VGA
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
01:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce 310M] (rev a2)Xehoz wrote:
davide wrote:
ngoonee wrote:Using both at the same time? No, of course not.
So you think it'll never work :sad:
Actually, it is working now. It's a recent development posted in the mailing lists, but the solution came up yesterday and tests have been positive so far. It's confirmed to work in at least two Optimus machines.
Progress is being posted in the mailing lists, but the author, Martin Juhl, is also blogging it. I'll just sum up what the solution: It resorts to turbojpeg VirtualGL and two xorgs. The intel card does everything, and apps meant to use the nvidia are specifically run with vglrun.
Unfortunately, the solution removes hardware acceleration in the intel card (immediately noticeable by the absence of desktop effects). In arch that translates the libgl / nvidia-utils conflict.
intel-dri demands libgl.
xf86-video-intel demands intel-dri.
In order to install nvidia + nvidia-utils in Arch, without removing intel-dri and xf86-video-intel, you have to:
# pacman -Sd nvidia nvidia-utils
This will still remove libgl, though.
Now THAT is just cool... would make optimus laptops so much more useful if/when it works reasonably well. Sounds like quite a bit of hackery involved though. -
ever since the release of xorg-server 1.5.3, i've been using a modified
PKGBUILD to build xorg-server sans hal and dbus. (not gonna try
justifying it again; that'd just lead to yet another flame war.)
i've never had a problem until the 1.6.1-1 PKGBUILD, which adds the lines:
libtoolize --force || return 1
aclocal || return 1
autoconf || return 1
automake --add-missing || return 1
after applying patches and before running the configure. these added lines produce:
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros
in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
hw/dmx/doc/Makefile.am:24: BUILD_LINUXDOC does not appear in AM_CONDITIONAL
hw/dmx/doc/Makefile.am:27: BUILD_PDFDOC does not appear in AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:24: BUILD_LINUXDOC does not appear in
AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:27: BUILD_PDFDOC does not appear in
AM_CONDITIONAL
==> ERROR: Build Failed.
Aborting...
my modified PKGBUILD is build. please note that i *have* tried
reverting my changes (the commented patches), to no avail.
as i'm pretty clueless vis-a-vis makefiles and the autoconf system,
could somehow point me in the direction of a fix?
many thanks,
kludge
# $Id: PKGBUILD 21903 2008-12-17 20:32:54Z jgc $
# Maintainer: Alexander Baldeck <[email protected]>
# Contributor: Jan de Groot <[email protected]>
pkgname=xorg-server
pkgver=1.6.1
pkgrel=1
pkgdesc="X.Org X servers"
arch=('i686' 'x86_64')
license=('custom')
url="http://xorg.freedesktop.org"
depends=('libgl' 'libxfont>=1.4.0' 'openssl>=0.9.8j' 'libpciaccess>=0.10.5' 'libxv>=1.0.4' 'pixman>=0.14.0' 'xcursor-themes' 'xkeyboard-config>=1.5' 'xorg-server-utils' 'xorg-fonts-misc' 'xbitmaps' 'diffutils')
makedepends=('libx11>=1.2' 'mesa>=7.4' 'xf86driproto>=2.0.4' 'xtrans>=1.2.3' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'renderproto>=0.9.3' 'xcmiscproto>=1.1.2' 'bigreqsproto>=1.0.2' 'resourceproto>=1.0.2' 'videoproto>=2.2.2' 'compositeproto>=0.4' 'scrnsaverproto>=1.1.0' 'libxinerama>=1.0.3' 'xf86dgaproto>=2.0.3' 'recordproto>=1.13.2' 'libgl>=7.4' 'glproto>=1.4.9')
#optdepends=( 'xf86-input-evdev: to provide input device hotplugging'
# 'hal>=0.5.11: to provide input devices for hotplugging' )
options=('!libtool')
provides=('x-server' ) # 'xorg-server')
conflicts=('catalyst-utils<=9.2')
groups=('xorg')
install=xorg-server.install
source=(${url}/releases/individual/xserver/${pkgname}-${pkgver}.tar.bz2
xorg-redhat-die-ugly-pattern-die-die-die.patch
hal-wait.patch)
md5sums=('ed0878bf32a24d4948c3b8a122a39eff'
'1a336eb22e27cbf443ec5a2ecddfa93c'
'f16d2caef84e1a9c4075b6c5e145512d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Get rid of the ugly pattern
patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch" || return 1
# Fix dbus config path - removed b/c no dbus config'd
# sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1
# Revert waiting for hal, assume hal won't show up when initial connect fails
# commented out b/c no hal config'd
# patch -R -Np1 -i "${srcdir}/hal-wait.patch" || return 1
libtoolize --force || return 1
aclocal || return 1
autoconf || return 1
automake --add-missing || return 1
# --enable-config-{dbus,hal} switched to --disable
# to disable hotplugging and dependencies
./configure --prefix=/usr \
--enable-ipv6 \
--enable-dri \
--disable-dmx \
--enable-xvfb \
--enable-xnest \
--enable-composite \
--enable-xcsecurity \
--enable-xorg \
--enable-xephyr \
--enable-glx-tls \
--enable-kdrive \
--enable-install-setuid \
--disable-config-hal \
--disable-config-dbus \
--enable-record \
--disable-xfbdev \
--disable-xfake \
--disable-xsdl \
--disable-static \
--sysconfdir=/etc/X11 \
--localstatedir=/var \
--with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
--with-xkb-path=/usr/share/X11/xkb \
--with-xkb-output=/var/lib/xkb \
--with-dri-driver-path=/usr/lib/xorg/modules/dri || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
rm -rf "${pkgdir}/var/log" || return 1
install -m755 -d "${pkgdir}/etc/X11" || return 1
install -m755 -d "${pkgdir}/var/lib/xkb" || return 1
# Needed for non-mesa drivers, libgl will restore it
mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
"${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
Last edited by kludge (2009-05-01 17:25:39)Not any help to your error but have you tried the one in aur with disabled dbus and hal?
I've been using it for a week or so with no problems and it built fine.
http://aur.archlinux.org/packages.php?ID=23750 -
[Solved] Can't build Xorg-Server-Git.
Hello
I want to build xorg-server-git from AUR I modifeted PKGBUILD becouse old can't be build.
That's my PKGBUILD:
pkgname=xorg-server-git
pkgver=20090731
pkgrel=1
pkgdesc="X.Org X servers"
arch=('x86_64')
license=('custom')
url="http://xorg.freedesktop.org"
depends=('libxfont>=1.4.0' 'openssl>=0.9.8k' 'libpciaccess>=0.10.6' 'libxv>=1.0.4' 'pixman>=0.14.0' 'xkeyboard-config>=1.6' 'xorg-server-utils' 'xorg-fonts-misc' 'xbitmaps' 'diffutils' )
makedepends=('libx11>=1.2.1' 'mesa>=7.5' 'xf86driproto>=2.0.4' 'xtrans>=1.2.3' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'renderproto>=0.9.3' 'xcmiscproto>=1.1.2' 'bigreqsproto>=1.0.2' 'resourceproto>=1.0.2' 'videoproto>=2.2.2' 'compositeproto>=0.4' 'scrnsaverproto>=1.1.0' 'libxinerama>=1.0.3' 'xf86dgaproto>=2.0.3' 'recordproto>=1.13.2' 'glproto>=1.4.9' 'xorg-util-macros')
conflicts=('catalyst-utils<=9.2')
options=('!libtool')
_gitver=1.6.2.1
provides=('x-server')
groups=('xorg')
install=xorg-server.install
_gitroot="git://anongit.freedesktop.org/git/xorg/xserver"
_gitname="xserver"
source=("xorg-redhat-die-ugly-pattern-die-die-die.patch")
md5sums=('1a336eb22e27cbf443ec5a2ecddfa93c')
build() {
msg "Connecting to git.freedesktop.org GIT server...."
if [ -d $startdir/src/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
cp -a "${srcdir}/$_gitname/" "${srcdir}/$_gitname-build/"
msg "GIT checkout done or server timeout"
msg "Starting make..."
cd "${srcdir}/$_gitname-build"
msg "Patching sources..."
# Fix dbus config path
sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1
msg "Preparing sources for configure..."
autoreconf -v --install || return 1
msg "Starting configure for: $pkgname"
./configure --prefix=/usr \
--disable-ipv6 \
--disable-dri2 \
--disable-dri \
--disable-dmx \
--disable-xvfb \
--disable-xnest \
--disable-composite \
--disable-xcsecurity \
--enable-xorg \
--disable-xephyr \
--disable-glx-tls \
--disable-kdrive \
--enable-install-setuid \
--disable-config-hal \
--enable-config-dbus \
--disable-record \
--disable-xfbdev \
--disable-xfake \
--disable-xsdl \
--disable-static \
--sysconfdir=/etc/X11 \
--localstatedir=/var \
--with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
--with-xkb-path=/usr/share/X11/xkb \
--with-xkb-output=/var/lib/xkb \
# --without-dri-driver-path=/usr/lib/xorg/modules/dri || return 1
msg "Starting make..."
make || return 1
make DESTDIR="${pkgdir}" install || return 1
msg "Creating the appropriate X.org directories..."
install -m755 -d "${pkgdir}/etc/X11" || return 1
install -m755 -d "${pkgdir}/var/lib/xkb" || return 1
msg "Backing up libwfb.so..."
mv "${pkgdir}/usr/lib/xorg/modules/libwfb.so" \
"${pkgdir}/usr/lib/xorg/modules/libwfb.so.1.4" || return 1
msg "Fixes for non-Mesa drivers..."
ln -s "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
"${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1
msg "Cleaning build area..."
rm -rf "${srcdir}/$_gitname-build"
rm -rf "${pkgdir}/var/log"
And It's my error when i try to make it:
In file included from xfixesint.h:63,
from xfixes.c:54:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
In file included from xfixesint.h:63,
from saveset.c:27:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
make[1]: *** [xfixes.lo] Błąd 1
make[1]: *** Oczekiwanie na niezakończone zadania....
make[1]: *** [saveset.lo] Błąd 1
In file included from xfixesint.h:63,
from region.c:27:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
In file included from xfixesint.h:63,
from select.c:27:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
In file included from xfixesint.h:63,
from cursor.c:54:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
region.c: In function 'ProcXFixesSetWindowShapeRegion':
region.c:695: error: 'ShapeBounding' undeclared (first use in this function)
region.c:695: error: (Each undeclared identifier is reported only once
region.c:695: error: for each function it appears in.)
region.c:696: error: 'ShapeClip' undeclared (first use in this function)
region.c:697: error: 'ShapeInput' undeclared (first use in this function)
make[1]: *** [region.lo] Błąd 1
make[1]: *** [select.lo] Błąd 1
make[1]: *** [cursor.lo] Błąd 1
make: *** [all-recursive] Błąd 1
==> BŁĄD: Budowanie nie powiodło się.
Przerywam...
Thanks for help and advice
Last edited by SpeedVin (2009-07-31 14:06:30)flamelab wrote:
Can you please post an output of this error with english messages ? I don't understand Polish
It says "No such file or directory" I suppose ?
Yes that's right I'm not good at tranlate but I will try
In file included from xfixesint.h:63,
from saveset.c:27:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
In file included from xfixesint.h:63,
from cursor.c:54:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
make[1]: *** [saveset.lo] Error 1
make[1]: *** Waiting for not end tasks....
In file included from xfixesint.h:63,
from region.c:27:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
make[1]: *** [cursor.lo] Error 1
In file included from xfixesint.h:63,
from select.c:27:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
region.c: In function 'ProcXFixesSetWindowShapeRegion':
region.c:695: error: 'ShapeBounding' undeclared (first use in this function)
region.c:695: error: (Each undeclared identifier is reported only once
region.c:695: error: for each function it appears in.)
region.c:696: error: 'ShapeClip' undeclared (first use in this function)
region.c:697: error: 'ShapeInput' undeclared (first use in this function)
make[1]: *** [select.lo] Błąd 1
In file included from xfixesint.h:63,
from xfixes.c:54:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
make[1]: *** [region.lo] Error 1
make[1]: *** [xfixes.lo] Error 1
make: *** [all-recursive] Error 1
==> Error: Make fail
Last edited by SpeedVin (2009-07-31 14:02:05) -
[Solved]Xorg-server and nvidia binary driver don't work
See topic. When updating to xf86-input-evdev-2.8.2-2 xf86-input-joystick-1.6.2-3 xf86-input-keyboard-1.8.0-2 xf86-input-mouse-1.9.0-2 and xorg-server-1.15.0-1 X won't start and 'systemctl status kdm.service' states that the X server has died. According to Phoronix this should not happen.
Harvey
Last edited by Harey (2014-01-14 11:06:53)The ABI check is there for a purpose:
[ 38.018] Loading extension NV-GLX
[ 38.027] (EE)
[ 38.027] (EE) Backtrace:
[ 38.029] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x5834c8]
[ 38.029] (EE) 1: /usr/bin/X (0x400000+0x1871a9) [0x5871a9]
[ 38.029] (EE) 2: /usr/lib/libpthread.so.0 (0x7ff70edbf000+0xf870) [0x7ff70edce870]
[ 38.029] (EE) 3: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7ff708c51000+0x4e427f) [0x7ff70913527f]
[ 38.029] (EE) 4: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7ff708c51000+0x4eb501) [0x7ff70913c501]
[ 38.029] (EE) 5: /usr/bin/X (AddScreen+0x71) [0x435c81]
[ 38.029] (EE) 6: /usr/bin/X (InitOutput+0x3df) [0x4769df]
[ 38.029] (EE) 7: /usr/bin/X (0x400000+0x3961b) [0x43961b]
[ 38.029] (EE) 8: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7ff70dc35b05]
[ 38.029] (EE) 9: /usr/bin/X (0x400000+0x24dae) [0x424dae]
[ 38.029] (EE)
[ 38.029] (EE) Segmentation fault at address 0x18
[ 38.029] (EE)
Fatal server error:
[ 38.029] (EE) Caught signal 11 (Segmentation fault). Server aborting
Seems we have to wait for nvidia to include xorg-server 1.15 into their driver
Harvey -
[Solved] Compiling Xorg-server 1.6.3.901.
Hello Toaday I wanted to build new xorg-server package with this PKGBUILD:
5 pkgname=xorg-server
6 pkgver=1.6.3.901
7 pkgrel=1
8 pkgdesc="X.Org X servers"
9 arch=('i686' 'x86_64')
10 license=('custom')
11 url="http://xorg.freedesktop.org"
12 depends=('libxfont>=1.4.0' 'openssl>=0.9.8k' 'libpciaccess>=0.10.8' 'libxv>=1.0.4' 'pixman>=0.16.0' 'xkeyboard-config>=1.6' 'xorg-serve
13 makedepends=('glproto' 'libx11>=1.2.2' 'mesa>=7.5.1' 'xf86driproto>=2.1.0' 'xtrans>=1.2.4' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'ren
14 conflicts=('catalyst-utils<=9.2')
15 options=('!libtool')
16 provides=('x-server')
17 groups=('xorg')
18 install=xorg-server.install
19 source=(${url}/releases/individual/xserver/${pkgname}-${pkgver}.tar.bz2
20 xorg-redhat-die-ugly-pattern-die-die-die.patch
21 dpms-dont-reset-lastdeviceeventtime.patch
22 dri2-dontcrash.patch
23 xinerama.patch
24 dga.patch
25 xvfb-run
26 xvfb-run.1)
27 md5sums=('8d43c4cb43e6a10550e68fbbcad10e9d'
28 '1a336eb22e27cbf443ec5a2ecddfa93c'
29 '9ea2e9f5a7192da23c5c573545fe9836'
30 '03cd32862fbfe5f493e108ee7205ade6'
31 '060aaa85d64d26915783e9f6837a666c'
32 'f426f93dfec972ba6f641a8e7d6a9256'
33 '52fd3effd80d7bc6c1660d4ecf23d31c'
34 '376c70308715cd2643f7bff936d9934b')
35
36 build() {
37 cd "${srcdir}/${pkgname}-${pkgver}"
38 # Get rid of the ugly pattern
39 patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch" || return 1
40
41 # Build fixes for new protos
42 patch -Np1 -i "${srcdir}/xinerama.patch" || return 1
43 patch -Np1 -i "${srcdir}/dga.patch" || return 1
44
45 # Fixes from http://wiki.x.org/wiki/Server16Branch
46 patch -Np1 -i "${srcdir}/dpms-dont-reset-lastdeviceeventtime.patch" || return 1
47 patch -Np1 -i "${srcdir}/dri2-dontcrash.patch" || return 1
48
49 # Fix dbus config path
50 sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1
51
52 ./configure --prefix=/usr \
53 --disable-dri2 \
54 --disable-ipv6 \
55 --disable-dri \
56 --disable-dmx \
57 --disable-xvfb \
58 --disable-xnest \
59 --disable-composite \
60 --disable-xcsecurity \
61 --enable-xorg \
62 --disable-xephyr \
63 --disable-glx-tls \
64 --disable-kdrive \
65 --enable-install-setuid \
66 --disable-config-hal \
67 --enable-config-dbus \
68 --disable-record \
69 --disable-xfbdev \
70 --disable-xfake \
71 --disable-xsdl \
72 --disable-static \
73 --sysconfdir=/etc/X11 \
74 --localstatedir=/var \
75 --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/shar
76 --with-xkb-path=/usr/share/X11/xkb \
77 --with-xkb-output=/var/lib/xkb \
78 --without-dri-driver || return 1
79
80 make || return 1
81 make DESTDIR="${pkgdir}" install || return 1
82
83 install -m755 "${srcdir}/xvfb-run" "${pkgdir}/usr/bin/" || return 1
84 install -m644 "${srcdir}/xvfb-run.1" "${pkgdir}/usr/share/man/man1/" || return 1
85
86 rm -rf "${pkgdir}/var/log" || return 1
87
88 install -m755 -d "${pkgdir}/etc/X11" || return 1
89 install -m755 -d "${pkgdir}/var/lib/xkb" || return 1
90
91 # Needed for non-mesa drivers, libgl will restore it
92 mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
93 "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1
94
95 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
96 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
And while compiling I got error:
/home/user/abs/xorg-server/PKGBUILD: line 77: --with-xkb-path=/usr/share/X11/xkb: No such file or direcotry
Last edited by SpeedVin (2009-09-06 14:00:23)Heh I missed some part of like like flamelab said , how I do that?
Some time ago I created my own PKGBUILD for xorg-server and toady I want to update it becouse I see some difreces between my PKGBUILD and PKGBUILD from abs tree and I copy the difrrent line
Thanks Perry3D and big thanks to flamelab. -
Unable to build xorg-server from abs
Trying to makepkg xorg-server 1.13.1-1, however faults out with the following:
/usr/include/X11/fonts/fontproto.h:48:13: note: previous declaration of 'remove_fs_handlers' was here
In file included from main.c:102:0:
../include/dixfont.h:182:22: warning: redundant redeclaration of 'StoreFontClientFont' [-Wredundant-decls]
In file included from /usr/include/X11/fonts/fontstruct.h:291:0,
from ../include/dixfont.h:30,
from main.c:102:
/usr/include/X11/fonts/fontproto.h:61:12: note: previous declaration of 'StoreFontClientFont' was here
main.c: In function 'main':
main.c:140:13: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
cc1: some warnings being treated as errors
make[2]: *** [main.lo] Error 1
make[2]: Leaving directory `/media/data/abs/xorg-server/src/xorg-server-1.13.1/dix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/media/data/abs/xorg-server/src/xorg-server-1.13.1/dix'
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
My system is an AMD64 with a nvidia 9800GT using Arch x64 & nouveau driver.
Would appreciate any help.Trying to makepkg xorg-server 1.13.1-1, however faults out with the following:
/usr/include/X11/fonts/fontproto.h:48:13: note: previous declaration of 'remove_fs_handlers' was here
In file included from main.c:102:0:
../include/dixfont.h:182:22: warning: redundant redeclaration of 'StoreFontClientFont' [-Wredundant-decls]
In file included from /usr/include/X11/fonts/fontstruct.h:291:0,
from ../include/dixfont.h:30,
from main.c:102:
/usr/include/X11/fonts/fontproto.h:61:12: note: previous declaration of 'StoreFontClientFont' was here
main.c: In function 'main':
main.c:140:13: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
cc1: some warnings being treated as errors
make[2]: *** [main.lo] Error 1
make[2]: Leaving directory `/media/data/abs/xorg-server/src/xorg-server-1.13.1/dix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/media/data/abs/xorg-server/src/xorg-server-1.13.1/dix'
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
My system is an AMD64 with a nvidia 9800GT using Arch x64 & nouveau driver.
Would appreciate any help. -
Hi everyone
I think I'm having the same problems as this guy: https://bugs.freedesktop.org/show_bug.cgi?id=12509
To make sure that the suggested patch (from here: https://bugs.freedesktop.org/show_bug.cgi?id=12858) is really working I tried to rebuild xorg-server.
But I just get some strange errors and I can't figure out where they come from
I did 'make' in the folder that failed during makepkg
Here's the output: http://phpfi.com/277365
My system is completely up to date (I also tried building it after the core-update but no success)
I'd appreciate any help
Thanks in advance
XazZYep. it should work with --disable-config-hal .
Btw, thats how the patch was really commited :
http://gitweb.freedesktop.org/?p=xorg/x … 1b4c747727
You should be able to download this link and use it as a patch directly.
If it works, open a bug report on bugs.archlinux.org with a link to the upstream bug report 12858, and with the link above (the patch that was actually commited). -
[SOLVED] After xorg-server update backlight is not behaving
After updating a Thinkpad S540 today the system goes into dim backlight level for the screen during the initial stages of the boot process, and recovers to normal brightness after the password has been entered in the KDM greeter and the user logs in to KDE. Running KDE the brightness behaves normally, but when the system shuts down after logging out from KDE the text output during shutdown does into very dim mode again.
The brightness parameters when logged in to KDE look fine.
$ ls -1 /sys/class/backlight/intel_backlight/*brightness | xargs -I % sh -c "echo % ; cat %"
/sys/class/backlight/intel_backlight/actual_brightness
937
/sys/class/backlight/intel_backlight/brightness
937
/sys/class/backlight/intel_backlight/max_brightness
937
$ ls -1 /sys/class/backlight/acpi_video0/*brightness | xargs -I % sh -c "echo % ; cat %"
/sys/class/backlight/acpi_video0/actual_brightness
100
/sys/class/backlight/acpi_video0/brightness
100
/sys/class/backlight/acpi_video0/max_brightness
100
The snippet of journal log relevant to the brightness setting is:
Jul 29 17:56:28 lenovo1 systemd[1]: Created slice system-systemd\x2dbacklight.slice.
Jul 29 17:56:28 lenovo1 systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:acpi_video0...
Jul 29 17:56:28 lenovo1 kernel: thinkpad_acpi: ThinkPad ACPI Extras v0.25
Jul 29 17:56:28 lenovo1 kernel: thinkpad_acpi: http://ibm-acpi.sf.net/
Jul 29 17:56:28 lenovo1 kernel: thinkpad_acpi: ThinkPad BIOS GPET58WW (1.58 ), EC unknown
Jul 29 17:56:28 lenovo1 kernel: thinkpad_acpi: Lenovo ThinkPad S5-S540, model 20B3CTO1WW
Jul 29 17:56:28 lenovo1 systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:intel_backlight...
Jul 29 17:56:28 lenovo1 kernel: snd_hda_intel 0000:00:1b.0: irq 61 for MSI/MSI-X
Jul 29 17:56:28 lenovo1 kernel: tpm_tis 00:0b: 1.2 TPM (device-id 0x0, rev-id 78)
Jul 29 17:56:28 lenovo1 kernel: ACPI Error: [\_SB_.PCI0.GFX0.DD02._BCL] Namespace lookup failure, AE_NOT_FOUND (20
Jul 29 17:56:28 lenovo1 kernel: ACPI Error: Method parse/execution failed [\_SB_.PCI0.RP05.PEGP.DD02._BCL] (Node f
Jul 29 17:56:28 lenovo1 kernel: thinkpad_acpi: detected a 8-level brightness capable ThinkPad
Jul 29 17:56:28 lenovo1 kernel: thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, suppo
Jul 29 17:56:28 lenovo1 kernel: thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
Jul 29 17:56:28 lenovo1 systemd-backlight[200]: Saved brightness 11 too low; increasing to 46.
Jul 29 17:56:28 lenovo1 kernel: snd_hda_intel 0000:00:03.0: irq 62 for MSI/MSI-X
Jul 29 17:56:28 lenovo1 kernel: ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [EmbeddedControl] (20140
Jul 29 17:56:28 lenovo1 kernel: ACPI Error: Method parse/execution failed [\_TZ_.TZ01._TMP] (Node ffff880226839cd0
Jul 29 17:56:28 lenovo1 kernel: ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [EmbeddedControl] (20140
Jul 29 17:56:28 lenovo1 kernel: ACPI Error: Method parse/execution failed [\_TZ_.TZ01._TMP] (Node ffff880226839cd0
Jul 29 17:56:28 lenovo1 systemd[1]: Started Load/Save Screen Backlight Brightness of backlight:acpi_video0.
Jul 29 17:56:28 lenovo1 systemd[1]: Started Load/Save Screen Backlight Brightness of backlight:intel_backlight.
Booting with kernel parameter systemd.restore_state=0 gives a normal brightness throughout. So this must have something to do with the saving of the brightness parameters by systemd. The clue is in the journal log above:
systemd-backlight[200]: Saved brightness 11 too low; increasing to 46.
I wonder how I can get systemd to reset the stored value which is too low to be sensible?
Has anyone seen similar behaviour and if so is there a proper fix instead of the workaround in the bug I have filed upstream as below?
Filed arch bug https://bugs.archlinux.org/task/41390
and upstream at https://bugs.freedesktop.org/show_bug.cgi?id=81884
Last edited by mcloaked (2014-08-13 08:58:01)@iskandr , @ens about backlight and fn keys:
keys work (I checked by xmodmap) and backlight control works, but only by:
/sys/class/backlight/intel_backlight/brightness
old scripts which used for example:
/sys/class/backlight/acpi_video0/brightness
stopped works.
I wonder if this is a BUG or new feature? Where are handlers in clean Linux / systemd responsible for action to acpi keys which controlls backlight? ( I checked and it's not acpid /etc/acpi/handler.sh - acpi keys backlight controll works without it ). (moreover,acpid is external application as well as xbacklight, gbacklight etc... It should work OOTB, without these applications and also in the console.)
to turn on old interface as before 3.16 try add
video.use_native_backlight=0
to GRUB_CMDLINE_LINUX_DEFAULT line in /etc/default/grub ( remember about grub-mkconfig -o /boot/grub/grub.cfg )
it turns on old interface:
ls -l /sys/class/backlight/
lrwxrwxrwx 1 root root 0 08-15 13:36 acpi_video0 -> ../../devices/pci0000:00/0000:00:01.0/0000:01:00.0/backlight/acpi_video0
lrwxrwxrwx 1 root root 0 08-15 13:36 acpi_video1 -> ../../devices/pci0000:00/0000:00:02.0/backlight/acpi_video1
lrwxrwxrwx 1 root root 0 08-15 13:36 intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight
and everything works again as before 3.16.
http://cgit.freedesktop.org/xorg/driver … 0d681c171e
This is another BUG (also occurs to my laptop). I see that the code is ready, so wait for a fix update.
I wonder also whether and where to file a bug report (about fn keys + backlight control).
Last edited by kelloco2 (2014-08-15 12:38:16) -
[SOLVED] xorg-server build from abs fails
Hi,
ever since I installed the update to gcc-5.1.0 the building of xorg-server from abs fails:
$ makepkg -s
CCLD libXextdpmsstubs.la
xvdisp.c: In function ‘XineramifyXv’:
xvdisp.c:1783:37: error: array subscript is above array bounds [-Werror=array-bounds]
if (MatchingAdaptors[k] && (MatchingAdaptors[k]->nPorts > j))
^
xvdisp.c:1784:31: error: array subscript is above array bounds [-Werror=array-bounds]
port->info[k].id = MatchingAdaptors[k]->base_id + j;
^
xvdisp.c:1786:31: error: array subscript is above array bounds [-Werror=array-bounds]
port->info[k].id = 0;
^
cc1: some warnings being treated as errors
Makefile:777: recipe for target 'xvdisp.lo' failed
make[1]: *** [xvdisp.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
This happens for xorg-server-1.17.1-6 and up as well as for xorg-server-1.17.2-1 .
$ gcc --version
gcc (GCC) 5.1.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I searched for a solution or a patch, but couldn't find anything.
xorg-server-1.17.2 supposedly has build fixes with gcc-5.1, but obviously that didn't help much for me.
Otherwise my arch installation is up-to-date.
I'm building on x86-64 (Haswell) with
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
CXXFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
LDFLAGS="-Wl,-O2,--sort-common,--as-needed,-z,relro"
MAKEFLAGS="-j16"
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
Has anyone else seen this or any idea how to fix it?
Last edited by pgzh (2015-06-19 15:03:20)Using
CFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
in makepkg.conf actually worked, I totally forgot about changing the optimization level.
Since this is the first time for a very long time I've encountered a problem with -O3, do you think this should be reported as a bug for xorg-server?
With gcc-4.9 building xorg-server with -O3 optimization level worked perfectly fine for me (I built 1.17.1 like that) and gcc-5.1 causes this culprit.
Anyways, thank you very much for your help! -
[solved/cannot be solved]Xorg-server and gnome-power-manager
I was wondering if there is hope that someone will put patches to main tree of Xorg-server which are here: http://blogs.gnome.org/hughsie/2009/08/ … of-bodges/
It should remove this weird blanking effect and time gap before screen is backlighted again. I didn't tested it, because it requires rebuild of xorg-server and I don't want to use git version, but guys there says that it's working.
Last edited by megawebmaster (2010-02-08 22:24:26)OK, thanks for advice, I'll try building xorg-server with ABS.
I've got another problem with automatic turn off screen - media players don't prevent turning screen off while they are playing film. Is there any possibility to fix it? Only way I've found is to turn off automatic screen backlight off after couple of minutes, but it's not how tigers want this to work -
I'm trying to play a game via wine, the game needs the lib32-nvidia-utils package.
If I try to install it from the repos, pacman tells me that it is unavailable, even after repo syncing with pacman -Sy...
( Arch package search shows me that it is normally in the community repos )
However, I've navigated to a repo in my browser,
downloaded it manually, and tried to install it ( with pacman -U).
Then pacman tells me something like:
the package lib32-nvidia-utils conflicts with lib32-libgl.
khm...
lib32-libgl is needed by lib32-mesa which is needed by wine.
so, how to install lib32-nvidia-utils?
host is archx86_64, nvidia driver is 190.42, with gnome 2.28, wine version is 1.1.34-2, installed from AUR (bin32-wine)
Last edited by scar (2009-12-19 12:13:47)sorry, it is solved....
pacman -Syy ( forced syncing )
sudo pacman -S lib32-nvidia-utils
remove lib32-libgl, it doesn't break anything...
wine launches well and the games ( as any wine app ) is working fine
Last edited by scar (2009-12-19 12:19:58) -
[SOLVED] Libgl and Nvidia-Utils are in conflict with the mos
:: Synchronizing package databases...
core is up to date
extra 887.1K 1424.1K/s 00:00:01 [-------------------------] 100%
community 580.2K 1192.7K/s 00:00:00 [-------------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
:: libgl and nvidia-utils are in conflict. Remove nvidia-utils? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: libgl and nvidia-utils are in conflict
I've read threads on this before but this time nvidia-utils is being asked to be removed. I'm not sure if removing nvidia-utils is safe. Before, reading some threads on here, I had to set libgl to ignore to get nvidia-utils to install.
Thanks.
Last edited by 6msj (2011-11-02 22:48:25)Sorry to bump a dying post but I'm running into this problem upgrading dkms-nvidia.
==> Install or build missing dependencies for dkms-nvidia:
resolving dependencies...
looking for inter-conflicts...
:: nvidia-utils and libgl are in conflict. Remove libgl? [y/N] y
:: nvidia-utils and nvidia-utils-bumblebee are in conflict. Remove nvidia-utils-bumblebee? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: nvidia-utils and nvidia-utils-bumblebee are in conflict
sudo pacman -Rns nvidia-utils
error: target not found: nvidia-utils
pacman -Qs dri
local/bumblebee 3.0.1-4
Bumblebee brings Optimus Support for Linux Through VirtualGL. You need to install proper drivers separately. Can be used with Nouveau or Nvidia
local/dkms-nvidia 304.64-1
NVIDIA dynamic kernel module (DKMS) drivers for kernel26.
local/dri2proto 2.8-1
X11 DRI protocol
local/hdparm 9.43-1
A shell utility for manipulating Linux IDE drive/driver parameters
local/intel-dri 9.0.1-1
Mesa DRI drivers for Intel
local/lib32-nvidia-utils 310.19-1
NVIDIA drivers utilities and libraries. (32-bit)
local/libgl 9.0.1-1
Mesa 3-D graphics library and DRI software rasterizer
local/libraw1394 2.0.7-2
Provides an API to the Linux IEEE1394 (FireWire) driver
local/libzapojit 0.0.2-1
GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs
local/nvidia-utils-bumblebee 304.64-1
NVIDIA drivers utilities and libraries. With LibGL and xorg modules installed in a different directory.
local/unetbootin 581-1
Create bootable Live USB drives
local/xf86-input-evdev 2.7.3-2 (xorg-drivers xorg)
X.org evdev input driver
local/xf86-input-keyboard 1.6.2-2 (xorg-drivers xorg)
X.Org keyboard input driver
local/xf86-input-synaptics 1.6.2-2 (xorg-drivers xorg)
Synaptics driver for notebook touchpads
local/xf86-video-intel 2.20.14-1 (xorg-drivers xorg)
X.org Intel i810/i830/i915/945G/G965+ video drivers
local/xorg-xdriinfo 1.0.4-3 (xorg-apps xorg)
Query configuration information of DRI drivers
>wonder wrote:you have intel-dri installed which has libgl dependency versioned. that package was updated recently and wants a newer libgl but it can't install it because nvidia-utils is installed.solution: pacman -R intel-dri
My laptop has optimus so intel and nvidia drivers are required, any idea how to proceed?
Last edited by possiblefool (2012-12-05 12:56:44) -
[SOLVED]libgl and nvidia-173xx-utils conflicts
sudo pacman -Syu
:: Синхронизируются базы данных пакетов...
core up to date
extra up to date
community up to date
archlinuxfr up to date
:: System full update...
Dependencies...
проверка на взаимную несовместимость...
:: libgl и nvidia-173xx-utils conflicts. Delete nvidia-173xx-utils? [y/N] n
error: обнаружен неразрешимый конфликт пакетов
error: не удалось подготовить запрос (конфликтующие зависимости)
:: libgl and nvidia-173xx-utils conflicts
(Sorry, original log is on russian, but I translated main words)
But!
pacman -Rns libgl
error: 'libgl': not found
How to fix it?
Last edited by Dr.X (2010-11-10 18:41:30)Solved the problem is very simple - removing the nouveau. I have it was because I was in one blog/forum read that no problem with containing both nvidia and nouveau, but that one of them will be in Blacklist. But he interrupted me to upgrade. But the strangest thing - when I last updated, they do not conflict, but now whoop.
Thanks TigTex and wonder for your help! -
[solved]libgl and nvidia-utils are in conflict
resolving dependencies...
warning: dependency cycle detected:
warning: udev will be installed before its util-linux dependency
looking for inter-conflicts...
:: libgl and nvidia-utils are in conflict. Remove nvidia-utils? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: libgl and nvidia-utils are in conflict
I remember that I had to remove libgl when installing the Nvidia driver, has something regarding that situation changed/inverted ?
(Also, I have multilib enabled and 32 bit nvidia packages installed)
Last edited by manasij7479 (2012-03-17 21:40:10)Grepping "pacman -Q" for nvidia, ati and intel individually do not show anything suspicious under the later two.
[manasij7479@manasijd ~]$ pacman -Q | grep nvidia
lib32-nvidia-utils 295.20-1
nvidia 295.20-3
nvidia-cg-toolkit 3.1-1
nvidia-utils 295.20-1
opencl-nvidia 295.20-1
[manasij7479@manasijd ~]$ pacman -Q | grep intel
intel-tbb 4.0_20111130-1
[manasij7479@manasijd ~]$ pacman -Q | grep ati
kdegames-granatier 4.8.1-1
kdegames-kpatience 4.8.1-1
kdeplasma-addons-applets-weatherstation 4.8.1-1
kdetoys-kteatime 4.8.1-1
startup-notification 0.12-2
telepathy-kde-integration-module 0.2.0-1
What other names can video drivers have ?
Does the lib32-nvidia-utils count as a dupe ? If so, how do I run 32 bit software with 3d acceleration ?
Maybe you are looking for
-
BEx Query Designer,点击新建,选择信息范围时,提示:严重服务器错误
各位好 我在新建bw query时,点击新建按钮,选择信息范围,然后就没反应了,估计10分钟后,弹出一个消息: 严重服务器错误 服务器会话可能已终止:此连接不再存在或不稳定 再次登录到服务器以创建新连接 getnodes: rfc exception 在st22中也查看了,是一个超时的error: The program "SAPLRZX0" has exceeded the maximum permitted runtime without interruption and h
-
How to transfer music to new account
I have one account for iTunes and one for iCloud.
-
Does OCFS2 file system get fragmented
We are running Production & Testing RAC databases on Oracle 9.2.0.8 RAC on Red Hat 4.0 using OCFS2 for the cluster file system. Every week we refresh our Test database by deleting the datafiles and cloning our Standby database to the Test database. T
-
Convert to JPEG action fails when packaged as application
I am having problems with an automator workflow I have set up. The gist of the process is that I specify some images, both tiff and jpeg (or possibly all tiff), and the workflow copies and resizes them into thumbnail, medium, and full size images, an
-
ASIO audio driver in UDP 1.13
Just wondering if anyone is able to use the ASIO audio driver successfully with the 1.13 drivers? On my system every time I call up the NVASIO Control Panel from a host application and then click OK, it crashes. (tried this in Cubase SX, FruityLoops,