It all does seem to make sense (assuming our Dom0 kernel really support
Sandy Bridge GPU, which I think seems likely). So, will you be able to
actually test it on your SB Qubes laptop? If not, perhaps you could sign
your RPMs and upload them somewhere and some other people from the list,
who have Sandy Bridge laptops, could test them?
Thanks,
joanna.
On 10/27/11 14:59, Stefan Boresch wrote:
It all does seem to make sense (assuming our Dom0 kernel really support> Hints, comments, suggestions welcome!
>
Sandy Bridge GPU, which I think seems likely). So, will you be able to
actually test it on your SB Qubes laptop? If not, perhaps you could sign
your RPMs and upload them somewhere and some other people from the list,
who have Sandy Bridge laptops, could test them?
Of course there is no signature, right? ;)
j.
Just to double check: you got intel driver from this page:
http://intellinuxgraphics.org/2011Q1.html
Of course there is no signature, right? ;)
j.
Hehe... I will ping them about this.
> [However, by 'not signed' I meant that my self-built rpms
> (rpmbuild --rebuild, rpm -ba) cause yum to complain about not being signed
> ..]
>
joanna.
Thanks a lot! I think this represents the most valuable "community"
contribution to the Qubes project yet :) Hopefully more people will
contribute now.
/.../
> Question concerning further work: As expected, 3D is not working; glxinfo
> fails with:
>
> Unrecognized deviceID 126
> X Error of failed request: BadAlloc (insufficient resources for operation)
> Major opcode of failed request: 153 (GLX)
> Minor opcode of failed request: 3 (X_GLXCreateContext)
> Serial number of failed request: 21
> Current serial number in output stream: 24
> name of display: :0.0
>
Can you see if some of the desktop effects under KDE work fine? Such as
e.g. the "grid" and "present windows" effects? (surely the "cube" effect
won't work without 3D, but the other ones should, and they are much more
useful IMO).
> Also, it seems further stuff needs to be compiled for some additional
> acceleration features (see http://intellinuxgraphics.org/build.html). I may
> continue to fool around a bit; the question is which of the potential
> features make sense in the context of qubes. (I guess none of us installed
> it to play 3D shooters ;-)
The only thing currently (i.e. when we do not expose GPU to VMs) are
desktop effects IMO.
> I admit that the range of acceleration options
> confuses me -- on my regular work machines I am stuck for better or worse
> with the proprietary nvidia drivers (GPU programming, run CUDA
> applications), and there most of the time things work out of the box.
>
Exposing CUDA/OpenCL to VMs might be even more tricky than exposing
OpenGL... Surely not coming in Qubes 1.0. Sorry :/
Thanks,
joanna.
On 10/28/11 09:29, Stefan Boresch wrote:Thanks a lot! I think this represents the most valuable "community"
contribution to the Qubes project yet :) Hopefully more people will
contribute now.
e.g. the "grid" and "present windows" effects? (surely the "cube" effect
won't work without 3D, but the other ones should, and they are much more
useful IMO).
The only thing currently (i.e. when we do not expose GPU to VMs) are
desktop effects IMO.
Exposing CUDA/OpenCL to VMs might be even more tricky than exposing
OpenGL... Surely not coming in Qubes 1.0. Sorry :/
2011/10/28 Joanna Rutkowska <joa...@invisiblethingslab.com>On 10/28/11 09:29, Stefan Boresch wrote:
Can you see if some of the desktop effects under KDE work fine? Such ase.g. the "grid" and "present windows" effects? (surely the "cube" effect
won't work without 3D, but the other ones should, and they are much more
useful IMO).
They don't seem to be working .. when I have time I'll poke a bit deeper.
Where did you get the libdrm 2.4.25 SRPM? Did you create it yourself?
> Note: In terms of binaries, you need to install: mesa-libGL, mesa-libGLU,
> mesa-dri-filesystem (*), mesa-dri-drivers, mesa-dri-llvmcore (*). The (*)
> packages don't even exist in FC13.
You mean the non-asterisked packages can be obtained from F13 updates
repo, while the asterisked ones from (your?) mesa-7.11 SRPM?
joanna.
2011/11/8 Joanna Rutkowska <joa...@invisiblethingslab.com>:
> On 10/31/11 09:52, Stefan Boresch wrote:
> Where did you get the libdrm 2.4.25 SRPM? Did you create it yourself?
>
No, I took the libdrm 2.4.25 SRPM of FC 15, installed it (on my plain
FC 13) build host, and executed
rpmbuild -ba libdrm.spec (+ signing it with my key).
So this is why the resulting SRPM has fc13 in the name. Doing the
rebuild seemed cleaner to me than just trying to force the fc15 binary
down the throat of my system.
>> Note: In terms of binaries, you need to install: mesa-libGL, mesa-libGLU,
>> mesa-dri-filesystem (*), mesa-dri-drivers, mesa-dri-llvmcore (*). The (*)
>> packages don't even exist in FC13.
>
> You mean the non-asterisked packages can be obtained from F13 updates
> repo, while the asterisked ones from (your?) mesa-7.11 SRPM?
>
I followed the same procedure just outlined for libdrm for the mesa
package(s). What I tried to indicate with the stars (*) is that the
single SRPM builds multiple RPMs, some of which have no counterpart in
FC13. This confused me initially: When I wanted to use the RPMs I had
just built to upgrade the original FC13 RPMs, I got dependency errors
(and neither the yum, nor the rpm messages were too clear).
Eventually, I realized that the rebuild of the FC15 mesa-srpm had
'created' a few 'additional' rpms. So these starred rpms need to be
included when trying to upgrade (i.e., they are new installs). Again,
maybe one can/could/should install/upgrade to just the existing FC15
mesa RPMs.
Sorry for not being clear earlier,
Stefan
I'm having the same problem. Well, maybe my X env skills aren't that good either.
--
Danny Fullerton
2011/11/10 Joanna Rutkowska <joa...@invisiblethingslab.com>:
> On 11/08/11 22:23, Stefan Boresch wrote:
> So, where did you get the mesa-dri-llvmcore? It doesn't seem to be
> produced by building of neither of the SRPMs you mentioned...?
>
I am confused. Are you getting errors? What is happening in your build
environment?
Below are my steps and checks I just redid, but the short answer is
that I 'just get' this rpm ..
On my 'build' host (vanilla FC 13, yum updated)
rpmbuild --rebuild mesa-7.11-0.9.20110509.0.fc15.src.rpm
builds:
# ls rpmbuild/RPMS/x86_64/mesa-*
rpmbuild/RPMS/x86_64/mesa-debuginfo-7.11-0.9.20110509.0.fc13.x86_64.rpm
rpmbuild/RPMS/x86_64/mesa-dri-drivers-7.11-0.9.20110509.0.fc13.x86_64.rpm
rpmbuild/RPMS/x86_64/mesa-dri-drivers-dri1-7.11-0.9.20110509.0.fc13.x86_64.rpm
rpmbuild/RPMS/x86_64/mesa-dri-filesystem-7.11-0.9.20110509.0.fc13.x86_64.rpm
rpmbuild/RPMS/x86_64/mesa-dri-llvmcore-7.11-0.9.20110509.0.fc13.x86_64.rpm
rpmbuild/RPMS/x86_64/mesa-libEGL-7.11-0.9.20110509.0.fc13.x86_64.rpm
rpmbuild/RPMS/x86_64/mesa-libEGL-devel-7.11-0.9.20110509.0.fc13.x86_64.rpm
rpmbuild/RPMS/x86_64/mesa-libGL-7.11-0.9.20110509.0.fc13.x86_64.rpm
rpmbuild/RPMS/x86_64/mesa-libGL-devel-7.11-0.9.20110509.0.fc13.x86_64.rpm
rpmbuild/RPMS/x86_64/mesa-libGLES-7.11-0.9.20110509.0.fc13.x86_64.rpm
rpmbuild/RPMS/x86_64/mesa-libGLES-devel-7.11-0.9.20110509.0.fc13.x86_64.rpm
rpmbuild/RPMS/x86_64/mesa-libGLU-7.11-0.9.20110509.0.fc13.x86_64.rpm
rpmbuild/RPMS/x86_64/mesa-libGLU-devel-7.11-0.9.20110509.0.fc13.x86_64.rpm
rpmbuild/RPMS/x86_64/mesa-libOSMesa-7.11-0.9.20110509.0.fc13.x86_64.rpm
rpmbuild/RPMS/x86_64/mesa-libOSMesa-devel-7.11-0.9.20110509.0.fc13.x86_64.rpm
Concerning mesa-dri-llvmcore, this is what should happen according to
the spec file
(the respective sections are protected by some %if, but on the top of
the spec 'with_llvmcore' is set to 1).
Note that when first building I had to satisfy some build
dependencies, so on my system I have
llvm-libs-2.8-10.fc13.x86_64
llvm-2.8-10.fc13.x86_64
installed, and I believe I installed temporarily the llvm-static
package which seems to be a build
requirement. Interestingly, these llvm rpms are only in the FC13
*update* repository
(there are no llvm rpms in the plain FC13 repo); in any case it's
nothing I built.
So, I just ran first through a rebuild from the original FC15 SRPM and
things behave as described.
Then, I copied the "FC13" SRPM just created and wiped all mesa stuff
from my rpmbuild directory,
reinstalled the "FC13" SRPM and did
rpmbuild -sign -ba mesa.spec
The same RPMS are built. I am happy to test / try things, but as I
said I am mostly confused
at this point.
Best regards,
Stefan