Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: yogi_al on August 04, 2015, 03:02:06 PM

Title: LLVM ERROR Do not know how to split the result of this operator.
Post 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.
Title: Re: LLVM ERROR Do not know how to split the result of this operator.
Post by: Juanito on August 05, 2015, 12:18:32 AM
Are you using nvidia hardware/drivers?
Title: Re: LLVM ERROR Do not know how to split the result of this operator.
Post by: yogi_al on August 05, 2015, 07:14:21 AM
No I have VIA chipset and am using openchrome or vesa drivers for the display.
Title: Re: LLVM ERROR Do not know how to split the result of this operator.
Post by: Juanito on August 05, 2015, 10:32:12 AM
..so you're using xf86-video-openchrome with Xorg-7.7-3d and llvm?
Title: Re: LLVM ERROR Do not know how to split the result of this operator.
Post by: curaga on August 05, 2015, 10:44:34 AM
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.
Title: Re: LLVM ERROR Do not know how to split the result of this operator.
Post by: yogi_al on August 10, 2015, 08:58:44 AM
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.
Title: Re: LLVM ERROR Do not know how to split the result of this operator.
Post by: curaga on August 10, 2015, 01:13:04 PM
That is an environment variable, so you'd type that in a console to start your app, without export.
Title: Re: LLVM ERROR Do not know how to split the result of this operator.
Post by: yogi_al on August 11, 2015, 11:37:39 AM
Thanks curaga. That kinda worked but its very slow on performance as expected. Is there another way out?
Title: Re: LLVM ERROR Do not know how to split the result of this operator.
Post by: curaga on August 11, 2015, 12:48:55 PM
Even llvmpipe would be slow. You could always add a pci/agp graphics card.
Title: Re: LLVM ERROR Do not know how to split the result of this operator.
Post by: yogi_al on August 17, 2015, 02:11:31 PM
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.
Title: Re: LLVM ERROR Do not know how to split the result of this operator.
Post by: Juanito on August 18, 2015, 12:40:36 AM
It would be better to build it on tinycore - you could use the build instructions from, say, xf86-video-intel
Title: Re: LLVM ERROR Do not know how to split the result of this operator.
Post by: curaga on August 18, 2015, 02:43:38 AM
That is a 2d driver. There is no 3d driver for VIA for Linux.