Coder Social home page Coder Social logo

Comments (14)

Ganonmaster avatar Ganonmaster commented on September 9, 2024 2

libtxc_dxtn is an old library that is being used to provide S3TC support in the Linux version of VTFLib. Since there are likely no other libraries or programs on your computer that depend on this old library, it's unlikely that it will cause side-effects.

Ideally VTFLib would be updated to implement modern libraries, but since that's not a small task, we're stuck with what we have.

from sourceio.

REDxEYE avatar REDxEYE commented on September 9, 2024 1

This is dependency of libVTFEdit

from sourceio.

REDxEYE avatar REDxEYE commented on September 9, 2024 1

You can also try to build it from sourcer https://people.freedesktop.org/~cbrill/libtxc_dxtn/

from sourceio.

Ganonmaster avatar Ganonmaster commented on September 9, 2024 1

@0Curtain0
The mesa-common-dev package can likely be installed without problem, as long as you do not change your default graphics driver to Mesa.

Installing the package on your system will also install its dependencies. In the worst case, it will also select mesa as the default graphics driver. If that happens, you might need to change this back to the right Nvidia driver.

from sourceio.

REDxEYE avatar REDxEYE commented on September 9, 2024

install libtxc-dxtn library

from sourceio.

0Curtain0 avatar 0Curtain0 commented on September 9, 2024

I was googling how to install libtxc-dxtn, and I came across these 2 pages:

I am on an Ubuntu based OS (Pop!_OS 64bit). Which method or where should I go to learn how to properly install this library?
I currently don't see libtxc_dxtn in the repositories.

If my current linux distribution is a problem, then I can try a different linux distribution, or I can stick with Crowbar + BleST.

from sourceio.

REDxEYE avatar REDxEYE commented on September 9, 2024

Use 1st link

from sourceio.

0Curtain0 avatar 0Curtain0 commented on September 9, 2024

I tried the 1st link and it appears that those packages no longer exist.
Is this something that Blender requires or is it something unique to the SourceIO add-on?
If it's a distribution problem, I may have to experiment with another.

from sourceio.

REDxEYE avatar REDxEYE commented on September 9, 2024

Try instaling Mesa https://bugs.archlinux.org/task/56660

from sourceio.

0Curtain0 avatar 0Curtain0 commented on September 9, 2024

Won't Mesa conflict with Nvidia's closed proprietary graphics drivers on Linux?

https://computergraphics.stackexchange.com/questions/5822/if-i-have-an-nvidia-graphics-card-on-linux-do-i-need-mesa-or-freeglut-or-anythi

Before I try a different Linux distribution, I will try installing the Steam version of Blender 2.80.

from sourceio.

0Curtain0 avatar 0Curtain0 commented on September 9, 2024

@Ganonmaster
Hey Ganonmaster, I don't know how much experience you have with Linux, but do you know if it's safe to install mesa-common-dev on a system that uses a nvidia graphics card and nvidia proprietary drivers? I need the libtxc-dxtn library.

I'm just looking for a trusted package or a safe method that will install libtxc_dxtn or however it's spelled.

I'm using Pop!_OS 64bit (based on Ubuntu).

from sourceio.

0Curtain0 avatar 0Curtain0 commented on September 9, 2024

Blender v2.80 Official Release
Pop!_OS 64bit (based on Ubuntu)
SourceIO v3.5.1 ( 84899ac - July 30 2019 )

Thank you @Ganonmaster and @REDxEYE
The mesa-common-dev package worked with the following instructions I found here:

You can compile it from sources
Sources are not maintained since 2 years
The code is hosted on freedesktops git infrastructure at:
http://cgit.freedesktop.org/~mareko/libtxc_dxtn/

Here is how to compile the libtxc-dxtn library
Run those lines as USER

# required stuff
sudo apt-get install mesa-common-dev
# get source files
cd ~/
wget https://people.freedesktop.org/~cbrill/libtxc_dxtn/libtxc_dxtn-1.0.1.tar.gz
tar xvfz libtxc_dxtn-1.0.1.tar.gz
cd libtxc_dxtn-1.0.1
# start the job
./configure
make
sudo make install
# clean up sources (optional)
cd ..
rm -rf libtxc_dxtn-1.0.1 libtxc_dxtn-1.0.1.tar.gz

Then reboot computer.

Looks like MDLs and VTFs are importing correctly.

I don't know if there are any known system side effects from installing something that is no longer being maintained. I'm wondering if there could be a legitimate reason for it not being maintained anymore...possibly a better alternative to libtxc_dxtn?

Anyway, thank you for getting the add-on to work on Linux.


For Manjaro Linux users:

  • Open Pamac
  • Navigate to the Preferences page
  • Select the AUR tab
  • Enable AUR
  • In Pamac, search for libtxc
  • Install both libtxc_dxtn and lib32-libtxc_dxtn
  • Reboot computer and you should be ready to go

Somewhat unrelated to the libtxc_dxtn but related to Linux, the latest commit from Sep 26, 2019 appears to have revived an old issue on Linux:

from sourceio.

ReubenU avatar ReubenU commented on September 9, 2024

After installing, still didn't work for me.

from sourceio.

ReubenU avatar ReubenU commented on September 9, 2024

Nvm it worked the second attempt.

from sourceio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.