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

Xorg hangs with -video-omap on d4 #614

Open
IMbackK opened this issue Mar 29, 2022 · 3 comments
Open

Xorg hangs with -video-omap on d4 #614

IMbackK opened this issue Mar 29, 2022 · 3 comments

Comments

@IMbackK
Copy link
Collaborator

IMbackK commented Mar 29, 2022

Fairly often xorg will hang using 100% of one core with a black screen on d4. seams to happen most often when turning on the crtc again after blank or rotate.

Seams to be hanging on an ioctl:

(gdb) bt
#0  0xb6a1cf08 in ioctl () at ../sysdeps/unix/syscall-template.S:78
#1  0xb6ce1c76 in drmIoctl (fd=14, request=1075602496, arg=0xbefb74a4) at ../xf86drm.c:565
#2  0xb6ce3dd8 in drmCommandWrite (fd=<optimized out>, drmCommandIndex=<optimized out>, data=<optimized out>, size=<optimized out>) at ../xf86drm.c:3025
#3  0xb65f5fbc in  () at /usr/lib/arm-linux-gnueabihf/libsrv_um.so.1
--- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
sigreturn({mask=[]})                    = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
--- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
sigreturn({mask=[]})                    = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
--- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
sigreturn({mask=[]})                    = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
ioctl(14, _IOC(_IOC_WRITE, 0x64, 0x40, 0x1c), 0xbefb74a4) = 0
... repeats ad infinitum
@IMbackK
Copy link
Collaborator Author

IMbackK commented Mar 29, 2022

killing x in this state, or chaning vt dosent get any display back.

@freemangordon
Copy link

Does it still happen with latest xorg driver?

@IMbackK
Copy link
Collaborator Author

IMbackK commented Nov 2, 2022

yes, this also happens to charging-sdl on the plain drm sdl driver, so its not related to the xorg driver only

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

2 participants