Description of problem: I made a clean install of Mageia from Cauldron. After figuring out how to get KMS working with my Radeon HD4870 (not a small process), I now have X working. The problem is that the display suddenly switches to a text console (tty1) on it's own. I can't see any connection to what I'm doing making it switch. Two weird symptoms: 1. The tty1 console shows a login prompt AND a mouse pointer. When I move the mouse pointer it will switch cursors corresponding to the X session (text cursor over text, pointer over an icon, etc.). I can even click while it's showing the text console and the click will happen in the X session. 2. Similar to 1. When I type in the login prompt and hit enter it will ask for the password as expected. But the typing also happens in the X display. It's like every mouse and keyboard action happens simultaneously in the X display and tty1. In order to switch back to the X display, I can use any of Ctrl-Alt-F2 to F7. Probably related to this is that I cannot manually switch to a text console while in the X display. Running total of screen switches to tty1 in the time it took to write this bug => 12x's...
Created attachment 1362 [details] lspcidrake -v
Forgot to add that I'm getting numerous lines of this in the messages log: Jan 14 20:23:02 localhost systemd[1]: getty@tty1.service holdoff time over, scheduling restart. Jan 14 20:23:05 localhost kernel: [drm:drm_mode_getfb] *ERROR* invalid framebuffer id Jan 14 20:37:36 localhost systemd[1]: getty@tty1.service holdoff time over, scheduling restart. Jan 14 20:37:38 localhost kernel: [drm:drm_mode_getfb] *ERROR* invalid framebuffer id Jan 14 21:17:38 localhost systemd[1]: getty@tty1.service holdoff time over, scheduling restart. Jan 14 21:17:42 localhost kernel: [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
Hi thanks for reporting this bug. Anssi, dmorgan KMS issue related to the driver, or more one with the recent update ?
CC: (none) => anssi.hannula, dmorganec, manuel
Some more info: Running 'systemctl stop getty@tty1.service' stops the screen switches to tty1. (and keeps me sane) When I shutdown the computer, the DM stops and the screen goes to a tty console with EVERYTHING I have typed on the keyboard. Then it finishes shutting down.
Created attachment 1378 [details] kdm.log file I think this is related to KDM. I switched to logging in with GDM and I don't see the problem. I can switch to tty1-6 consoles and the DM session is started on tty7. ]# grep kdm /var/log/messages Jan 16 01:17:31 localhost kdm[4450]: Cannot execute 'grub-set-default': not in $PATH. Jan 17 11:32:43 localhost kdm[4612]: X server for display :0 terminated unexpectedly Jan 17 11:32:43 localhost kdm: :0[5833]: Fatal X server IO error: Interrupted system call Jan 17 11:36:45 localhost kdm[4612]: Cannot execute 'grub-set-default': not in $PATH. Jan 17 11:46:12 localhost kdm[4781]: X server for display :0 terminated unexpectedly Jan 17 11:46:12 localhost kdm: :0[5909]: Fatal X server IO error: Interrupted system call Jan 17 12:24:35 localhost kdm[4781]: Cannot execute 'grub-set-default': not in $PATH. Jan 17 12:25:20 localhost kdm: :0[27588]: Fatal X server IO error: Interrupted system call
Summary: dm switches to a text console tty1 by itself. Can't switch manually to any text console. => kdm login switches to a text console tty1 by itself. Can't switch manually to any text console.Source RPM: plymouth-0.8.4-0.20111214.3.mga2.src.rpm => kdebase4-workspace-4.7.97-1.mga2.src.rpm
i'm not sure that kdm is at fault here because kdm just notice that X server is probably crashing : Fatal X server IO error: Interrupted system call/ Also something is strange here because X should be started on tty1 according to last change done by coling in plymouth/systemd.
CC: (none) => balcaen.john
Marking as duplicate of bug #4170 since coling is already answering on this bug. *** This bug has been marked as a duplicate of bug 4170 ***
Status: NEW => RESOLVEDResolution: (none) => DUPLICATE