Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: yogi_al on August 04, 2015, 03:02:06 PM
-
Hi,
I am using TC6.0. On running an application I was initially getting a "Could not initialize GLX" error. After installing Xorg-7.7-3d and restarted X, the error went away only to get the "LLVM ERROR: Do not know how to split the result of this operator!". I installed the llvm-lib thinking it to have the latest patch in it, but the problem still persists...
Thanks for the help.
-
Are you using nvidia hardware/drivers?
-
No I have VIA chipset and am using openchrome or vesa drivers for the display.
-
..so you're using xf86-video-openchrome with Xorg-7.7-3d and llvm?
-
There is no 3d support for Via, so you can only get software. If llvm has trouble with your application, you can fall back on softpipe by using the GALLIUM_DRIVER=softpipe variable. E. g.
GALLIUM_DRIVER=softpipe myapp
Be warned that both software drivers are too slow to run any games, and most non-game GL apps. Barely can run a 3d screensaver at good fps, and that is on a recent Intel cpu, on a Via chipset you'll have an older cpu.
-
Hi, Just got back to working on this...again.
..so you're using xf86-video-openchrome with Xorg-7.7-3d and llvm?
Yes am using xf86-video-openchrome and Xorg-7.7-3d(llvm comes along with this, I guess)
There is no 3d support for Via, so you can only get software. If llvm has trouble with your application, you can fall back on softpipe by using the GALLIUM_DRIVER=softpipe variable. E. g.
GALLIUM_DRIVER=softpipe myapp
I dont see gallium driver as a extension, do I need to download and compile one for my needs? Also do I use the softpipe variable as a "export GALLIUM_DRIVER=softpipe myapp" on the console?
thanks a ton guys for the help.
-
That is an environment variable, so you'd type that in a console to start your app, without export.
-
Thanks curaga. That kinda worked but its very slow on performance as expected. Is there another way out?
-
Even llvmpipe would be slow. You could always add a pci/agp graphics card.
-
Hi guys,
Adding a new graphics card is not an option. The VIA chipset I have is CN896/VN896/P4M900 [Chrome 9 HC] (rev 01). I am considering the option of downloading the driver source code from the VIA open source site and try and compile it against TinyCore. They have a guide to build and compile the driver source using Fedora Core 5/6.
1) If I build this driver on Fedora Core, can I use the binary to work on TinyCore?
2) Or the other option is to build the driver against the TinyCore source code?
Need your opinion as to which approach makes sense since I have no idea of the work involved and the probability of success.
-
It would be better to build it on tinycore - you could use the build instructions from, say, xf86-video-intel
-
That is a 2d driver. There is no 3d driver for VIA for Linux.