WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: LLVM ERROR Do not know how to split the result of this operator.  (Read 7021 times)

Offline yogi_al

  • Newbie
  • *
  • Posts: 39
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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14755
Re: LLVM ERROR Do not know how to split the result of this operator.
« Reply #1 on: August 05, 2015, 03:18:32 AM »
Are you using nvidia hardware/drivers?

Offline yogi_al

  • Newbie
  • *
  • Posts: 39
Re: LLVM ERROR Do not know how to split the result of this operator.
« Reply #2 on: August 05, 2015, 10:14:21 AM »
No I have VIA chipset and am using openchrome or vesa drivers for the display.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14755
Re: LLVM ERROR Do not know how to split the result of this operator.
« Reply #3 on: August 05, 2015, 01:32:12 PM »
..so you're using xf86-video-openchrome with Xorg-7.7-3d and llvm?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11027
Re: LLVM ERROR Do not know how to split the result of this operator.
« Reply #4 on: August 05, 2015, 01:44:34 PM »
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.
The only barriers that can stop you are the ones you create yourself.

Offline yogi_al

  • Newbie
  • *
  • Posts: 39
Re: LLVM ERROR Do not know how to split the result of this operator.
« Reply #5 on: August 10, 2015, 11: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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11027
Re: LLVM ERROR Do not know how to split the result of this operator.
« Reply #6 on: August 10, 2015, 04:13:04 PM »
That is an environment variable, so you'd type that in a console to start your app, without export.
The only barriers that can stop you are the ones you create yourself.

Offline yogi_al

  • Newbie
  • *
  • Posts: 39
Re: LLVM ERROR Do not know how to split the result of this operator.
« Reply #7 on: August 11, 2015, 02:37:39 PM »
Thanks curaga. That kinda worked but its very slow on performance as expected. Is there another way out?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11027
Re: LLVM ERROR Do not know how to split the result of this operator.
« Reply #8 on: August 11, 2015, 03:48:55 PM »
Even llvmpipe would be slow. You could always add a pci/agp graphics card.
The only barriers that can stop you are the ones you create yourself.

Offline yogi_al

  • Newbie
  • *
  • Posts: 39
Re: LLVM ERROR Do not know how to split the result of this operator.
« Reply #9 on: August 17, 2015, 05: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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14755
Re: LLVM ERROR Do not know how to split the result of this operator.
« Reply #10 on: August 18, 2015, 03:40:36 AM »
It would be better to build it on tinycore - you could use the build instructions from, say, xf86-video-intel

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11027
Re: LLVM ERROR Do not know how to split the result of this operator.
« Reply #11 on: August 18, 2015, 05:43:38 AM »
That is a 2d driver. There is no 3d driver for VIA for Linux.
The only barriers that can stop you are the ones you create yourself.