2560x1080 Resolution Issue #241

Open
opened 2025-12-29 00:21:27 +01:00 by adam · 5 comments
Owner

Originally created by @dhksa on GitHub (Sep 5, 2021).

Hi,

Thanks a lot for this great project!

After installing Big Sur with a 2560x1080px resolution, I'm using the following command to run MacOS from a persistent disk but hit issues with screen resolution:

docker run -it  \
    --device /dev/kvm \
    -p 50922:10022 \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -v "/data/mac_hdd_ng.qcow2:/image" \
    -e "DISPLAY=${DISPLAY:-:0.0}" \
    -e SIZE=300G -e RAM=16 -e SMP=8 -e CORES=8 \
    -e GENERATE_UNIQUE=true \
    -e WIDTH=2560 \
    -e HEIGHT=1080 \
    sickcodes/docker-osx:naked

The machine started with a very low resolution(1000x1000px).
After changing to -e WIDTH=1920 I was able to get 1080p no problem.

I also saw in the readme that only the following resolutions are supported, is this true or just out dated info?

Here's a few other resolutions! If you resolution is invalid, it will default to 800x600.
-e WIDTH=800
-e HEIGHT=600
-e WIDTH=1280
-e HEIGHT=768
-e WIDTH=1600
-e HEIGHT=900
-e WIDTH=1920
-e HEIGHT=1080
-e WIDTH=2560
-e HEIGHT=1600 \

Thanks in advance for your help here!

Best regards!

Originally created by @dhksa on GitHub (Sep 5, 2021). Hi, Thanks a lot for this great project! After installing Big Sur with a `2560x1080px` resolution, I'm using the following command to run MacOS from a persistent disk but hit issues with screen resolution: ``` docker run -it \ --device /dev/kvm \ -p 50922:10022 \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -v "/data/mac_hdd_ng.qcow2:/image" \ -e "DISPLAY=${DISPLAY:-:0.0}" \ -e SIZE=300G -e RAM=16 -e SMP=8 -e CORES=8 \ -e GENERATE_UNIQUE=true \ -e WIDTH=2560 \ -e HEIGHT=1080 \ sickcodes/docker-osx:naked ``` The machine started with a very low resolution(1000x1000px). After changing to `-e WIDTH=1920 ` I was able to get 1080p no problem. I also saw in the readme that only the following resolutions are supported, is this true or just out dated info? > Here's a few other resolutions! If you resolution is invalid, it will default to 800x600. > -e WIDTH=800 \ > -e HEIGHT=600 \ > -e WIDTH=1280 \ > -e HEIGHT=768 \ > -e WIDTH=1600 \ > -e HEIGHT=900 \ > -e WIDTH=1920 \ > -e HEIGHT=1080 \ > -e WIDTH=2560 \ > -e HEIGHT=1600 \ Thanks in advance for your help here! Best regards!
Author
Owner

@sickcodes commented on GitHub (Sep 6, 2021):

2560x1080 is an invalid resolution, you must use 16:9 from what I tested.

Your combination would be:

-e WIDTH=2560
-e HEIGHT=1600

@sickcodes commented on GitHub (Sep 6, 2021): `2560x1080` is an invalid resolution, you must use `16:9` from what I tested. Your combination would be: ` -e WIDTH=2560` `-e HEIGHT=1600`
Author
Owner

@triptec commented on GitHub (Sep 16, 2021):

I'm trying to get 2560x1600 but I only get 1920x1080 it seems

@triptec commented on GitHub (Sep 16, 2021): I'm trying to get 2560x1600 but I only get 1920x1080 it seems
Author
Owner

@gronka commented on GitHub (Dec 7, 2021):

@triptec I was able to change to the resolution you want with the method here:
https://github.com/sickcodes/Docker-OSX/issues/283

I think this issue can be closed

@gronka commented on GitHub (Dec 7, 2021): @triptec I was able to change to the resolution you want with the method here: https://github.com/sickcodes/Docker-OSX/issues/283 I think this issue can be closed
Author
Owner

@lopsbr commented on GitHub (Jan 31, 2023):

@triptec I was able to change to the resolution you want with the method here: #283

I think this issue can be closed

Is it possible to configure a screen with 21:9 resolution (2560x1080) in sickcodes/docker-osx:ventura?
I tried all the configuration alternatives in the config.v2.json file (#283), but it didn't work.

@lopsbr commented on GitHub (Jan 31, 2023): > @triptec I was able to change to the resolution you want with the method here: #283 > > I think this issue can be closed Is it possible to configure a screen with 21:9 resolution (2560x1080) in sickcodes/docker-osx:ventura? I tried all the configuration alternatives in the config.v2.json file (#283), but it didn't work.
Author
Owner

@gusbemacbe commented on GitHub (Apr 22, 2023):

Good afternoon, @sickcodes !

Would it be possible to apply the new resolution for the same Docker container ID (docker start -ai)?

@gusbemacbe commented on GitHub (Apr 22, 2023): Good afternoon, @sickcodes ! Would it be possible to apply the new resolution for the same Docker container ID (`docker start -ai`)?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#241