Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llvmpipe error #189

Open
Jasonzyt opened this issue Oct 13, 2022 · 4 comments
Open

llvmpipe error #189

Jasonzyt opened this issue Oct 13, 2022 · 4 comments

Comments

@Jasonzyt
Copy link

Jasonzyt commented Oct 13, 2022

root@VM-8-6-ubuntu:~/waifu2x-ncnn-vulkan-20220728-ubuntu# ./waifu2x-ncnn-vulkan -i b.jpg -o b1.jpg -s 8 -g -1
[0 llvmpipe (LLVM 12.0.0, 256 bits)]  queueC=0[1]  queueG=0[1]  queueT=0[1]
[0 llvmpipe (LLVM 12.0.0, 256 bits)]  bugsbn1=0  bugbilz=188  bugcopc=0  bugihfa=0
[0 llvmpipe (LLVM 12.0.0, 256 bits)]  fp16-p/s/a=1/1/0  int8-p/s/a=1/1/0
[0 llvmpipe (LLVM 12.0.0, 256 bits)]  subgroup=8  basic=1  vote=1  ballot=1  shuffle=0
Killed

gdb:

(gdb) r
Starting program: /root/waifu2x-ncnn-vulkan-20220728-ubuntu/waifu2x-ncnn-vulkan -i b.jpg -o b1.jpg -s 8
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[0 llvmpipe (LLVM 12.0.0, 256 bits)]  queueC=0[1]  queueG=0[1]  queueT=0[1]
[0 llvmpipe (LLVM 12.0.0, 256 bits)]  bugsbn1=0  bugbilz=188  bugcopc=0  bugihfa=0
[0 llvmpipe (LLVM 12.0.0, 256 bits)]  fp16-p/s/a=1/1/0  int8-p/s/a=1/1/0
[0 llvmpipe (LLVM 12.0.0, 256 bits)]  subgroup=8  basic=1  vote=1  ballot=1  shuffle=0
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
[New Thread 0x7fffed0d6700 (LWP 3999331)]
[New Thread 0x7fffec8d5700 (LWP 3999332)]
[New Thread 0x7fffe7fff700 (LWP 3999333)]
[New Thread 0x7fffe77fe700 (LWP 3999334)]
[New Thread 0x7fffe6ebc700 (LWP 3999335)]
[New Thread 0x7fffe66bb700 (LWP 3999336)]
[New Thread 0x7fffe4db7700 (LWP 3999343)]
[New Thread 0x7fffcffff700 (LWP 3999344)]
[New Thread 0x7fffcf7fe700 (LWP 3999345)]
[New Thread 0x7fffceffd700 (LWP 3999346)]
[New Thread 0x7fffce7fc700 (LWP 3999347)]
[Thread 0x7fffcf7fe700 (LWP 3999345) exited]
[Thread 0x7fffe4db7700 (LWP 3999343) exited]
Invalid bitcast
  %367 = bitcast i32 %366 to i16
LLVM ERROR: Broken function

Thread 7 "waifu2x-ncnn-vu" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe66bb700 (LWP 3999336)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) c
Continuing.
Couldn't get registers: No such process.
Couldn't get registers: No such process.
(gdb) [Thread 0x7fffce7fc700 (LWP 3999347) exited]
[Thread 0x7fffceffd700 (LWP 3999346) exited]
[Thread 0x7fffcffff700 (LWP 3999344) exited]
[Thread 0x7fffe66bb700 (LWP 3999336) exited]
[Thread 0x7fffe77fe700 (LWP 3999334) exited]
[Thread 0x7fffe7fff700 (LWP 3999333) exited]
[Thread 0x7fffec8d5700 (LWP 3999332) exited]
[Thread 0x7fffed0d6700 (LWP 3999331) exited]
[Thread 0x7ffff79b30c0 (LWP 3999299) exited]

Program terminated with signal SIGABRT, Aborted.
The program no longer exists.

How to solve this?

@Efreak
Copy link

Efreak commented May 27, 2023

I'm getting this too :(

efreak@65da54e44cf9:~/waifu/waifu2x-ncnn-vulkan-20220728-ubuntu$ ./waifu2x-ncnn-vulkan -i travis-hanson-space-1.png -o travis-hanson-space-1.out.png -s 4 -gpu-id=-1
[0 llvmpipe (LLVM 12.0.0, 256 bits)]  queueC=0[1]  queueG=0[1]  queueT=0[1]
[0 llvmpipe (LLVM 12.0.0, 256 bits)]  bugsbn1=0  bugbilz=0  bugcopc=0  bugihfa=0
[0 llvmpipe (LLVM 12.0.0, 256 bits)]  fp16-p/s/a=1/1/0  int8-p/s/a=1/1/0
[0 llvmpipe (LLVM 12.0.0, 256 bits)]  subgroup=8  basic=1  vote=1  ballot=1  shuffle=0
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
Invalid bitcast
  %367 = bitcast i32 %366 to i16
LLVM ERROR: Broken function
Aborted (core dumped)

@Nova-Aurora
Copy link
Contributor

What is the environment that this is being run in?

@nihui
Copy link
Owner

nihui commented May 30, 2023

seems to be a llvmpipe bug, try upgrading mesa or please report to mesa upstream

@Efreak
Copy link

Efreak commented Jun 8, 2023

What is the environment that this is being run in?

Sorry for delay. I was running it on a runpod worker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants