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

Maximum real console size was reached. #240

Closed
kolomparrudi opened this issue Jul 31, 2015 · 54 comments
Closed

Maximum real console size was reached. #240

kolomparrudi opened this issue Jul 31, 2015 · 54 comments

Comments

@kolomparrudi
Copy link

@kolomparrudi kolomparrudi commented Jul 31, 2015

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
Copy link
Owner

@Maximus5 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
Copy link
Author

@kolomparrudi kolomparrudi commented Jul 31, 2015

I can send you log files on monday.

Br

@phryneas
Copy link

@phryneas 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
Copy link
Owner

@Maximus5 Maximus5 commented Aug 1, 2015

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

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

@Maximus5
Copy link
Owner

@Maximus5 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
Copy link

@phryneas 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
Copy link

@phryneas 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
Copy link
Owner

@Maximus5 Maximus5 commented Aug 3, 2015

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

@phryneas
Copy link

@phryneas 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
Copy link
Owner

@Maximus5 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
Copy link

@phryneas 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
Copy link
Author

@kolomparrudi kolomparrudi commented Aug 4, 2015

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

@ptrwllrd
Copy link

@ptrwllrd 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
Copy link
Author

@kolomparrudi kolomparrudi commented 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).

@kolomparrudi
Copy link
Author

@kolomparrudi kolomparrudi commented Aug 4, 2015

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

@kolomparrudi
Copy link
Author

@kolomparrudi kolomparrudi commented 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

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Aug 14, 2015

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

@kolomparrudi
Copy link
Author

@kolomparrudi kolomparrudi commented 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)

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Aug 14, 2015

That is too long period of course.

@Maximus5
Copy link
Owner

@Maximus5 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
Copy link
Author

@kolomparrudi kolomparrudi commented 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

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Sep 24, 2015

I've asked LogFiles for new version.

@kolomparrudi
Copy link
Author

@kolomparrudi kolomparrudi commented 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.

@kolomparrudi
Copy link
Author

@kolomparrudi kolomparrudi commented 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.

@Maximus5
Copy link
Owner

@Maximus5 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
Copy link
Author

@kolomparrudi kolomparrudi commented 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)

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Oct 13, 2015

Sorry, have missed them

@kolomparrudi
Copy link
Author

@kolomparrudi kolomparrudi commented 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.

@jjmartin
Copy link

@jjmartin 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
Copy link
Owner

@Maximus5 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
Copy link

@Ventajou 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
Copy link
Owner

@Maximus5 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
Copy link
Author

@kolomparrudi kolomparrudi commented 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,

@Maximus5
Copy link
Owner

@Maximus5 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
Copy link
Author

@kolomparrudi kolomparrudi commented 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,

@kolomparrudi
Copy link
Author

@kolomparrudi kolomparrudi commented 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,

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Feb 17, 2016

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

@kolomparrudi
Copy link
Author

@kolomparrudi kolomparrudi commented 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,

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Feb 17, 2016

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

@kolomparrudi
Copy link
Author

@kolomparrudi kolomparrudi commented 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,

Maximus5 added a commit that referenced this issue Feb 18, 2016
  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
Copy link
Author

@kolomparrudi kolomparrudi commented Feb 18, 2016

Hi,

The 160217 build seems to solve the problem.

@Maximus5 Maximus5 closed this Feb 20, 2016
@patrick-wc
Copy link

@patrick-wc patrick-wc commented Jul 14, 2016

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

@blented
Copy link

@blented blented commented Aug 10, 2016

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

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Aug 10, 2016

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

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

@jhofm
Copy link

@jhofm 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
Copy link

@thecere 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
Copy link

@yxliang01 yxliang01 commented May 14, 2017

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

@thj-dk
Copy link

@thj-dk thj-dk commented Jan 30, 2018

Same. Anyways to fix it temporarily?

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Feb 1, 2018

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

@shaunluttin shaunluttin commented 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. 👏 👏 👏

@proteus-aholt
Copy link

@proteus-aholt proteus-aholt commented May 17, 2019

I'm on 180626 [64] and this error still occurs when moving between monitors.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented May 22, 2019

There is newer version now

@tyronhun
Copy link

@tyronhun tyronhun commented Dec 5, 2019

The following property settings for Conemu x64 (191012 preview) on Win 10 solved the issue for me.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
You can’t perform that action at this time.