Re: Correct git clone and build instructions?
Using JHBuild - http://library.gnome.org/devel/jhbuild/stable/getting-started.html.en#getting-started-install with the current xorg.modules - http://cgit.freedesktop.org/xorg/util/modular/tree/xorg.modules - is the best method I know of. You can cut out the apps,drivers,etc you won't need from the xorg.modules. Jeff Carr-3 wrote: I'm having trouble finding accurate git clone and build instructions on the wiki. When trying to run autoconf.sh in the xserver tree it complained of error: must install xorg-macros. Is the best way to just go through and clone these one by one until the dependencies are met? I suspected it's just the beginning of a long chain of hairy dependences that might be worthy of emailing the list first. Is there a tool like the android repo or perhaps a method to pull down the various git trees via git submodule? Or just README that contains the recommended order of building and installing? - Error:Success -- View this message in context: http://old.nabble.com/Correct-git-clone-and-build-instructions--tp28323619p28331587.html Sent from the Free Desktop - xorg mailing list archive at Nabble.com. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Problems with xrandr using xorg-server 1.8.0 with Intel graphics
Rebuild your xserver with --enable-debug or use the xserver debug symbols from your distro package. You should be able to extract some meaningful info about what happens when the xserver restarts through gdb or some other means. http://www.x.org/wiki/Development/Documentation/ServerDebugging Andreas Sturmlechner wrote: xrandr seems to be broken for me too since the upgrade to xorg-server-1.8.0 regardless of the kernel version. I'm also using intel graphics driver 2.11.0, Mesa 7.8.1, libdrm 2.4.20, tested kernels 2.6.32 to 2.6.34 and xrandr up to its latest git repo commit. Unfortunately I don't know how to get any meaningful error message out of it, xrandr --verbose, dmesg, Xorg.0.log are all quiet about it. All I can tell is that *most* attempts at using xrandr to set a different screen resolution result into the X server simply resetting me back to my login manager. ___ - Error:Success -- View this message in context: http://old.nabble.com/Problems-with-xrandr-using-xorg-server-1.8.0-with-Intel-graphics-tp28277545p28279754.html Sent from the Free Desktop - xorg mailing list archive at Nabble.com. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Memory hog on Ubuntu 9.10
Since no one has given you any sound advice or helpful suggestionsbesides comments from people with an axe to grind or play the blame game without knowing what the problem really is or if there is one at all. -Run 'top -d 120 -p {PID of Xorg} xorgfile' Set the delay for however long you want and see what it shows. Or just use without the '-p' switch to get all the programs. -Use valgrind to look for memleaks,etc but I don't know how valgrind would get along with attaching to the Xorg process or if it would provide any useful info. -RTFM the top manual page .. http://unixhelp.ed.ac.uk/CGI/man-cgi?top .. to make sure you understand the difference between what you think are seeing and what is being displayed. -Look for any unnecessary modules being loaded by the Xserver in the /var/log/Xorg.0.log or any other errors/warnings. -Look/Search at https://bugs.freedesktop.org/ for current Xorg-xserver bugs. Depending on what version Xserver you're running it may be a bug that is already taken care of in a newer revision. -nVidia Linux forum for getting real help...http://www.nvnews.net/vbulletin/forumdisplay.php?f=14 yangzhang wrote: I'm using Ubuntu 9.10 on x86_64 with Compiz effects turned on. No apps are running, but according to top, X was using 733MB: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 1461 root 20 0 1145m 733m 8716 S0 36.6 16:05.56 Xorg xrestop shows programs taking nowhere near a gig: - Error:Success -- View this message in context: http://old.nabble.com/Memory-hog-on-Ubuntu-9.10-tp28131818p28143136.html Sent from the Free Desktop - xorg mailing list archive at Nabble.com. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Re: modular build, libGL make install fails
Mm. I thought it was relevant to here since it's a mandatory part of building Xorg at all. - If you're using the nVidia binary driver you can skip(cut it out of the xorg.modules) the mesa build because nVidia binary uses it's own Glx modules. Remember to put --disable-glx in the autogenargs for xserver in xorg.modules. Also take out the stuff you don't need to build in the xorg.modules which will save you time and headaches. If you're unsure just use the mesa-dev packages in whatever distro you're using. 'sudo ~/.local/bin/jhbuild --moduleset=/home/foo/jhbuild/modulesets/xorg.modules -f ~/jhbuildrc.XORG build xorg' works for me. Happy Building. ubuntu 9.10 - Error:Success -- View this message in context: http://old.nabble.com/modular-build%2C-libGL-%22make-install%22-fails-tp27388491p27394454.html Sent from the Free Desktop - xorg mailing list archive at Nabble.com. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Building X from git
Jhbuild ... http://library.gnome.org/devel/jhbuild/unstable/getting-started.html.en with the xorg.modules works well. http://cgit.freedesktop.org/xorg/util/modular/tree/xorg.modules You'll have to go in and take out the modules you don't want or don't need to build. ynezz wrote: Hi, I would like to build X from git, and I found[1], there is a script for this[2] task, but is little bit outdated. Before digging into it myself, does anybody have up-to-date script handy? Thanks. 1. http://www.x.org/wiki/Development/BuildingX 2. Section Quick and easy way to install a development build -- ynezz ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg - Error:Success -- View this message in context: http://old.nabble.com/Building-X-from-git-tp26867593p26868714.html Sent from the Free Desktop - xorg mailing list archive at Nabble.com. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Logging out
There's an option under Preferences - Keyboard - Layouts Tab - Keyboard Layout Options - Key Sequence to Kill the X server and select Alt-Ctrl-Backspace. At least that's the way it is in Ubuntu 9.10 Gnome. Russell Shaw wrote: Hi, In /etc/X11/xorg.conf i have: Section ServerFlags # Allow ctrl-alt-backspace Option DontZap false EndSection but ctrl-alt-backspace doesn't work. (Recent xorg server from debian/unstable: Version: 2:1.6.4-2) How do i log out of X so the xdm screen comes up? ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg - Error:Success -- View this message in context: http://old.nabble.com/Logging-out-tp26367001p26378887.html Sent from the Free Desktop - xorg mailing list archive at Nabble.com. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
build errors with newest xf86-input-evdev mouse from git
**xf86-input-mouse libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -g -O2 -MT mouse.lo -MD -MP -MF .deps/mouse.Tpo -c mouse.c -fPIC -DPIC -o .libs/mouse.o mouse.c: In function ‘MouseProc’: mouse.c:1635: warning: passing argument 4 of ‘InitPointerDeviceStruct’ from incompatible pointer type mouse.c:1635: warning: passing argument 5 of ‘InitPointerDeviceStruct’ makes pointer from integer without a cast mouse.c:1635: error: too few arguments to function ‘InitPointerDeviceStruct’ mouse.c:1597: warning: unused variable ‘axes_labels’ mouse.c:1596: warning: unused variable ‘btn_labels’ make[2]: *** [mouse.lo] Error 1 make[2]: Leaving directory `~/xorg-checkout/xorg/driver/xf86-input-mouse/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `~/xorg-checkout/xorg/driver/xf86-input-mouse' make: *** [all] Error 2 **xf86-input-evdev libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -g -O2 -MT evdev.lo -MD -MP -MF .deps/evdev.Tpo -c evdev.c -fPIC -DPIC -o .libs/evdev.o evdev.c: In function ‘EvdevKbdCtrl’: evdev.c:955: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result evdev.c: In function ‘EvdevAddAbsClass’: evdev.c:1028: warning: passing argument 3 of ‘InitValuatorClassDeviceStruct’ makes pointer from integer without a cast evdev.c:1028: error: too few arguments to function ‘InitValuatorClassDeviceStruct’ evdev.c: In function ‘EvdevAddRelClass’: evdev.c:1124: warning: passing argument 3 of ‘InitValuatorClassDeviceStruct’ makes pointer from integer without a cast evdev.c:1124: error: too few arguments to function ‘InitValuatorClassDeviceStruct’ evdev.c: In function ‘EvdevAddButtonClass’: evdev.c:1168: warning: passing argument 3 of ‘InitButtonClassDeviceStruct’ from incompatible pointer type evdev.c:1168: error: too few arguments to function ‘InitButtonClassDeviceStruct’ make[2]: *** [evdev.lo] Error 1 make[2]: Leaving directory `~/xorg-checkout/xorg/driver/xf86-input-evdev/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `~/xorg-checkout/xorg/driver/xf86-input-evdev' make: *** [all] Error 2 - Error:Success -- View this message in context: http://www.nabble.com/build-errors-with-newest-xf86-input-evdev---mouse-from-git-tp24095298p24095298.html Sent from the Free Desktop - xorg mailing list archive at Nabble.com. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: build errors with newest xf86-input-evdev mouse from git
The only error I can see is in the mouse/evdev config.log which states: conftest.c:25:2: error: #error XINPUT not defined configure:12097: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME xf86-input-mouse | #define PACKAGE_TARNAME xf86-input-mouse | #define PACKAGE_VERSION 1.4.0 | #define PACKAGE_STRING xf86-input-mouse 1.4.0 | #define PACKAGE_BUGREPORT https://bugs.freedesktop.org/enter_bug.cgi?product=xorg; | #define PACKAGE xf86-input-mouse | #define VERSION 1.4.0 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR .libs/ | /* end confdefs.h. */ | | #include xorg-server.h | #if !defined XINPUT | #error XINPUT not defined | #endif | | int | main () | { | | ; | return 0; | } ?? I pull all my stuff from the master branch Xorg repository sono big deal. I'll come back later once it's sorted itself out.:^) Thanks. Peter Hutterer-3 wrote: On Thu, Jun 18, 2009 at 09:10:28AM -0700, ace102 wrote: **xf86-input-mouse **xf86-input-evdev uhm. those were the two I actually fixed immediately, please make sure you're running latest git from both repositories and that your include paths etc. are set up correctly. the API has changed in the server, so it needs to pull in ABI_XINPUT_VERSION 7. Cheers, Peter ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg - Error:Success -- View this message in context: http://www.nabble.com/build-errors-with-newest-xf86-input-evdev---mouse-from-git-tp24095298p24105297.html Sent from the Free Desktop - xorg mailing list archive at Nabble.com. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Build error with latest git LibX11/LibXi
LibX11 ../../../doltcompile gcc -DHAVE_CONFIG_H -I. -I../../../src -I../../../include/X11-I../../../include -I../../../include/X11 -I../../../include -I../../../include/X11 -I../../../src/xcms -I../../../src/xkb -I../../../src/xlibi18n -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_BSD_SOURCE -DXIM_t -DTRANS_CLIENT -DMALLOC_0_RETURNS_NULL -g -O2 -MT imLcIm.lo -MD -MP -MF .deps/imLcIm.Tpo -c -o imLcIm.lo imLcIm.c imLcIm.c: In function ‘_XimCachedFileName’: imLcIm.c:364: warning: format ‘%03x’ expects type ‘unsigned int’, but argument 6 has type ‘long unsigned int’ imLcIm.c:367: warning: format ‘%03x’ expects type ‘unsigned int’, but argument 6 has type ‘long unsigned int’ imLcIm.c:370: warning: implicit declaration of function ‘open’ imLcIm.c:370: warning: nested extern declaration of ‘open’ imLcIm.c:370: error: ‘O_RDONLY’ undeclared (first use in this function) imLcIm.c:370: error: (Each undeclared identifier is reported only once imLcIm.c:370: error: for each function it appears in.) imLcIm.c:376: warning: implicit declaration of function ‘close’ imLcIm.c:376: warning: nested extern declaration of ‘close’ imLcIm.c:383: warning: implicit declaration of function ‘time’ imLcIm.c:383: warning: nested extern declaration of ‘time’ imLcIm.c:386: warning: implicit declaration of function ‘unlink’ imLcIm.c:386: warning: nested extern declaration of ‘unlink’ imLcIm.c: In function ‘_XimWriteCachedDefaultTree’: imLcIm.c:493: error: ‘O_WRONLY’ undeclared (first use in this function) imLcIm.c:493: error: ‘O_CREAT’ undeclared (first use in this function) imLcIm.c:493: error: ‘O_EXCL’ undeclared (first use in this function) imLcIm.c: In function ‘_XimCreateDefaultTree’: imLcIm.c:530: warning: implicit declaration of function ‘geteuid’ imLcIm.c:530: warning: nested extern declaration of ‘geteuid’ imLcIm.c:531: warning: implicit declaration of function ‘getegid’ imLcIm.c:531: warning: nested extern declaration of ‘getegid’ imLcIm.c:544: error: ‘O_RDONLY’ undeclared (first use in this function) imLcIm.c:559: warning: implicit declaration of function ‘getuid’ imLcIm.c:559: warning: nested extern declaration of ‘getuid’ imLcIm.c:559: warning: implicit declaration of function ‘getgid’ imLcIm.c:559: warning: nested extern declaration of ‘getgid’ make[3]: *** [imLcIm.lo] Error 1 make[3]: Leaving directory `/media/ubu/Goodone/hax/xorg-checkout/xorg/lib/libX11/modules/im/ximcp' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/media/ubu/Goodone/hax/xorg-checkout/xorg/lib/libX11/modules/im' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/media/ubu/Goodone/hax/xorg-checkout/xorg/lib/libX11/modules' make: *** [install-recursive] Error 1 - LibXi/Xserver CCxiselectev.o xiselectev.c: In function ‘SProcXISelectEvents’: xiselectev.c:49: error: ‘xXISelectEventsReq’ has no member named ‘window’ xiselectev.c:49: error: ‘xXISelectEventsReq’ has no member named ‘window’ xiselectev.c:49: error: ‘xXISelectEventsReq’ has no member named ‘window’ xiselectev.c:49: error: ‘xXISelectEventsReq’ has no member named ‘window’ xiselectev.c:49: error: ‘xXISelectEventsReq’ has no member named ‘window’ xiselectev.c:49: error: ‘xXISelectEventsReq’ has no member named ‘window’ xiselectev.c:49: error: ‘xXISelectEventsReq’ has no member named ‘window’ xiselectev.c:49: error: ‘xXISelectEventsReq’ has no member named ‘window’ xiselectev.c: In function ‘ProcXISelectEvents’: xiselectev.c:79: error: ‘xXISelectEventsReq’ has no member named ‘window’ xiselectev.c: In function ‘SProcXIGetSelectedEvents’: xiselectev.c:157: error: ‘xXIGetSelectedEventsReq’ has no member named ‘window’ xiselectev.c:157: error: ‘xXIGetSelectedEventsReq’ has no member named ‘window’ xiselectev.c:157: error: ‘xXIGetSelectedEventsReq’ has no member named ‘window’ xiselectev.c:157: error: ‘xXIGetSelectedEventsReq’ has no member named ‘window’ xiselectev.c:157: error: ‘xXIGetSelectedEventsReq’ has no member named ‘window’ xiselectev.c:157: error: ‘xXIGetSelectedEventsReq’ has no member named ‘window’ xiselectev.c:157: error: ‘xXIGetSelectedEventsReq’ has no member named ‘window’ xiselectev.c:157: error: ‘xXIGetSelectedEventsReq’ has no member named ‘window’ xiselectev.c: In function ‘ProcXIGetSelectedEvents’: xiselectev.c:178: error: ‘xXIGetSelectedEventsReq’ has no member named ‘window’ make[1]: *** [xiselectev.lo] Error 1 make: *** [all-recursive] Error 1 Making install in Xi CCxiselectev.o xiselectev.c: In function ‘SProcXISelectEvents’: xiselectev.c:49: error: ‘xXISelectEventsReq’ has no member named ‘window’ xiselectev.c:49: error: ‘xXISelectEventsReq’ has no
Re: How to build entirety of Xorg 7.4 from source
After going through the pain of trying to build straight from tarballs/git myself I found that JHBuild is a nice interface to do this sort of thing. With a little tweaking of the xorg.modules and jhbuildrc (both in xorg/util/modular) it works nicely. Remember to make a prefix build directory that isn't /usr to do a test build first to work out the kinks and errors that might occur. Also don't build modules/drivers you don't need which helps cut down on the build time. JD-7 wrote: I wanted to build the entirety of X 7.4 frm source, but when I saw that it is made up of individual tarballs, I decided to write and ask if there is a single tarball of everything, with a top level configure ...etc to build the whole thing. - Error:Success -- View this message in context: http://www.nabble.com/How-to-build-entirety-of-Xorg-7.4-from-source-tp22269690p22276143.html Sent from the Free Desktop - xorg mailing list archive at Nabble.com. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Building Xorg/xserver from git
Does anyone see any potential problems with using this in my main build script for 1.5.99.903+ : CC=gcc-4.3 LDFLAGS=-L/usr/lib -Wl,-rpath,/lib -Wl,-rpath,/usr/lib PATH=/usr/bin:$PATH ./util/modular/build.sh /usr Also , where would I specify the config options (--enable-dri2,etc) to be passed to the /xserver directory? Do I have to do a .configure seperately there? Should I do /util/macros directory autogen.sh before anything else? The ModularDevGuide makes no sense to me. Thanks for any advice. Ubuntu 8.10 x64 kernel-2.6.28.6 -= longtime X user - first time X builder =- - Error:Success -- View this message in context: http://www.nabble.com/Building-Xorg-xserver-from-git-tp22131950p22131950.html Sent from the Free Desktop - xorg mailing list archive at Nabble.com. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg