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

Maximum real console size was reached. #240

Closed
kolomparrudi opened this Issue Jul 31, 2015 · 51 comments

Comments

Projects
None yet
@kolomparrudi

Hi,

I got this notification with the latest conemu under windows 10 x64.
It appears every 10-20 mins.
I have far managers (3.0 build 4400) and putty terminals open.

screenshot:
image

Br,

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Jul 31, 2015

Owner

There is already one similar issue here.
Anyway, that seems like a bug of Windows 10 conhost, but I need LogFiles from you (when warning appears) to be sure.

Owner

Maximus5 commented Jul 31, 2015

There is already one similar issue here.
Anyway, that seems like a bug of Windows 10 conhost, but I need LogFiles from you (when warning appears) to be sure.

@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Jul 31, 2015

I can send you log files on monday.

Br

I can send you log files on monday.

Br

@phryneas

This comment has been minimized.

Show comment
Hide comment
@phryneas

phryneas Aug 1, 2015

What kind of log files do you need?
"Log console output" contains nothing of value.

It can easily be reproducted by opening a console and going to the login screen by pressing Win+L by the way.

PS: Msys2 zsh console in my case.

phryneas commented Aug 1, 2015

What kind of log files do you need?
"Log console output" contains nothing of value.

It can easily be reproducted by opening a console and going to the login screen by pressing Win+L by the way.

PS: Msys2 zsh console in my case.

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Aug 1, 2015

Owner

http://conemu.github.io/en/LogFiles.html

If it reproduced, I wouldn't ask for logs.

Owner

Maximus5 commented Aug 1, 2015

http://conemu.github.io/en/LogFiles.html

If it reproduced, I wouldn't ask for logs.

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Aug 3, 2015

Owner

I wonder, why some users think log files must contain anything interesting for them? What, landscapes? Nevermind. If user wants to help it's easy to crop "proprietary data".

Owner

Maximus5 commented Aug 3, 2015

I wonder, why some users think log files must contain anything interesting for them? What, landscapes? Nevermind. If user wants to help it's easy to crop "proprietary data".

@phryneas

This comment has been minimized.

Show comment
Hide comment
@phryneas

phryneas Aug 3, 2015

Maximus already said he couldn't reproduce. Maybe he isn't on Win10 or is driving a different resolution or something (mine is at 3840x2160 by the way and window scaling is up to 150%). So we gotta do that work for him.

@Maximus5 can I provide anything else?

phryneas commented Aug 3, 2015

Maximus already said he couldn't reproduce. Maybe he isn't on Win10 or is driving a different resolution or something (mine is at 3840x2160 by the way and window scaling is up to 150%). So we gotta do that work for him.

@Maximus5 can I provide anything else?

@phryneas

This comment has been minimized.

Show comment
Hide comment
@phryneas

phryneas Aug 3, 2015

Oh, I got something: turning my window scaling to 100% DOES solve the problem. Unfortunately I can't read anything any more, so that's not really a solution :/

Disabling DPI scaling in Program Compatibility Options does not work as well.

phryneas commented Aug 3, 2015

Oh, I got something: turning my window scaling to 100% DOES solve the problem. Unfortunately I can't read anything any more, so that's not really a solution :/

Disabling DPI scaling in Program Compatibility Options does not work as well.

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Aug 3, 2015

Owner

I'm still researching ;-) May be later I'll ask for new logs in new build.

Owner

Maximus5 commented Aug 3, 2015

I'm still researching ;-) May be later I'll ask for new logs in new build.

@phryneas

This comment has been minimized.

Show comment
Hide comment
@phryneas

phryneas Aug 3, 2015

I believe I may have a lead on this:

Windows 10 introduced scaling of conhost depending on the font used.

Pressing Win+Ctrl+Alt+Space to get the Real Console, then right-clicking the Title Bar, going to Preferences and then playing around with the font type & size solves the problem.

Rasterized font 8x12 seems to be a good idea here as going to the login screen seems to trigger the scaling, and raszerized fonts are not scaled.
Unfortunately, while the real console's options seem to save font size, they always reset the font to consolas.

phryneas commented Aug 3, 2015

I believe I may have a lead on this:

Windows 10 introduced scaling of conhost depending on the font used.

Pressing Win+Ctrl+Alt+Space to get the Real Console, then right-clicking the Title Bar, going to Preferences and then playing around with the font type & size solves the problem.

Rasterized font 8x12 seems to be a good idea here as going to the login screen seems to trigger the scaling, and raszerized fonts are not scaled.
Unfortunately, while the real console's options seem to save font size, they always reset the font to consolas.

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Aug 3, 2015

Owner

Do not select raster fonts. Never. Otherwise you'll lose unicode support.
http://conemu.github.io/en/UnicodeSupport.html

Owner

Maximus5 commented Aug 3, 2015

Do not select raster fonts. Never. Otherwise you'll lose unicode support.
http://conemu.github.io/en/UnicodeSupport.html

@phryneas

This comment has been minimized.

Show comment
Hide comment
@phryneas

phryneas Aug 3, 2015

Uh, okay, thanks for the hint :)

Looks like I've got some reading to do, I didn't notice that there is so much documentation on this, cool 👍

phryneas commented Aug 3, 2015

Uh, okay, thanks for the hint :)

Looks like I've got some reading to do, I didn't notice that there is so much documentation on this, cool 👍

@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Aug 4, 2015

I started conemu with logging, but the problem haven't appeared yet.

I started conemu with logging, but the problem haven't appeared yet.

@ptrwllrd

This comment has been minimized.

Show comment
Hide comment
@ptrwllrd

ptrwllrd Aug 4, 2015

Hello. I too have had this error occur a few times since updating to W10. I have a dual panel setup, vertical split. The crash occurs while resizing the split, and only after the console was left running/was used for a while. Log below:

http://i.imgur.com/hnr89xl.png
http://pastebin.com/5jCctAUv

ptrwllrd commented Aug 4, 2015

Hello. I too have had this error occur a few times since updating to W10. I have a dual panel setup, vertical split. The crash occurs while resizing the split, and only after the console was left running/was used for a while. Log below:

http://i.imgur.com/hnr89xl.png
http://pastebin.com/5jCctAUv

@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Aug 4, 2015

I had this issue again, it occoured at 12:51
http://pastebin.com/K6Zi8MTV

The issue occoured when I got an email notification from Mozilla Thunderbird (I don't know wheather it's only a coincidence).

I had this issue again, it occoured at 12:51
http://pastebin.com/K6Zi8MTV

The issue occoured when I got an email notification from Mozilla Thunderbird (I don't know wheather it's only a coincidence).

@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Aug 4, 2015

More log (notification occoured on 14:58):
http://pastebin.com/psP6TGKL

More log (notification occoured on 14:58):
http://pastebin.com/psP6TGKL

@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Aug 14, 2015

I have an other strange issue: Far manager layout messes up, maybe it has connection with the original issue. If I press CTRL-O twice it'll fix.
Far manager version: 3.0 build 4400 x64

far-error

I have an other strange issue: Far manager layout messes up, maybe it has connection with the original issue. If I press CTRL-O twice it'll fix.
Far manager version: 3.0 build 4400 x64

far-error

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Aug 14, 2015

Owner

@kolomparrudi Without reproduction steps I can't say anything.

Owner

Maximus5 commented Aug 14, 2015

@kolomparrudi Without reproduction steps I can't say anything.

@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Aug 14, 2015

Unfortunately I don't know when did it happen. When I click back to a far manager tab sometimes I saw this. I'm running conemu with logs, but I don't know when did it happen. Mayben I can share my logs (10 days long)

Unfortunately I don't know when did it happen. When I click back to a far manager tab sometimes I saw this. I'm running conemu with logs, but I don't know when did it happen. Mayben I can share my logs (10 days long)

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Aug 14, 2015

Owner

That is too long period of course.

Owner

Maximus5 commented Aug 14, 2015

That is too long period of course.

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Aug 14, 2015

Owner

Check new build 150813. If the problem persists, I need new LogFiles. Note I need all three files, not only selected one.

Owner

Maximus5 commented Aug 14, 2015

Check new build 150813. If the problem persists, I need new LogFiles. Note I need all three files, not only selected one.

@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Sep 24, 2015

Problem still exists in the latest version + 1 new bug:
The far manager window is being smaller, you can see black area around it (alt-f9 won't resize it).
conemu-bug

Problem still exists in the latest version + 1 new bug:
The far manager window is being smaller, you can see black area around it (alt-f9 won't resize it).
conemu-bug

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Sep 24, 2015

Owner

I've asked LogFiles for new version.

Owner

Maximus5 commented Sep 24, 2015

I've asked LogFiles for new version.

@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Sep 24, 2015

Here are the logs from today and yesterday: https://mik.bme.hu/~lmadarassy/conemu/conemu-logs.zip
The error appearing usually all the time.

Here are the logs from today and yesterday: https://mik.bme.hu/~lmadarassy/conemu/conemu-logs.zip
The error appearing usually all the time.

@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Oct 13, 2015

Hi,

The issue still exists in the latest version. Now I discovered it occours when I lock my computer and log in again. I have created a small video from it:
https://mik.bme.hu/~lmadarassy/conemu/VID_20151013_144747054.mp4

btw. I have dual monitor, I don't know wheather it causes any problem.

Hi,

The issue still exists in the latest version. Now I discovered it occours when I lock my computer and log in again. I have created a small video from it:
https://mik.bme.hu/~lmadarassy/conemu/VID_20151013_144747054.mp4

btw. I have dual monitor, I don't know wheather it causes any problem.

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Oct 13, 2015

Owner

Please, don't ignore my requests!
https://conemu.github.io/en/LogFiles.html
Video is nice, may be, but is does not show required internal information.

Owner

Maximus5 commented Oct 13, 2015

Please, don't ignore my requests!
https://conemu.github.io/en/LogFiles.html
Video is nice, may be, but is does not show required internal information.

@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Oct 13, 2015

Here are the latest logs:
https://mik.bme.hu/~lmadarassy/conemu/conemu-logs-2015-10-13.zip
(already sent logs 19 days ago, when you asked)

Here are the latest logs:
https://mik.bme.hu/~lmadarassy/conemu/conemu-logs-2015-10-13.zip
(already sent logs 19 days ago, when you asked)

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Oct 13, 2015

Owner

Sorry, have missed them

Owner

Maximus5 commented Oct 13, 2015

Sorry, have missed them

@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Oct 13, 2015

The conemu-logs.zip contains longer run,
The conemu-logs-2015-10-13.zip contains only a short run when the problem occoured.

The conemu-logs.zip contains longer run,
The conemu-logs-2015-10-13.zip contains only a short run when the problem occoured.

@jjmartin

This comment has been minimized.

Show comment
Hide comment
@jjmartin

jjmartin Feb 5, 2016

i can kind of reproduce this behaivor - i am running a Surfacebook with its built in monitor at a native 3000x2000 px with 200% scaling and 2 1080p monitors running at 100% scaling.

Conemu behaves fairly poorly compared to other apps when moving between monitors. The title bar doesn't resize, so its twice as big as it should be on the 1080p screen. The size of the window doesn't change either but something is triggering the underlying window to rescale so thats when you get that message the original poster was seeing. Conemu will start cutting off the text at the right and bottom as if it was on a much smaller screen but the real estate itself will be much bigger. Resizing fixes this as long as your font size on the real console is small enough.

jjmartin commented Feb 5, 2016

i can kind of reproduce this behaivor - i am running a Surfacebook with its built in monitor at a native 3000x2000 px with 200% scaling and 2 1080p monitors running at 100% scaling.

Conemu behaves fairly poorly compared to other apps when moving between monitors. The title bar doesn't resize, so its twice as big as it should be on the 1080p screen. The size of the window doesn't change either but something is triggering the underlying window to rescale so thats when you get that message the original poster was seeing. Conemu will start cutting off the text at the right and bottom as if it was on a much smaller screen but the real estate itself will be much bigger. Resizing fixes this as long as your font size on the real console is small enough.

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Feb 5, 2016

Owner

@jjmartin please create another issue, it's not related to the subject. Attach your config and LogFiles+ Screenshots demonstrating the problem.
Nonrelevant posts will be cleared here.

Owner

Maximus5 commented Feb 5, 2016

@jjmartin please create another issue, it's not related to the subject. Attach your config and LogFiles+ Screenshots demonstrating the problem.
Nonrelevant posts will be cleared here.

@Ventajou

This comment has been minimized.

Show comment
Hide comment
@Ventajou

Ventajou Feb 5, 2016

I started getting the error recently around the time I upgraded to the latest version of ConEmu. But then I realized at the same time I had disabled the "legacy console" in the settings of the Windows console.

After re-enabling the legacy console, the errors seem to have gone away. Not a fix but definitely work around.

Ventajou commented Feb 5, 2016

I started getting the error recently around the time I upgraded to the latest version of ConEmu. But then I realized at the same time I had disabled the "legacy console" in the settings of the Windows console.

After re-enabling the legacy console, the errors seem to have gone away. Not a fix but definitely work around.

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Feb 5, 2016

Owner

I need LogFiles from updated ConEmu recorded when error appears. Even better, if anyone can provide exact steps to reproduce.

Owner

Maximus5 commented Feb 5, 2016

I need LogFiles from updated ConEmu recorded when error appears. Even better, if anyone can provide exact steps to reproduce.

@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Feb 17, 2016

Hi,
The problem appeared again for me at 2016 Feb 16 13:57
Logs: https://mik.bme.hu/~lmadarassy/conemu/conemu-logs-20160216.zip

Br,

Hi,
The problem appeared again for me at 2016 Feb 16 13:57
Logs: https://mik.bme.hu/~lmadarassy/conemu/conemu-logs-20160216.zip

Br,

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Feb 17, 2016

Owner

@kolomparrudi your zip contains incomplete sets of logs from different sessions and different days. Useless.
I see the date/time in your comment, but there is only one log from that date.

Owner

Maximus5 commented Feb 17, 2016

@kolomparrudi your zip contains incomplete sets of logs from different sessions and different days. Useless.
I see the date/time in your comment, but there is only one log from that date.

@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Feb 17, 2016

Hi,

Updated the zip with all the log files created by conemu.
I'll take screenshot next time I saw the error.
When:
I locked my computer and logged in again and the error appeared. I had 2 far manager tabs (one is with run as administrator, the other is with normal user rights + 6 putty tabs).

Br,

Hi,

Updated the zip with all the log files created by conemu.
I'll take screenshot next time I saw the error.
When:
I locked my computer and logged in again and the error appeared. I had 2 far manager tabs (one is with run as administrator, the other is with normal user rights + 6 putty tabs).

Br,

@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Feb 17, 2016

Hi,

I was able to reproduce this issue by locking and loggin in again, screenshot:
https://mik.bme.hu/~lmadarassy/conemu/conemu-screenshot.jpg

Br,

Hi,

I was able to reproduce this issue by locking and loggin in again, screenshot:
https://mik.bme.hu/~lmadarassy/conemu/conemu-screenshot.jpg

Br,

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Feb 17, 2016

Owner

Can you reproduce that with one tab opened and upload new logs?

Owner

Maximus5 commented Feb 17, 2016

Can you reproduce that with one tab opened and upload new logs?

@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Feb 17, 2016

Hi,

I tried to reproduce the bug with 1 tab. If it was a normal user far manager, the problem not appeared.
When I started far manager with admin rights (*far.exe /w) with problem appears. Took screenshot and uploaded new logs.

new logs: https://mik.bme.hu/~lmadarassy/conemu/conemu-logs-20160216-2.zip
screenshot: https://mik.bme.hu/~lmadarassy/conemu/conemu-screenshot2.jpg

Br,

Hi,

I tried to reproduce the bug with 1 tab. If it was a normal user far manager, the problem not appeared.
When I started far manager with admin rights (*far.exe /w) with problem appears. Took screenshot and uploaded new logs.

new logs: https://mik.bme.hu/~lmadarassy/conemu/conemu-logs-20160216-2.zip
screenshot: https://mik.bme.hu/~lmadarassy/conemu/conemu-screenshot2.jpg

Br,

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Feb 17, 2016

Owner

What if you run *cmd.exe instead of Far? Does it reproduce on unlock?

Owner

Maximus5 commented Feb 17, 2016

What if you run *cmd.exe instead of Far? Does it reproduce on unlock?

@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Feb 17, 2016

Hi,

The problem is not exist with *cmd.exe.
I tried to start *cmd.exe, locked, unlocked, no problem. than I started far.exe from this cmd tab and after lock, unlock the problem started again.

Br,

Hi,

The problem is not exist with *cmd.exe.
I tried to start *cmd.exe, locked, unlocked, no problem. than I started far.exe from this cmd tab and after lock, unlock the problem started again.

Br,

Maximus5 added a commit that referenced this issue Feb 18, 2016

gh-240: Create a workaround for ‘Maximum real console size was reached’.
  Looks like MS-Bug in conhost leads to abnormally large font set in real console,
  if tab was started As Admin in Windows 10 and Win-L pressed.

  > C:\ConEmu\ConEmu64.exe -basic -max -size 12 -visible -log -cmd {cmd (Admin)}
  > rundll32 user32.dll,LockWorkStation
@kolomparrudi

This comment has been minimized.

Show comment
Hide comment
@kolomparrudi

kolomparrudi Feb 18, 2016

Hi,

The 160217 build seems to solve the problem.

Hi,

The 160217 build seems to solve the problem.

@Maximus5 Maximus5 closed this Feb 20, 2016

@zerodburn

This comment has been minimized.

Show comment
Hide comment
@zerodburn

zerodburn Jul 14, 2016

I keep getting this error on Windows 10 x64. Cmder build 160710

I keep getting this error on Windows 10 x64. Cmder build 160710

@blented

This comment has been minimized.

Show comment
Hide comment
@blented

blented Aug 10, 2016

Same, still getting it on Windows 10 x64. 4k monitor, maybe that has something to do with it?

blented commented Aug 10, 2016

Same, still getting it on Windows 10 x64. 4k monitor, maybe that has something to do with it?

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Aug 10, 2016

Owner

Without LogFiles reproducing the problem I can't tell you anything.

https://conemu.github.io/en/LogFiles.html

Owner

Maximus5 commented Aug 10, 2016

Without LogFiles reproducing the problem I can't tell you anything.

https://conemu.github.io/en/LogFiles.html

@jhofm

This comment has been minimized.

Show comment
Hide comment
@jhofm

jhofm Aug 15, 2016

I can reliably reproduce the bug on win10 by opening conemu on a high-dpi monitor, dragging the window to a standard resolution monitor and then maximizing it.

here's the log files produced by what i just described (captured with -log2).

con http://pastebin.com/7e7XcdTC
gui http://pastebin.com/Mp3G13Db
srv http://pastebin.com/RLiMW0cQ

jhofm commented Aug 15, 2016

I can reliably reproduce the bug on win10 by opening conemu on a high-dpi monitor, dragging the window to a standard resolution monitor and then maximizing it.

here's the log files produced by what i just described (captured with -log2).

con http://pastebin.com/7e7XcdTC
gui http://pastebin.com/Mp3G13Db
srv http://pastebin.com/RLiMW0cQ

@thecere

This comment has been minimized.

Show comment
Hide comment
@thecere

thecere Sep 30, 2016

I have the same setup as jhofm (4k+2k screen) and the same effects.

I would guess that the underlying real console does not handle the dpi switch (or screen dimension switch - the 2k screen is vertically oriented) if moving frome screen to screen.

thecere commented Sep 30, 2016

I have the same setup as jhofm (4k+2k screen) and the same effects.

I would guess that the underlying real console does not handle the dpi switch (or screen dimension switch - the 2k screen is vertically oriented) if moving frome screen to screen.

@yxliang01

This comment has been minimized.

Show comment
Hide comment
@yxliang01

yxliang01 May 14, 2017

Same here. I agree with @thecere 's idea. I am using 4k + 1080P display.

Same here. I agree with @thecere 's idea. I am using 4k + 1080P display.

@thj-dk

This comment has been minimized.

Show comment
Hide comment
@thj-dk

thj-dk Jan 30, 2018

Same. Anyways to fix it temporarily?

thj-dk commented Jan 30, 2018

Same. Anyways to fix it temporarily?

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Feb 1, 2018

Owner
  1. Use latest alpha build?
  2. LogFiles of repro?
Owner

Maximus5 commented Feb 1, 2018

  1. Use latest alpha build?
  2. LogFiles of repro?
@shaunluttin

This comment has been minimized.

Show comment
Hide comment
@shaunluttin

shaunluttin Feb 28, 2018

Upgrading to 180206 [64] {Alpha} resolves the issue for me on Windows 10. We used to receive the notification when we moved among multiple monitors. 👏 👏 👏

Upgrading to 180206 [64] {Alpha} resolves the issue for me on Windows 10. We used to receive the notification when we moved among multiple monitors. 👏 👏 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment