Hi Denis,

It's really cool that you are working on that. What tools are you using
to create the live CD?
About your specific issue, the explanation is quite simple actually. You
are trying out the resulting ISO in a virtual machine (namely
VirtualBox) which does not provide 3D acceleration. Since 0.3.4 Elisa
detects that kind of situation and refuses to start because the end
result would be simply unusable. You can bypass that safety checks by
using the option '--skip-benchmark'.

More answers in the body.

On Fri, 2008-03-14 at 23:25 +0100, Denis Gautherot wrote:
> Hello guys,
> 
> I'm still trying to make a LiveCD with the latest elisa preinstalled on it.
> If the CD creation itself doesn't show any major problem (for now, even if it
> take some times), i encounter a problem that makes me impossible to start 
> Elisa.
> 
> Elisa doesn't start and give me the following error (see ElisaError.png file)
> 
> In addition to elisa-extra package, I installed:
> 
> linux-restricted-modules-generic
> mesa-utils
> libglu1-mesa
> libgl1-mesa-glx
> libgl1-mesa-dri
> xorg-driver-fglrx
> 
> glxgear seems to work properly even if i think that it consumes very much 
> CPU...
> 
> If I execute glxinfo, it complains with something about dri (see 
> XFree86-DRI.png
> file)
> 
> As the output of glxinfo on the livecd is different with the one given on my
> installed desktop, i think here is the problem.
> But i don't know how to fix it. Any idea ?
> 
> Moreover, this problem makes me suggest two modifications in the start process
> of Elisa and in its installation:
> - Could the splash screen be showed as soon as we start elisa, before any
> crucial operation ? Because the error message i encounter appears very much
> later, and we do not know if elisa is trying to start or not. I don't know if 
> it
> is possible or not, it is only a suggest.

The splash screen is really shown as soon as possible _when_ the
benchmark is not run. Otherwise the benchmark which might take up some
time is run first and then the splashscreen is displayed. Maybe we
should invert that. The code about that is all in
elisa-core/elisa/core/elisa_boot.py if you want to have a look.

> 
> - Is it possible to add mesa or opengl packages i don't know of all that deals
> with 3D  that Elisa needs as dependencies on the elisa-extras package ? 
> because
> we need 3D acceleration and by default, no corresponding packages are 
> installed.
> 

It's a typical issue on Ubuntu live CD. It boils down to if you have
intel hardware you have 3D hardware acceleration by default. If you
have nVidia, you have no 3D acceleration. If you are lucky and have the
right ATI model you might have decent 3D acceleration. Therefore in many
cases you need to install the proprietary drivers from ATI or nVidia.
Problem is that it's not trivial to have them all installed by default
on a live CD. In your case I guess you have an ATI which is why you have
installed fglrx by default. But that's not enough, you have to do what
"Restricted Manager" does which is tweak the /etc/X11/xorg.conf to tell
X.org to use the fglrx driver. In Hardy "Restricted Manager" is called
'jockey'. You should definitely have a look at the code (it's Python).

> 
> Well thank you very much for your help.
> 
> Cheers,
> 
> Denis.
> 
> 

Good luck,

Florian

Reply via email to