Display freezes while switching from X11 to a virtual-terminal, if framebuffer is used
Submitted by Peter Weber
Assigned to Xorg Project Team
Description
Created attachment 80628 required udev rule
Hello! I'm using framebuffer-based applications like fbida or mplayer on the virtual-terminal. This requires my user to be in the "video", or in a more Systemd fashioned-way, apply a UDEV-Rule with the TAG "uaccess" to the specific framebuffer-device (in most cases "/dev/fb*"). Switching between the virtual-terminals works fine. Switching from X11 to a virtual-terminal, which currently uses a framebuffer-device, freezes the display with last output from X11. The programmatical switch to the virtual-terminal itself works, i.e. the application running their will accept keyboard instructions.
Step to reproduces:
- Login to a random virtual-terminal, view a image with fbida or a movie with mplayer $ fbi random.png $ mplayer -vo fbdev funny.ogg $ mplayer -vo fbdev2 more_fun.mpeg # if previous doesn't work
- Login to X11
- Switch with Ctrl+Alt+F-Key to the virtual-terminal used before
- Display output freezes
Workaround: Switch to another virtual-terminal which currently doesn't use a framebuffer-device. From their, a user can switch to any other virtual-terminal.
Thank you for your work
Attachment 80628, "required udev rule":
70-uaccess-framebuffer.rules