View previous topic :: View next topic |
Author |
Message |
dan_aka_jack Apprentice
Joined: 04 Dec 2004 Posts: 169
|
Posted: Wed Dec 15, 2004 2:36 pm Post subject: Blender's UI wont display - SOLVED |
|
|
Hi there,
I've recently emerged blender on my Gentoo box. When I try to run it, no errors are reported but Blender's UI doesn't show. It's very strange. Everything else works as it should.
I'm using a Matrox P750 graphics card and Matrox's "mtxdrivers-pro" drivers. I've tried disabling DRI but to no avail.
Please help.
Thanks a lot,
Jack
Last edited by dan_aka_jack on Mon Dec 20, 2004 10:39 am; edited 1 time in total |
|
Back to top |
|
|
dan_aka_jack Apprentice
Joined: 04 Dec 2004 Posts: 169
|
Posted: Wed Dec 15, 2004 2:46 pm Post subject: |
|
|
I've tried disabling GLX. Now Blender won't load at all (as you'd expect).
I suspect my problem is the crap Matrox drivers. They disable accelleration when using two monitors (I'm using two monitors).
Thanks,
Jack |
|
Back to top |
|
|
smonijhay1 Apprentice
Joined: 29 Apr 2004 Posts: 229 Location: Ann Arbor Michigan
|
Posted: Wed Dec 15, 2004 7:49 pm Post subject: |
|
|
how are you trying to launch blender? Just typing it at the prompt? have you tried running it from its full path (type which blender to get the full path). You will need GLX for it to work, so go ahead and turn that back on if you haven't.
I may have a question for you. What version did you emerge? I uninstalled my blender about a month ago and now I can't get it to remerge. Verision 2.33 on up will not install for me. _________________ you mean you are going to remember me by what I type....here? |
|
Back to top |
|
|
smonijhay1 Apprentice
Joined: 29 Apr 2004 Posts: 229 Location: Ann Arbor Michigan
|
Posted: Wed Dec 15, 2004 9:18 pm Post subject: |
|
|
check to see if you have libstdc++ latest version emerged and installed. I've seen an error regarding that library when trying to launch blender and other applications from command line. _________________ you mean you are going to remember me by what I type....here? |
|
Back to top |
|
|
Daemonax Apprentice
Joined: 30 Apr 2004 Posts: 211
|
Posted: Wed Dec 15, 2004 9:27 pm Post subject: |
|
|
Try just downloading the static binary from the home page and try that. _________________ The God idea is growing more impersonal and nebulous in proportion as the human mind is learning to understand natural phenomena and in the degree that science progressively correlates human and social events. -- Emma Goldman |
|
Back to top |
|
|
dan_aka_jack Apprentice
Joined: 04 Dec 2004 Posts: 169
|
Posted: Thu Dec 16, 2004 10:54 am Post subject: |
|
|
Hi everyone,
Thanks a lot for all your replies.
In answer to your questions...
1) I've tried launching Blender both from the command line and from KDE's menu. I will try launching it from its directory.
2) I've emerged blender version 2.34
3) I don't have libstdc++-v3 installed. But it's masked by the "~x86" keyword. Do I definitely need libstdc++?
4) Doh! I hadn't thought of using the static binary! Thanks a lot - that's a good idea.
Thanks,
Jack |
|
Back to top |
|
|
FrozenMist n00b
Joined: 01 Dec 2004 Posts: 30
|
Posted: Thu Dec 16, 2004 8:28 pm Post subject: |
|
|
I have gotten the same kind of error - using Matrox G400 single monitor with DRI CVS drivers
I have tried emerging 2.34 - compiled but no UI, or rather, jsut outlines that react really dodgy and it doesnt really work. I have also tried unmerging that then downloading 2.35 off the blender site, same problem. |
|
Back to top |
|
|
smonijhay1 Apprentice
Joined: 29 Apr 2004 Posts: 229 Location: Ann Arbor Michigan
|
Posted: Thu Dec 16, 2004 10:07 pm Post subject: |
|
|
I was able to fix my problem. Granted I had an error message that stated something to the effect of a shared library was missing.
Here is what I did:
First I ran
Code: | ldd /usr/bin/blender |
that gave me a list of the libraries that blender needs to start
Code: |
ldd /usr/bin/blender
linux-gate.so.1 => (0xffffe000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x40024000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40097000)
libpng.so.3 => /usr/lib/libpng.so.3 (0x400e9000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40121000)
libz.so.1 => /lib/libz.so.1 (0x40143000)
libm.so.6 => /lib/libm.so.6 (0x40154000)
libutil.so.1 => /lib/libutil.so.1 (0x40177000)
libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.so.5 (0x4017c000)
libGL.so.1 => /usr/lib/opengl/xorg-x11/lib/libGL.so.1 (0x40245000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0x402cb000)
libc.so.6 => /lib/libc.so.6 (0x4034a000)
libdl.so.2 => /lib/libdl.so.2 (0x40471000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40475000)
****libstdc++.so.6 => not found******
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40543000)
libvga.so.1 => /usr/lib/libvga.so.1 (0x40553000)
/lib/ld-linux.so.2 (0x40000000)
libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libgcc_s.so.1 (0x405c5000)
libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x405ce000)
|
Notice the line about the libstdc++.so.6 not being found. That was the error I would get when I would try to launch blender via command line. From the menu I got nothing and no blender.
The next thing I did was look at my /etc/ld.so.conf file. In it lists all the directories that keep the libraries that your applications need to load. It told me to look in the /etc/env.d directory for the library environment variable. I found it by
Code: |
cat /etc/env.d/99libstdc++
LDPATH=/usr/lib/libstdc++-v3
|
That is where my library that is missing should be. From here I had to find where my library actually was!
I went to the directory where my gcc compiler library was located. For me its
Code: | /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.3 |
I found my missing library which was libstdc++.so.6.0.3 with a sym. link to libstdc++.so.6
I copied them to /usr/lib/libstdc++-v3/. Where the environment variable was looking for them to be.
Then I ran an ldconfig
Code: | sudo /sbin/ldconfig /usr/lib/libstdc++-v3/ |
to update the library
then I ran another ldd
Code: | ldd /usr/bin/blender |
and the missing library had been found. When I launch blender from command line or via menu it opens no problem.
so
1. run ldd /usr/bin/blender to see what if any libraries are missing
2. check the /etc/ld.so.conf and /etc/env.d files to find out where your app is looking for them
3.try to make sure they exist and put them the location the application wants them to be
4. run and ldconfig to update
_________________ you mean you are going to remember me by what I type....here? |
|
Back to top |
|
|
dan_aka_jack Apprentice
Joined: 04 Dec 2004 Posts: 169
|
Posted: Fri Dec 17, 2004 5:54 pm Post subject: |
|
|
Hmmm... I don't get that error... here's the output from my "ldd /usr/bin/blender"
Code: | linux-gate.so.1 => (0xffffe000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x40017000)
libpthread.so.0 => /lib/libpthread.so.0 (0x47b49000)
libpng.so.3 => /usr/lib/libpng.so.3 (0x400a3000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400d2000)
libz.so.1 => /lib/libz.so.1 (0x47b29000)
libm.so.6 => /lib/libm.so.6 (0x47a3f000)
libutil.so.1 => /lib/libutil.so.1 (0x47eb9000)
libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.so.5 (0x47c9e000)
libGL.so.1 => /usr/lib/opengl/xorg-x11/lib/libGL.so.1 (0x400f0000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0x40165000)
libc.so.6 => /lib/libc.so.6 (0x4792b000)
libdl.so.2 => /lib/libdl.so.2 (0x47a39000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401d9000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x4908b000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4029d000)
libvga.so.1 => /usr/lib/libvga.so.1 (0x47df4000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x47911000)
libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libgcc_s.so.1 (0x47c93000)
libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x402aa000) |
|
|
Back to top |
|
|
babo Guru
Joined: 10 Aug 2004 Posts: 477 Location: Ljubljana
|
Posted: Fri Dec 17, 2004 6:00 pm Post subject: |
|
|
My experience is that blender needs openGL to run and when using two monitors you usualy have opengl just on one. So I think first thing to do is run Blender with command
blender -w
which makes it not go full screen.
Than there are also ways of making openGL work on both monitors. I am able to run this, but I use radeon card and xorg drivers.
So I suggest you try to run blender with only one monitor first, to see if that works. |
|
Back to top |
|
|
smonijhay1 Apprentice
Joined: 29 Apr 2004 Posts: 229 Location: Ann Arbor Michigan
|
Posted: Fri Dec 17, 2004 6:59 pm Post subject: |
|
|
Also Blender's Knowledge Base has some information on graphics cards etc that you may want to take a look at. _________________ you mean you are going to remember me by what I type....here? |
|
Back to top |
|
|
dan_aka_jack Apprentice
Joined: 04 Dec 2004 Posts: 169
|
Posted: Mon Dec 20, 2004 10:39 am Post subject: |
|
|
Fantastic! Thanks a lot! The blender -w command worked first time! Yes, it turns out that OpenGL is only running on the right monitor, and blender was trying to open in the left monitor.
Thanks a lot everyone for all you help!
Thanks,
Jack |
|
Back to top |
|
|
|