[arch-general] Switching betweenX and TTY freezes WM
Hi, I have been observing strange issues when I switch between X and TTY. Here is the step-by-step story with details: 0. Login to tty1 and ttt2 1. From tty2 (not tty1), startx with either i3wm or Openbox 2. Launch 2-3 apps (e.g. urxvt, Firefox) 3. Switch back to tty1 (CTRL+ALT+F1) 4. Execute some shell commands in tty1 5. Switch back to X (CTRL+ALT+F7) 6. Observe no problems, no hangs, in Openbox the ALT+TAB and in i3wm the Mod+[jkl;] combination cycles through windows, etc. 7. Switch to tty2 (CTRL+ALT+F2) 8. See xinit output, hit ENTER once or more, the xinit output scrolls up 9. Switch back to X (CTRL+ALT+F7) 10. Now, observe strange problems with lack of response in both, Openbox or i3wm. WMs are not completely frozen, but somewhat partially. Neither Openbox ALT+TAB nor i3wm Mod+[jkl;] work. No reaction to mouse operations have no effect No reaction to i3wm Mod+SHIFT+Q, etc. I'm running updated Arch on Lenovo ThinkPad T400 with Intel graphics (xf86-video-intel driver, i915 module). Could the problem be related to xf86-video-intel driver? BTW, I have been observing slow rendering of Terminus font under i3wm [1] and it turns out the problem is in the most recent version of xf86-video-intel in the Arch repos [2]. [1] http://infra.in.zekjur.net/archives/i3-discuss/2012-June/000699.html [2] http://infra.in.zekjur.net/archives/i3-discuss/2012-June/000702.html Best regards, -- Mateusz Loskot, http://mateusz.loskot.net
On Sun, Jun 10, 2012 at 11:42 AM, Mateusz Loskot <mateusz@loskot.net> wrote:
Hi,
I have been observing strange issues when I switch between X and TTY. Here is the step-by-step story with details:
0. Login to tty1 and ttt2 1. From tty2 (not tty1), startx with either i3wm or Openbox 2. Launch 2-3 apps (e.g. urxvt, Firefox)
3. Switch back to tty1 (CTRL+ALT+F1) 4. Execute some shell commands in tty1 5. Switch back to X (CTRL+ALT+F7) 6. Observe no problems, no hangs, in Openbox the ALT+TAB and in i3wm the Mod+[jkl;] combination cycles through windows, etc.
7. Switch to tty2 (CTRL+ALT+F2) 8. See xinit output, hit ENTER once or more, the xinit output scrolls up 9. Switch back to X (CTRL+ALT+F7) 10. Now, observe strange problems with lack of response in both, Openbox or i3wm.
WMs are not completely frozen, but somewhat partially. Neither Openbox ALT+TAB nor i3wm Mod+[jkl;] work. No reaction to mouse operations have no effect No reaction to i3wm Mod+SHIFT+Q, etc.
I'm running updated Arch on Lenovo ThinkPad T400 with Intel graphics (xf86-video-intel driver, i915 module).
Could the problem be related to xf86-video-intel driver?
BTW, I have been observing slow rendering of Terminus font under i3wm [1] and it turns out the problem is in the most recent version of xf86-video-intel in the Arch repos [2].
[1] http://infra.in.zekjur.net/archives/i3-discuss/2012-June/000699.html [2] http://infra.in.zekjur.net/archives/i3-discuss/2012-June/000702.html
Best regards, -- Mateusz Loskot, http://mateusz.loskot.net
I started noticing this same thing since last year (though don't remember when exactly). Never asked cause the work around is simple, the TTY from which startx was run is considered "dead" to me, I just don't use it once in X. This happens to me with fluxbox, no desktop, and with 2 different video cards, nvidia (nouveau driver) and ati. To me it doesn't seem unique to a particular video card driver, neither to a particular WM. Maybe it's an X issue... -- Javier.
On 10 June 2012 19:03, Javier Vasquez <j.e.vasquez.v@gmail.com> wrote:
On Sun, Jun 10, 2012 at 11:42 AM, Mateusz Loskot <mateusz@loskot.net> wrote:
I have been observing strange issues when I switch between X and TTY. [...]
I started noticing this same thing since last year (though don't remember when exactly). Never asked cause the work around is simple, the TTY from which startx was run is considered "dead" to me, I just don't use it once in X.
Yes, you are right it's not a very disturbing issue. I was just curious if it is known problem and perhaps there is a solution. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net
El 10/06/12 14:11, Mateusz Loskot escribió:
On 10 June 2012 19:03, Javier Vasquez <j.e.vasquez.v@gmail.com> wrote:
I have been observing strange issues when I switch between X and TTY. [...] I started noticing this same thing since last year (though don't remember when exactly). Never asked cause the work around is simple,
On Sun, Jun 10, 2012 at 11:42 AM, Mateusz Loskot <mateusz@loskot.net> wrote: the TTY from which startx was run is considered "dead" to me, I just don't use it once in X. Yes, you are right it's not a very disturbing issue. I was just curious if it is known problem and perhaps there is a solution.
Best regards, I have a similar problem:
On 10 June 2012 20:35, Sébastien le Preste de Vauban <ulpianosonsi@gmail.com> wrote:
El 10/06/12 14:11, Mateusz Loskot escribió:
On 10 June 2012 19:03, Javier Vasquez <j.e.vasquez.v@gmail.com> wrote:
On Sun, Jun 10, 2012 at 11:42 AM, Mateusz Loskot <mateusz@loskot.net> wrote:
I have been observing strange issues when I switch between X and TTY. [...]
I started noticing this same thing since last year (though don't remember when exactly). Never asked cause the work around is simple, the TTY from which startx was run is considered "dead" to me, I just don't use it once in X.
Yes, you are right it's not a very disturbing issue. I was just curious if it is known problem and perhaps there is a solution.
I have a similar problem:
Nice one, I'm going to subscribe to this issue. Thanks! Best regards, -- Mateusz Loskot, http://mateusz.loskot.net
On 06/10/2012 01:21 PM, Mateusz Loskot wrote:
On 10 June 2012 20:35, Sébastien le Preste de Vauban <ulpianosonsi@gmail.com> wrote:
El 10/06/12 14:11, Mateusz Loskot escribió:
On 10 June 2012 19:03, Javier Vasquez <j.e.vasquez.v@gmail.com> wrote:
On Sun, Jun 10, 2012 at 11:42 AM, Mateusz Loskot <mateusz@loskot.net> wrote:
I have been observing strange issues when I switch between X and TTY. [...]
I started noticing this same thing since last year (though don't remember when exactly). Never asked cause the work around is simple, the TTY from which startx was run is considered "dead" to me, I just don't use it once in X.
Yes, you are right it's not a very disturbing issue. I was just curious if it is known problem and perhaps there is a solution.
I have a similar problem:
Nice one, I'm going to subscribe to this issue. Thanks!
Best regards,
I think I have a similar problem, I am on a 64bit laptop with OpenBox and Slim. What happens for me is if I change TTYs or even try and shutdown the screen turns red some times other times its just a black screen, but during both the computer is locked up. No output in logs and does cause a kernel panic. They way I have been able to work around it after an update gets me back to seeing red again is running this little script. Maybe it will help you figure a work around for yours, but probably not though. sudo pacman -S --noconfirm systemd-tools dbus acpid acpi xorg-server xorg-server-common nvidia-lts slim nvidia xorg-xinit consolekit nvidia-utils xorg-server-utils polkit lib32-nvidia-utils sudo mkinitcpio -p linux-lts sudo mkinitcpio -p linux After this is run and I have rebooted. I can change TTYs and shutdown and reboot without seeing red or black and the computer just freezing. I honestly can not track it down, each time I think it is caused by one certain thing something new in an update seems to trigger it. The weirdest thing to me is it does not have to be an update of any of the packages listed in my script to trigger the issue again. Also if I remove any one of those, the issue persists. Sorry if not fully related, just figured might help spring an idea or something for you.
I also have the same problem. And remember that Ubuntu, Fedora work well, so I wonder whether it is a bug. On Jun 11, 2012 4:21 AM, "Mateusz Loskot" <mateusz@loskot.net> wrote:
On 10 June 2012 20:35, Sébastien le Preste de Vauban <ulpianosonsi@gmail.com> wrote:
El 10/06/12 14:11, Mateusz Loskot escribió:
On 10 June 2012 19:03, Javier Vasquez <j.e.vasquez.v@gmail.com> wrote:
On Sun, Jun 10, 2012 at 11:42 AM, Mateusz Loskot <mateusz@loskot.net> wrote:
I have been observing strange issues when I switch between X and TTY. [...]
I started noticing this same thing since last year (though don't remember when exactly). Never asked cause the work around is simple, the TTY from which startx was run is considered "dead" to me, I just don't use it once in X.
Yes, you are right it's not a very disturbing issue. I was just curious if it is known problem and perhaps there is a solution.
I have a similar problem:
Nice one, I'm going to subscribe to this issue. Thanks!
Best regards, -- Mateusz Loskot, http://mateusz.loskot.net
I find that If you don't input anything like hitting ENTER at 8th step , everything is OK. On Jun 11, 2012 1:43 AM, "Mateusz Loskot" <mateusz@loskot.net> wrote:
Hi,
I have been observing strange issues when I switch between X and TTY. Here is the step-by-step story with details:
0. Login to tty1 and ttt2 1. From tty2 (not tty1), startx with either i3wm or Openbox 2. Launch 2-3 apps (e.g. urxvt, Firefox)
3. Switch back to tty1 (CTRL+ALT+F1) 4. Execute some shell commands in tty1 5. Switch back to X (CTRL+ALT+F7) 6. Observe no problems, no hangs, in Openbox the ALT+TAB and in i3wm the Mod+[jkl;] combination cycles through windows, etc.
7. Switch to tty2 (CTRL+ALT+F2) 8. See xinit output, hit ENTER once or more, the xinit output scrolls up 9. Switch back to X (CTRL+ALT+F7) 10. Now, observe strange problems with lack of response in both, Openbox or i3wm.
WMs are not completely frozen, but somewhat partially. Neither Openbox ALT+TAB nor i3wm Mod+[jkl;] work. No reaction to mouse operations have no effect No reaction to i3wm Mod+SHIFT+Q, etc.
I'm running updated Arch on Lenovo ThinkPad T400 with Intel graphics (xf86-video-intel driver, i915 module).
Could the problem be related to xf86-video-intel driver?
BTW, I have been observing slow rendering of Terminus font under i3wm [1] and it turns out the problem is in the most recent version of xf86-video-intel in the Arch repos [2].
[1] http://infra.in.zekjur.net/archives/i3-discuss/2012-June/000699.html [2] http://infra.in.zekjur.net/archives/i3-discuss/2012-June/000702.html
Best regards, -- Mateusz Loskot, http://mateusz.loskot.net
On Jun 11, 2012 1:43 AM, "Mateusz Loskot" <mateusz@loskot.net> wrote: On 11 June 2012 04:53, 逸冰欧阳 <yafc18@gmail.com> wrote:
[...] I find that If you don't input anything like hitting ENTER at 8th step , everything is OK.
Yes, I can confirm that too. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net
El 11/06/12 06:10, Mateusz Loskot escribió:
On Jun 11, 2012 1:43 AM, "Mateusz Loskot" <mateusz@loskot.net> wrote: On 11 June 2012 04:53, 逸冰欧阳 <yafc18@gmail.com> wrote:
[...] I find that If you don't input anything like hitting ENTER at 8th step , everything is OK. Yes, I can confirm that too.
Best regards,
I had not tested this in a while, and with my current setup: Linux 3.4.2-1-ARCH X.Org X Server 1.12.2 xf86-video-ati 6.14.99-1.20120517 02:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV710 [Radeon HD 4350] I can only reproduce this issue if I hit "Enter" in the TTY1 from which I run startx.
participants (5)
-
Don deJuan
-
Javier Vasquez
-
Mateusz Loskot
-
Sébastien le Preste de Vauban
-
逸冰欧阳