Hi,
I'm working on Qt5 on a custom board around s5pv210. I have the same problem as yours. Could you manage to solve your problem?
I think I don't have DRI driver in kernel. (i'm using linux 2.6.35.7)
any help would be most welcomed!
EDIT: there is no problem when I use "-platform linuxfb" . but when I use "-platform eglfs" , there is an error message:
gbm_create_device: invalid fd: -1
Could not initialize egl display
EGL error
Aborted
when I use strace, I can see (among others):
...
access("/usr/lib/egl/egl_gallium.so", F_OK) = -1 ENOENT (No such file or directory)
open("/dev/dri/card0", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
write(2, "gbm_create_device: invalid fd: -"..., 34gbm_create_device: invalid fd: -1
) = 34
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=64, ...}) = 0
mmap2(NULL, 64, PROT_READ, MAP_PRIVATE, 5, 0) = 0x40021000
close(5) = 0
open("/lib/libGL.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libGL.so", O_RDONLY|O_CLOEXEC) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\340!\1\0004\0\0\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=342684, ...}) = 0
mmap2(NULL, 375552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x415f0000
mprotect(0x41642000, 32768, PROT_NONE) = 0
mmap2(0x4164a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x52000) = 0x4164a000
close(5) = 0
open("/lib/libXext.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXext.so.6", O_RDONLY|O_CLOEXEC) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\364)\0\0004\0\0\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=52836, ...}) = 0
mmap2(NULL, 84564, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x4164c000
mprotect(0x41659000, 28672, PROT_NONE) = 0
mmap2(0x41660000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0xc000) = 0x41660000
close(5) = 0
open("/lib/libXdamage.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXdamage.so.1", O_RDONLY|O_CLOEXEC) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\364\t\0\0004\0\0\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=6936, ...}) = 0
mmap2(NULL, 38452, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x41661000
mprotect(0x41663000, 28672, PROT_NONE) = 0
mmap2(0x4166a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x1000) = 0x4166a000
close(5) = 0
open("/lib/libXfixes.so.3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXfixes.so.3", O_RDONLY|O_CLOEXEC) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0 \21\0\0004\0\0\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=14928, ...}) = 0
mmap2(NULL, 46492, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x4166b000
mprotect(0x4166f000, 28672, PROT_NONE) = 0
mmap2(0x41676000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x3000) = 0x41676000
close(5) = 0
open("/lib/libxcb-glx.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libxcb-glx.so.0", O_RDONLY|O_CLOEXEC) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\10\200\0\0004\0\0\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=61400, ...}) = 0
mmap2(NULL, 92848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x41677000
mprotect(0x41685000, 32768, PROT_NONE) = 0
mmap2(0x4168d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0xe000) = 0x4168d000
close(5) = 0
munmap(0x40021000, 64) = 0
write(2, "Could not initialize egl display"..., 34Could not initialize egl display
) = 34
write(2, "EGL error\n", 10EGL error
) = 10
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(1292, 1292, SIGABRT) = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=1292, si_uid=0} ---
+++ killed by SIGABRT +++
Aborted
I'm ready to give you any other info about the problem.
Thank you