Modular X.org still in the works
Published March 14th, 2007 in FreeBSD, X.orgI haven’t blogged about this in a few weeks so I figured that could be a good time to give everybody an update.
It has been decided that the X11BASE to LOCALBASE migration would happen when we merge the new X.org in the ports tree. The necessary infrastructure changes have been done but some ports are broken by these changes. There are also a few ports broken by new X.org import left to fix.
Good news is that lesi is back so he’ll take x11@ leadership back and work on this; and miwi volunteered to fix part of those broken ports as well. An exp-build has been done last week-end and all of us got the errorlogs, so now it’s only a matter of fixing stuff.
It’s good to know that you guys are doing something with new x.org. It’s VERY hot project and I think that big part of FreeBSD’s comiunity are wainting for changes in git ports (I’m checking at least twice a day for changes :)). THANK YOU VERY MUCH FOR DOING THAT I’m sure that it’s not easy.
Is it possible to know on what progress level is project ? Are main ports working (xorg 7.2 stable, xfce, beryl)? Is it “safe” to instal those ports?
Salute!
I’m using the git tree as my main ports tree for a few months now. Beryl works, xfce too AFAIR. I’d recommend people to wait until we merge everything back in the FreeBSD ports tree, but go ahead if you can’t wait.
Sure I can’t wait
but, last time when I was using git ports there were problems with nvidia drivers (i saw that some patch was made since then) and x.org was RC3. Do we have x.org 7.2 final now ? And what is the situation with nvidia drivers ? 3 weeks ago, I was messing up with install pathes in make.conf but I didn’t succeed anyway. What is “right” recepy to install x.org with nvidia now ? Sorry for asking but it’s at least day of compiling
in other case I’d check by myself.
Cheers
Yeah it’s final, I just haven’t changed the version in meta-ports.
I still have to fix nvidia-driver to install properly. It should work right now if you create a symlink from ${X11BASE}/lib/modules to ${X11BASE}/lib/xorg/modules.
How far away are we (approx) from seeing X.org 7.2 and Beryl in the main ports tree?
I won’t give any date cause I did it a few times and for various reasons I couldn’t meet the deadlines
OK, how about this: Will we see them this month (possibly)?
Probably not, but who knows…
BTW beryl 2.0 final was relased today
little ports update ?
Regarding the nvidia-driver port, you can also tweak the Makefiles produced when it fails; changing the directory there worked for me. I’ve got 7.2 working, but I also switched X11BASE to /usr/local and that’s causing at least one problem with another port. Pango seems to have a hardcoded /usr/X11R6 reference in its build process someplace.
@ka73ka: I’ve already upgraded beryl to 0.2.0.
@Dave: yeah, this is the modification I’ll do to the nvidia-driver port, but it’s a bit more complicated than that wrt package registration. I’ll check pango, thanks for the heads-up.
how about new nvidia driver ? is it in ports already ?
I don’t know whether this part carries any meaning, but this is the port-build failure point for pango:
/bin/sh /usr/ports/x11-toolkits/pango/work/gnome-libtool—tag=CC—mode=link cc
O2 -fnostrict-aliasingpipe -Wall -L/usr/local/lib -L/usr/local/lib -o libpangocairo1.0.larpath /usr/local/lib -versioninfo 1400:10:1400exportsymbols-regex “^pango_.*” libpangocairo_1_0_la-pangocairo-font.lo libpangocairo_1_0_la-pangocairo-fontmap.lo libpangocairo_1_0_la-pangocairo-render.lo libpangocairo_1_0_la-pangocairo-fcfont.lo libpangocairo_1_0_la-pangocairo-fcfontmap.lo libpango-1.0.laL/usr/local/lib -lgobject2.0lgmodule2.0lglib2.0liconv -pthread -L/usr/local/lib -lcairo -lm libpangoft21.0.laL/usr/local/lib -lfontconfig -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -lfreetype -lzgrep: /usr/X11R6/lib/libfontconfig.la: No such file or directory
sed: /usr/X11R6/lib/libfontconfig.la: No such file or directory
gnome-libtool: link: `/usr/X11R6/lib/libfontconfig.la’ is not a valid libtool archive
I was using portmaster here, but the same thing happens in a canonical make install. Thanks!
Ok, It doesn’t work for me …. Did anyone succed with fbsd 6.2 and nvidia in box after last update (beryl 2.0) ? I have fresh, minimal Fbsd install.
Section “Module”
Load”freetype”
Load”dbe”
Load”glx”
Load”extmod”
Load”record”
Load”xtrap”
Load”type1”
Load”dri”
Section “Device” and Section “Screen” (because i found different instructions so to be sure i put it in both places)
option “AllowGLXWithComposite” “True”
option “RenderAccel”“True”
option “AddARGBGLXVisuals”“True”
Section “Extensions”
Option “Composite”“Enable”
EndSection
Xfce4 and gnome2 loads (there is nvidia splash screen) but beryl crashes. Once after some messing up at gnome i started beryl and there were beryl’s windows animations but it was reeealy slow. So i think that still is something wrong with nvidia drivers (some module doesn’t load) or I’m doing something wrong. OK, some errors:
ka73ka@~: beryl-manager
ka73ka@~: glxinfo: not found
** (beryl-manager:20910): WARNING **: No pidof, this may not work right.
[then it runs compatiblity check, everything passed.]
Relaunching beryl with GL_YIELD=”NOTHING”
[then it runs compatiblity check again, everything passed.]
** (beryl-manager:20910): WARNING **: Beryl caught deadly signal 11
** (beryl-manager:20910): WARNING **: No pidof, this may not work right.
I’ve been trying to force rendering platform to nvidia but still i get No pidof error and:
Window manager warning: Lost connection to the display ‘:0.0’; most likely the X server was shut down or you killed/destroyed the window manager.
(I’m runnig it from terminal in gnome/xfce)
Those things happens on gnome2, on xfce4 everything hangs up and there is only cursor on screen.
I’m run out of ideas, so I’d be graceful for any tips. And I guess, during xorg installation it was downloading sources for xorg rc3 … not final, but beryl is in 2.0.
I didn’t change X11base in make.conf – could it be reason ?
Any ideas ?
Cheers
Going to try beryl 0.2.1.. its out – releases.beryl-project.org
to ka73ka
I get the same issue. I tried old beryl 0.199 tried new 0.2 it did not work.
I did not change my x11base too. I use 9746. I know there is a new driver out I don’t know why it’s not in the ports yet.
Probably because yesterday was Saint Patrick’s Day and since Florent is in Irland he’ll have big hangover today
They resurected beryl’s forum … I found, that people have similar problem, but they are running different distributions … so it’s general problem and we have to do something wrong :/ ... what is wrong ?
… i can’t stand that other people have beryl working … and I don’t
to ka73ka
have you tried changing the X11Base ?
I’m gonna give it a try and install it everything from scratch.
I moved everything from /usr/X11R6 to /usr/local and created symlink ….
Now when I’m starting beryl-manager under xfce4 i’m getting some glxinfo error (glxinfo: not found) and that’s strange, because it’s MESA’s part and afaik it is not requaierd since we are using nvidia drivers (but it looks like it’s needed by beryl ….) and even if I want to install it i have conflicts.
I’ve been trying to install last nvidia driver (with X11Base=/usr/loacal) – xfce ok – beryl not working
It seems that nvidia drivers are working ok, i don’t have any errors in logs … (but i don’t know how to check all modules, maybe i’ll install quake 4 :)) ... but beryl isn’t. After runing beryl-manager now i have this xglinfo error and everything disappear, after running beryl now i’ve got only beryl system compatiblity check (twice) and i dont have pidof error now (borders are disappearing and there is slooow animation of windows – like before). I installed everything from a scratch yesterday morning, so there is xorg final there. Beryl is in 0.2.0 v because anyway (afaik) in 0.2.1 only licence have changed. Freebsd 6.2
Did anyone succed with similar configuration ? (nvidia xorg 7.2.0 beryl0.2) ?
Is it working when MESA is used ? (ati or intel, I don’t know which one needs it) I have only two laptops with nvidia on board, so i cant check it
Florent please say something wise
, because I’m not freebsd skilled enought to solve those kind of problems. What are yours ideas. Anyway if I can be usefull somehow inform me.
Did anyone make some move with it ?
Cheers
I realized (yeah that took me a while
) that is not forum for posting problems about beryl, but Florent’s blog and my problems shouldn’t be posted here. I hope that I didn’t make you angry with those. Sorry. I opened new topic on beryl’s forum ( http://forum.beryl-project.org/viewtopic.php?f=36&t=5058 ) if someone is interested in.
Cheers and good luck with git ports, and once again, thanks for doing that !!
damn I get the same glxinfo error as well. We are in the same boat.
I just installed Xorg 7.2 / Beryl /w NVIDIA drivers, works just neat on my setup. I only had to symlink /usr/X11R6/lib/modules to /usr/X11r6/lib/xorg to achieve installation of the NVIDIA driver properly, but the final result is as comfy as any Linux build of Beryl.
DarkSoul,
Would you happen to have detailed instructions on how to setup xorg 7.2 and beryl with a nvidia binary driver on FreeBSD 6.2 Stable (or current if you must run current)
I have tried to do this Several times and have failed so any help would be Great
Sam Fourman Jr.
I have a bit of a question. I can’t seem to be able to get Unicode support working with modular x. is this a known issue or is it something thats totally unrelated?
Panikos
I have absolutely no idea. How can I try/test?
Florent,
I got Unicode support working with KDE simply by following the above link. I assume its a fault with Gnome and not modular X that was hassling me before. I’m sorry if I wasted your time over this
Panikos
tried to follow instructions in http://wiki.freebsd.org/ModularXorg,
got stuck too early :-(,
cd /usr/ports/x11/xorg
make install
...
../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)
gmake[6]: *** [../common/vblank.o] Error 1
gmake[6]: Leaving directory `/home/r d/pobj/home/ports/graphics/dri/work/Mesa-6.5.2/src/mesa/drivers/dri/i810’
gmake[5]: *** [subdirs] Error 1
...
did a grep -r DRM_VBLANK_SECONDARY but nothing shows up.
panikos: well, I learned some things about unicode, that’s not wasted time
danny: I guess you forgot the part where you have to deinstall libdrm.
it’s amazing how one cannot read a three line set of commands correctly
have to run to the WC and wash my face.