# Change the Resolution of Anthias

**URL:** https://forums.screenly.io/t/change-the-resolution-of-anthias/1403
**Category:** Anthias
**Created:** [May 14, 2024, 12:55pm UTC](https://forums.screenly.io/t/change-the-resolution-of-anthias/1403 "2024-05-14T12:55:48Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![APeters](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@APeters](https://forums.screenly.io/u/APeters)
#### Post date: [May 14, 2024, 12:55pm UTC](https://forums.screenly.io/t/change-the-resolution-of-anthias/1403/1 "2024-05-14T12:55:48Z")

</div>

Hello Forum,

We have been using Screenly (or now Anthias) for years and are actually quite happy with it.  
We use it to display PRTG maps of our internal environment. This means that websites are called up and rendered on the fly.  
So far, everything has been running on a Raspberry Pi 3, but for performance reasons we have switched to a Pi 4B.  
Our current version is the master@7b559ef based on Debian Bookworm.  
The setup and restoration of the backup went smoothly. Everything also ran smoothly on my Full HD monitor, but for some reason I only see a white screen when I connect the Pi4 to a 4K monitor. Videos and pictures are no problem.  
By the way, it always starts fresh with the monitor connected.

I have already searched the forum in this regard, but unfortunately I have not found a solution that fits our problem.

Is there a way to change the resolution to Full-HD?  
It doesn’t sound like a complex problem at first, but it does seem to be one.  
None of the 3 methods I found online worked.  
Raspi-config doesn’t work because the option for the resolution is simply missing.  
xrandr doesn’t exist because I’m using the Lite version of Raspi-OS and when I install it manually it says “can’t open display”.  
I had tried to tamper with the /boot/firmware/config.txt. and insert things like  
hdmi\_group = 1  
hdmi\_mode = 16  
or framebuffer\_width etc.  
but it still switched back to 4K…

Does anyone have any idea how I can get back to full HD?  
That would also be the most practical solution, as we wouldn’t have to recreate the few dozen images that are all in full HD.

Kind regards

Alex

---

<div class="post-metadata">

### Author: ![jouvrard](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@jouvrard](https://forums.screenly.io/u/jouvrard)
#### Post date: [May 15, 2024, 6:35am UTC](https://forums.screenly.io/t/change-the-resolution-of-anthias/1403/2 "2024-05-15T06:35:38Z")

</div>

Hello,

I had the same problem few months ago.  
You can find here the solution [salmanfarisvp](https://forums.screenly.io/u/salmanfarisvp) gave me :  
[Anthias on 4K screen - Anthias - Anthias Forum (screenly.io)](https://forums.screenly.io/t/anthias-on-4k-screen/1243/6)

It works perfectly for me. 🙂

---

<div class="post-metadata">

### Author: ![APeters](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@APeters](https://forums.screenly.io/u/APeters)
#### Post date: [May 15, 2024, 6:58am UTC](https://forums.screenly.io/t/change-the-resolution-of-anthias/1403/3 "2024-05-15T06:58:33Z")

</div>

Hello,

many thanks for the tip.  
I’ve actually already seen the post, but I was kind of against using an outdated version of Raspi-OS, because I was afraid that some update might break it again.

I have actually found another solution to the problem that works for me.  
You can find it here:  
[RPI4 issues with 4k display](https://github.com/Screenly/Anthias/issues/1554#issuecomment-927007204)  
I have adapted this solution to the latest version by adding  
"`shm\_size: ‘1gb’ " in “/home/pi/screenly/docker-compose.yml” at the new corresponding position. It then looked like this:  
 ![grafik](https://canada1.discourse-cdn.com/flex029/uploads/screenly/original/1X/f25ee54aa3b4c14e2192173535d126bfaff384fc.png)  
Another restart and it worked.

Such a complicated solution would not be necessary if there was a simple way to change the output resolution.  
Which brings me back to my question above…

Thanks again for the answer, but that’s why I’ll leave the thread open.

---

<div class="post-metadata">

### Author: ![nicomiguelino](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@nicomiguelino](https://forums.screenly.io/u/nicomiguelino)
#### Post date: [May 17, 2024, 5:34pm UTC](https://forums.screenly.io/t/change-the-resolution-of-anthias/1403/4 "2024-05-17T17:34:45Z")

</div>

@APeters, I recently merged this [PR (#1894)](https://github.com/Screenly/Anthias/pull/1894) that fixes assets playback in 4K displays.

- What the PR does is increase the shared memory size of the `anthias-viewer` container.
- To pull the new changes, run:

```bash
# Make sure that you're inside the project root directory.
cd ~/screenly

# Pull the latest changes from the `master` branch.
git pull 

# If you can't pull the changes, you can just add a `shm_size` in the `anthias-viewer` service of `docker-compose.yml.tmpl`.
# You can set it to anything larger than `64mb` (which is the default value.) like `256mb`, `1gb`, etc.

# Restart the docker containers, but you have to do it in a specific way, since `docker-compose.yml` is auto-generated based on the template file `docker-compose.yml.tmpl`.
docker compose down && ./bin/upgrade_containers.sh

```

- Regarding your concern of having a simpler way of changing the output solution, the simplest that it can get is to add settings via the web UI where output resolution can be tweaked.

---

<div class="post-metadata">

### Author: ![APeters](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@APeters](https://forums.screenly.io/u/APeters)
#### Post date: [May 21, 2024, 7:39am UTC](https://forums.screenly.io/t/change-the-resolution-of-anthias/1403/5 "2024-05-21T07:39:06Z")

</div>

@nicomiguelino, thanks.

What do you mean by “add settings via the web UI”?  
I can’t see any point where this might be possible.  
Under system info there are just… infos.

 ![grafik](https://canada1.discourse-cdn.com/flex029/uploads/screenly/original/1X/30d9d61188f8d1ba28f607ed3419b060a9caf6c3.png)

And at the settings tab there is nothing regarding any Display settings.

 ![grafik](https://canada1.discourse-cdn.com/flex029/uploads/screenly/original/1X/2a6a2df41a44f000c9db8615f1e359ceb973c3f6.png)

Can you please explain this further?

---

<div class="post-metadata">

### Author: ![nicomiguelino](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@nicomiguelino](https://forums.screenly.io/u/nicomiguelino)
#### Post date: [May 21, 2024, 1:47pm UTC](https://forums.screenly.io/t/change-the-resolution-of-anthias/1403/6 "2024-05-21T13:47:56Z")

</div>

@APeters, As of now, there are no support for changing the resolution easily, for instance, in web UI.

What I meant is that input boxes for specifying the resolution can be added in the settings page in the future.

---

<div class="post-metadata">

### Author: ![APeters](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@APeters](https://forums.screenly.io/u/APeters)
#### Post date: [May 22, 2024, 5:38am UTC](https://forums.screenly.io/t/change-the-resolution-of-anthias/1403/7 "2024-05-22T05:38:10Z")

</div>

Ah, that’s what you meant. Yes, that would be great.

---

<div class="post-metadata">

### Author: ![nicomiguelino](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@nicomiguelino](https://forums.screenly.io/u/nicomiguelino)
#### Post date: [May 22, 2024, 2:09pm UTC](https://forums.screenly.io/t/change-the-resolution-of-anthias/1403/8 "2024-05-22T14:09:58Z")

</div>

@APeters I created a PR for that (for reference): [Web UI support for changing output resolution · Issue #1895 · Screenly/Anthias · GitHub](https://github.com/Screenly/Anthias/issues/1895)

---

<div class="post-metadata">

### Author: ![AlBoudreau](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@AlBoudreau](https://forums.screenly.io/u/AlBoudreau)
#### Post date: [December 4, 2024, 8:20pm UTC](https://forums.screenly.io/t/change-the-resolution-of-anthias/1403/9 "2024-12-04T20:20:57Z")

</div>

Hello, @nicomiguelino, how woudl I go about doing:  
"# If you can’t pull the changes, you can just add a `shm_size` in the `anthias-viewer` service of `docker-compose.yml.tmpl`.

# You can set it to anything larger than `64mb` (which is the default value.) like `256mb`, `1gb`, etc.

When I went to update, it told me it was all up do date.  
I restarted the docker containers but I want to add the line to augment the size. I am doing this via SSH and i’m very new to all of this. I do not know how to access the docker-compose.yml file to edit it in SSH  
Your help would be appreciated.  
Al

---

<div class="post-metadata">

### Author: ![nicomiguelino](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@nicomiguelino](https://forums.screenly.io/u/nicomiguelino)
#### Post date: [December 5, 2024, 1:57am UTC](https://forums.screenly.io/t/change-the-resolution-of-anthias/1403/10 "2024-12-05T01:57:32Z")

</div>

@AlBoudreau, you can install a command-line text editor like Nano, Vim, or Emacs to edit the Docker Compose file.

SSH to your Raspberry Pi and run the following.

```bash
$ cd ~/screenly
# Open docker-compose.yml.tmpl using the text editor of your choice
# and update the value of `shm_size`.

```

Let me know if you need any further help.
