Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Blender failed to open immediately after the installing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
antoniovalos
n00b
n00b


Joined: 24 Mar 2023
Posts: 47

PostPosted: Wed Jun 26, 2024 1:55 am    Post subject: Blender failed to open immediately after the installing Reply with quote

I installed Bleder without any error messages, but i click on the icon, but It does not open.
I tryed to open it from terminal and I got this error message:

Code:

antonio@tux ~ $ blender-4.1
xkbcommon: ERROR: couldn't find a Compose file for locale "C.UTF8" (mapped to "C.UTF8")
EGL Error (0x3009): EGL_BAD_MATCH: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a valid surface).
EGL Error (0x3009): EGL_BAD_MATCH: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a valid surface).
EGL Error (0x3009): EGL_BAD_MATCH: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a valid surface).
EGL Error (0x3009): EGL_BAD_MATCH: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a valid surface).
Warning: No OpenGL vendor detected.
blender-4.1: ../libepoxy-1.5.10/src/dispatch_common.c:872: epoxy_get_proc_address: Assertion `0 && "Couldn't find current GLX or EGL context.\n"' failed.
Aborted


How can I solve this problem?
Back to top
View user's profile Send private message
Cygon
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2006
Posts: 115
Location: Germany

PostPosted: Thu Jun 27, 2024 8:52 am    Post subject: Reply with quote

The error message makes it look very much like an issue with OpenGL support on your system.

What GPU and which driver are you running? Are other 3D / OpenGL applications working?


From https://www.blender.org/download/requirements/ these are the OpenGL versions needed for Blender, by version:
Code:

Blender 4.x -> OpenGL 4.3
Blender 3.6 -> OpenGL 3.3
Blender 2.79 -> OpenGL 2.1
Blender 2.76 -> OpenGL 1.4

So it could be
- due an integrated GPU or older GPU that doesn't support OpenGL 4.3 yet,
- drivers that don't support OpenGL 4.3 yet
- your media-libs/mesa might not being built for your GPU (Gentoo's mesa uses the VIDEO_CARDS environment variable, see bottom of https://packages.gentoo.org/packages/media-libs/mesa for the settings it picks up)

You can check if the older Blender LTS releases (complete Linux builds can be downloaded from the Blender website) work.

Last but not least, Blender is moving to the Vulkan graphics API, it is enabled in early alpha builds (https://www.gamingonlinux.com/2023/10/blender-enables-vulkan-as-an-experimental-option/ - download the linked alpha build and pass --factory-startup --gpu-backend vulkan on the command line). That might not be the best option stability-wise, but if you have a capable GPU, it's an option.
Back to top
View user's profile Send private message
antoniovalos
n00b
n00b


Joined: 24 Mar 2023
Posts: 47

PostPosted: Thu Jun 27, 2024 12:55 pm    Post subject: Reply with quote

My computer does not have an dedicated video card, it is very old, it is an i5 third generation with 8GB RAM.
I used blender many times on my computer (that time I was not using gentoo, but debian), to render simple objects.
Is there a way to install blender on my computer? I just installed gentoo on my computer.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1902

PostPosted: Thu Jun 27, 2024 1:16 pm    Post subject: Reply with quote

antoniovalos wrote:
My computer does not have an dedicated video card, it is very old, it is an i5 third generation with 8GB RAM.
I used blender many times on my computer (that time I was not using gentoo, but debian), to render simple objects.
Is there a way to install blender on my computer? I just installed gentoo on my computer.

3rd Gen i5 is Ivy Bridge. Ivy Bridge has a max OpenGL of 4.2 on mesa according to https://wiki.gentoo.org/wiki/Intel
So if Cygon's version map is true, you cannot use Blender 4.x, only 3.6. (or possibly the vulkan builds)

I would suggest emerge --deselect media-gfx/blender then emerge media-gfx/blender:3.6. Do understand that a bunch of python 3.11 must be reenabled in package.use files to get this to work.
Back to top
View user's profile Send private message
antoniovalos
n00b
n00b


Joined: 24 Mar 2023
Posts: 47

PostPosted: Thu Jun 27, 2024 1:32 pm    Post subject: Reply with quote

I will try this solution later

antoniovalos wrote:

I would suggest emerge --deselect media-gfx/blender then emerge media-gfx/blender:3.6. Do understand that a bunch of python 3.11 must be reenabled in package.use files to get this to work.


I installed OpenGL

Code:

virtual/opengl
dev-perl/OpenGL


And installed Intel drivers

Code:

xf86-video-intel


Do I need to do something else to have Blender 3.6 working on my computer?
Back to top
View user's profile Send private message
Cygon
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2006
Posts: 115
Location: Germany

PostPosted: Thu Jun 27, 2024 3:38 pm    Post subject: Reply with quote

antoniovalos wrote:
My computer does not have an dedicated video card, it is very old, it is an i5 third generation with 8GB RAM.
I used blender many times on my computer (that time I was not using gentoo, but debian), to render simple objects.


You probably had Blender 3.6 installed on your Debian system.
Blender 3.6 should run on your i5 with Gentoo, too.

1) Check that your make.conf is setting VIDEO_CARDS like this:
Code:
# /etc/portage/make.conf
# ...
VIDEO_CARDS="intel"
# ...


2) (( Note: the OpenGL package is media-libs/mesa. It's installed automatically when you install Blender via emerge. ))

3) grknight's instructions are exactly what I'd suggest as well.


The newer versions, like Blender 4.1 (released only two months ago), probably won't run.on the old i5 without a dedicated GPU.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1902

PostPosted: Thu Jun 27, 2024 6:40 pm    Post subject: Reply with quote

Cygon wrote:
Last but not least, Blender is moving to the Vulkan graphics API, it is enabled in early alpha builds (https://www.gamingonlinux.com/2023/10/blender-enables-vulkan-as-an-experimental-option/ - download the linked alpha build and pass --factory-startup --gpu-backend vulkan on the command line). That might not be the best option stability-wise, but if you have a capable GPU, it's an option.

As I look deeper, this is actually part of the 4.1.1 ebuild as well. It can be enabled with both the vulkan USE and the experimental USE. No need for an extra download.
Back to top
View user's profile Send private message
antoniovalos
n00b
n00b


Joined: 24 Mar 2023
Posts: 47

PostPosted: Tue Jul 02, 2024 1:31 am    Post subject: Reply with quote

I tried to install in an older installation of gentoo, I got this error:

Code:

!!! The slot conflict(s) shown above involve package(s) which may need to
!!! be rebuilt in order to solve the conflict(s). However, the following
!!! package(s) cannot be rebuilt for the reason(s) shown:

  (dev-python/cairocffi-1.4.0:0/0::gentoo, installed): ebuild is masked or unavailable
  (dev-python/xcffib-1.2.0:0/0::gentoo, installed): ebuild is masked or unavailable
  (dev-qt/qtwebengine-5.15.8_p20230112:5/5.15::gentoo, installed): ebuild is masked or unavailable
  (media-video/vlc-3.0.18:0/5-9::gentoo, installed): ebuild is masked or unavailable
  (media-libs/mlt-7.12.0:0/7::gentoo, installed): ebuild is masked or unavailable


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


!!! The following installed packages are masked:
- dev-texlive/texlive-basic-2021::gentoo (masked by: OFL license(s))
- sys-libs/glibc-2.36-r7::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Andreas K. Hüttel <dilfridge@gentoo.org> (2017-05-21)
# (and others, updated later)
# These old versions of toolchain packages (binutils, gcc, glibc) are no
# longer officially supported and are not suitable for general use. Using
# these packages can result in build failures (and possible breakage) for
# many packages, and may leave your system vulnerable to known security
# exploits.
# If you still use one of these old toolchain packages, please upgrade (and
# switch the compiler / the binutils) ASAP. If you need them for a specific
# (isolated) use case, feel free to unmask them on your system.

- dev-texlive/texlive-fontsrecommended-2021::gentoo (masked by: OFL license(s))
- dev-texlive/texlive-langjapanese-2021::gentoo (masked by: OFL license(s))
- sys-libs/binutils-libs-2.39-r4::gentoo (masked by: package.mask)
- dev-texlive/texlive-langarabic-2021::gentoo (masked by: OFL license(s))
- dev-texlive/texlive-langkorean-2021::gentoo (masked by: OFL license(s))
- dev-build/cmake-3.25.2::gentoo (masked by: CMake license(s))
- sys-devel/binutils-2.39-r4::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 3038

PostPosted: Tue Jul 02, 2024 3:26 am    Post subject: Reply with quote

antoniovalos wrote:
I tried to install in an older installation of gentoo, I got this error:

We asked you to try an older version of Blender, not an older installation of gentoo. 8O
Back to top
View user's profile Send private message
antoniovalos
n00b
n00b


Joined: 24 Mar 2023
Posts: 47

PostPosted: Tue Jul 02, 2024 4:51 pm    Post subject: Reply with quote

I tryed an old installation of blender, and it worked, but beceuse of another problems with my FreeCAD installation, I am trying an older installation of gentoo as well in order to have everything I need working on my system
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum