[Q2] Experimenting with radeong_drv.so - missing radeon*g*_dri.so?

...done by Corben (see also [1]).

commit 8feb27b8ff7802f247017747fa6cc730940720d4
radeong: Change DRI driver name to radeong.

- Sedat -

[1] 
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8feb27b8ff7802f247017747fa6cc730940720d4

On Thu, Jan 7, 2010 at 8:05 PM, Sedat Dilek <sedat.di...@googlemail.com> wrote:
> Hi,
>
> I have a couple of questions which araised while building mesa from
> upstream master [1].
> Partially, I discussed them on #radeon IRC [2,3].
>
> [Q1] SpeedUp build of mesa: parallel-make-jobs and/or ccache?
>
> For a long time it was no problem to build mesa on my 32bit-host
> (Debian/sid, Intel Core2Duo T7200, 2GByte RAM, 80GByte SATA-HDD, etc.)
> with the following settings in my build-script:
>
> export MAKEFLAGS="-j3"
>
> Unfortunately, I noticed that "mesa/src/mesa/libmesagallium.a" does
> not exist and the build of r300g fails (see backlog #radeon 2010-01-02
> in [2]).
>
> From the build-log:
> ...
> make[5]: Entering directory
> `/home/sd/src/mesa/mesa/src/gallium/winsys/drm/radeon/dri'
> make[5]: *** No rule to make target
> `../../../../../../src/mesa/libmesagallium.a', needed by
> `radeon_dri.so'. Stop.
> ...
>
> Commenting export MAKEFLAGS="-j3" in my build-script is a temporary fix.
> With ccache enabled I have a build-time around 6min (that's  a fast
> build-time I know).
>
> One developer recommended me to not activate any speedups.
>
> Is mesa in general not designed for parallel-make-jobs? Are any other
> reasons speaking against the usage of 'make -jX'?
> What is about using ccache and alternatives?
>
> Attachments: build-script and build-log (normal build, *no* 
> parallel-make-jobs)
>
> [Q2] Experimenting with radeong_drv.so - missing radeon*g*_dri.so?
>
> The "modesetting" Radeon Gallium3D (xorg/state-tracker) driver was
> recently renamed to "radeong":
>
> commit 9ee5b78e7fb31c04a4f5ed96c202604832cc90dd
> r300g: rename modesetting_drv.so to radeong_drv.so
>
> While looking into Xorg.log, I have seen (see backlog #radeon
> 2009-01-06 in [3]):
> ...
> (EE) AIGLX error: dlopen of /usr/lib/dri/radeong_dri.so failed
> (/usr/lib/dri/radeong_dri.so: cannot open shared object file: No such
> file or directory)
> ...
>
> $ ls -l mesa/lib/gallium/
> total 17128
> -rwxr-xr-x 1 sd sd 13730172 2010-01-07 17:15 radeon_dri.so
> -rwxr-xr-x 1 sd sd  3800968 2010-01-07 17:15 radeong_drv.so
>
> Shouldn't "radeon_dri.so" be renamed to "radeon*g*_dri.so" like the *_drv.so?
>
> As a tempory fix I am copying/renaming *_dri.so and that seems to work
> (see attached Xorg.log).
>
> Attachment: copy-script (libs, drivers and xorg-modules), Xorg.log and 
> xorg.conf
>
> [Q3] Enable XCB
>
> (This is a short one)
> Can you please comment on this? When it is interesting/recommended to use XCB?
>
> Thanks in advance for answering my questions.
>
> Kind Regards,
> - Sedat (aka "dileX") -
>
> [1] http://cgit.freedesktop.org/mesa/mesa/
> [2] 
> http://people.freedesktop.org/~cbrill/dri-log/index.php?date=2010-01-02&channel=radeon
> [3] 
> http://people.freedesktop.org/~cbrill/dri-log/index.php?date=2010-01-06&channel=radeon
>
>
> ----- INVESTIGATIONS -----
>
> $ ls -lR mesa/lib/
> mesa/lib/:
> total 29992
> -rwxr-xr-x 1 sd sd    21783 2010-01-07 17:13 demodriver.so
> drwxr-xr-x 2 sd sd     4096 2010-01-07 17:15 gallium
> lrwxrwxrwx 1 sd sd       11 2010-01-07 17:13 libEGL.so -> libEGL.so.1
> lrwxrwxrwx 1 sd sd       13 2010-01-07 17:13 libEGL.so.1 -> libEGL.so.1.0
> -rwxr-xr-x 1 sd sd   203962 2010-01-07 17:13 libEGL.so.1.0
> -rw-r--r-- 1 sd sd   774524 2010-01-07 17:13 libGLEW.a
> lrwxrwxrwx 1 sd sd       10 2010-01-07 17:10 libGL.so -> libGL.so.1
> lrwxrwxrwx 1 sd sd       12 2010-01-07 17:10 libGL.so.1 -> libGL.so.1.2
> -rwxr-xr-x 1 sd sd  2008928 2010-01-07 17:10 libGL.so.1.2
> lrwxrwxrwx 1 sd sd       11 2010-01-07 17:13 libGLU.so -> libGLU.so.1
> lrwxrwxrwx 1 sd sd       20 2010-01-07 17:13 libGLU.so.1 -> 
> libGLU.so.1.3.070800
> -rwxr-xr-x 1 sd sd  1628628 2010-01-07 17:13 libGLU.so.1.3.070800
> lrwxrwxrwx 1 sd sd       12 2010-01-07 17:14 libglut.so -> libglut.so.3
> lrwxrwxrwx 1 sd sd       16 2010-01-07 17:14 libglut.so.3 -> libglut.so.3.7.1
> -rwxr-xr-x 1 sd sd   649182 2010-01-07 17:14 libglut.so.3.7.1
> lrwxrwxrwx 1 sd sd       11 2010-01-07 17:13 libGLw.so -> libGLw.so.1
> lrwxrwxrwx 1 sd sd       15 2010-01-07 17:13 libGLw.so.1 -> libGLw.so.1.0.0
> -rwxr-xr-x 1 sd sd    37048 2010-01-07 17:13 libGLw.so.1.0.0
> -rwxr-xr-x 1 sd sd 13818906 2010-01-07 17:13 r300_dri.so
> -rwxr-xr-x 1 sd sd 11534401 2010-01-07 17:13 swrast_dri.so
>
> mesa/lib/gallium:
> total 17128
> -rwxr-xr-x 1 sd sd 13730172 2010-01-07 17:15 radeon_dri.so
> -rwxr-xr-x 1 sd sd  3800968 2010-01-07 17:15 radeong_drv.so
>

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to