Category Archives: KSM

Working on Xorg Stuff!


Well I know I haven’t been writing for a long time but there are always reasons behind it :) . Lately I have been busy with my job and personal life, but anyway I’m still alive and I have started working on FreeBSD since a while.

As stated in the subject, why I’m writing today is to talk about FreeBSD Xorg stuff. Personally I have stopped working on it for a long time. The main reason was that we are still stuck on some problems like missing KMS/GEM support, though since a while there is some progress that can be seen. Also kwm@ and eadler@ jumped into the Xorg team and did a lot of good work in the last few months.

As a result, Xorg gets 2 layers of framework. What this means, users with newer GFX hardware will get the chance to use newer Xorg server and drivers. The team has decided to create a new flag called WITH_NEW_XORG that users have to include in /etc/make.conf. This was mainly done for the intel KMS work being done. It should probably work for other chips. Unfortunately, the intel KMS driver will only work on FreeBSD 9-stable or 10-CURRENT users. Older version of FreeBSD will not be supported. Intel users will need to patch their src manually with Kib’s KMS kernel patch to get the newer chips to work. We have libGL and Mesa patches in our xorg-dev repo ready.

Here are some facts on what you will get with WITH_NEW_XORG:

libdrm 2.4.30 (including KMS support)
mesa 7.11.2
xorg-server 1.10.4
a lot of new Graphic Drivers.

After this is done and committed we going to work on Mesa 8.0 and X server 1.12. The reason we haven’t done this yet is because they are in RC stage and x server 1.11 and above break the nvidia driver. We will call for a testing soon with the full instruction on what you will have to do. So keep your eyes open..

So long…

PS: follow me on Twitter here.

[CFT] Xorg 7.5-Miwi(1) FreeBSD Edition

Oy boys and gals,

The Xorg T(m)eam is happy to announce the next round of Xorg fun! The X-Server has
been patched to the latest 1.7.X series, drivers and fonts have been updated to the
latest versions, but unfortunately we are not able to update libGL, drm and xorg-server
to a higher version because FreeBSD doesn’t support GEM/KSE (yet), but it looks good
for now, as kib@ is working on that, so we hope the future will be better for us.
This update includes some components from Xorg 7.6 with a lot of improvements, and it
seems that the performance is much better than the old version. We are calling the
update xorg 7.5.1.

We hope you will enjoy the new stuff and give us a lot of feedback. We will start an exp-run
tonight and depending on how much feedback we get, we plan to commit this update by the
first weekend of March. A note for ATI users, the driver was updated to 6.14.0, so you
may need to add some stuff to your xorg.conf in the “Section “Device”"

Option “int10″ “on”
Option “BusType” “PCIE”
Option “RenderAccel” “on”
Option “AccelMethod” “exa”
Option “DynamicPM” “on”
Option “DRI” “on”

So to get the xorg stuff you will need to:


svn co

A small merge script to merge the svn checkout into the real portstree can
be found here:

The script is a modified version of the kdemerge script. Please set the KDEDIR
variable to the path of your ports.

After merging, run one of the following command, depending on which tool you use
to manage your installed packages.

portupgrade -a \*
portmaster -a

Please report any problems and issues to x11 (at)

I would like to thank:

Beat Gaetzi
Dima Panov
Koop Mast
Eitan Adler

Without these people the Xorg update would still not be ready now.

PS: Please don’t send us mails with ‘xorg update dosen’t’ work.
If you send us a report, please include the latest Xorg.conf
Xorg.log, uname -a output and pkg_info output. Thanks.

Happy Updating!