Closed medivhok closed 11 years ago
sudo ./test_output --test
[0000.000000] NOTICE: /home/medivhok/AUR/kmscon-git/src/kmscon/.libs/lt-test_output Revision kmscon-7-39-gddf4126 Apr 16 2013 18:56:57
[0000.000065] NOTICE: Creating video object using /dev/dri/card0...
lt-test_output: /build/src/llvm-16ca877f58007eb0d72ac145d96b98e9df6adfd9/include/llvm/Support/CommandLine.h:646: void llvm::cl::parser<DataType>::addLiteralOption(const char*, const DT&, const char*) [with DT = llvm::ScheduleDAGSDNodes* (*)(llvm::SelectionDAGISel*, llvm::CodeGenOpt::Level); DataType = llvm::ScheduleDAGSDNodes* (*)(llvm::SelectionDAGISel*, llvm::CodeGenOpt::Level)]: Assertion `findOption(Name) == Values.size() && "Option already exists!"' failed.
That's a mesa bug. kmscon doesn't use C++ or llvm directly ;) It's known and it is fixed in mesa-master. I don't know which versions are affected, sorry, but the next mesa release should include a fix.
Great news! Thus I will wait the release of mesa to moving fully to kmskon...
Thanks a lot!
2013/4/18 David Herrmann notifications@github.com
That's a mesa bug. kmscon doesn't use C++ or llvm directly ;) It's known and it is fixed in mesa-master. I don't know which versions are affected, sorry, but the next mesa release should include a fix.
— Reply to this email directly or view it on GitHubhttps://github.com/dvdhrm/kmscon/issues/89#issuecomment-16592205 .
Ah ok, thx. I will try to compile a git version then
Thank you :+1:
EDIT: The bug has been corrected here.
The problem was caused by the llvm libs being static. Even with recent install of Mesa (with archlinux anyway) the package is still compiled with the static version of the lib. But I have rebuild the package with :
--with-llvm-shared-libs
Using --enable-opencl was asking for too much dependencies in the AUR packages. But now everything is working just fine (well kinda) with --hwaccel
Now that this trouble is out of the way, I can continue with the config of my setup :+1:
Hello there
I'm trying to start kmscon with the --hwaccel but I get this assertion :
I have 2 nvidia cards using the nouveau driver. everything works fine without the hwaccel. here's the debug output :