# Waveshare DSI LCD displays

**URL:** <https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991>\
**Category:** Diy and Tweaks\
**Created:** [September 25, 2022, 7:57am UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991 "2022-09-25T07:57:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lyzards](https://community.volumio.com/user_avatar/community.volumio.com/lyzards/32/22805_2.png) [@Lyzards](https://community.volumio.com/u/Lyzards)\
**Post date:** [September 25, 2022, 7:57am UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/1 "2022-09-25T07:57:58Z")

</div>

Hi, Guys!

As most of you know, “standard resolution” 800x480 Waveshare DSI displays work great with Volumio. I have tested 7" and 5" versions both work straight from the box.

But what about 1280x400 and 1024x600 ones? Does anyone knows how to properly setup them?

I had no luck making them work. I tried installing driver, copying overlays and some lines from config.txt from working Raspberry Pi OS version, but so far - no result.

Any advises or possible solutions would be highly appreciated. 🙂

---

<div class="post-metadata">

**Author:** ![Aiello](https://community.volumio.com/letter_avatar_proxy/v4/letter/a/35a633/32.png) [@Aiello](https://community.volumio.com/u/Aiello)\
**Post date:** [September 25, 2022, 8:28pm UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/2 "2022-09-25T20:28:41Z")

</div>

`nano /boot/userconfig.txt`

and add the following lines

```auto
hdmi_group=2
hdmi_mode=87
hdmi_timings=400 0 100 10 140 1280 10 20 20 2 0 0 0 60 0 43000000 3
hdmi_blanking=1

```

---

<div class="post-metadata">

**Author:** ![gvolt](https://community.volumio.com/letter_avatar_proxy/v4/letter/g/a698b9/32.png) [@gvolt](https://community.volumio.com/u/gvolt)\
**Post date:** [September 25, 2022, 9:13pm UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/3 "2022-09-25T21:13:20Z")

</div>

@Aiello If I understand correctly @Lyzards looks for information about making two Waveshare _DSI_ displays work. Assuming @Lyzards refers to [this](https://www.waveshare.com/product/displays/lcd-oled/lcd-oled-1/7.9inch-dsi-lcd.htm) and [this](https://www.waveshare.com/7inch-DSI-LCD-C.htm) display the settings in post #2 won’t help.

@Lyzards:  
For the 7inch DSI LCD (C) you find setup instructions [here](https://community.volumio.com/t/install-dsi-display-driver/57486/8). Be aware that the instructions in the link are for a Pi **4**. In case you want to install on Pi **3** the URLs in the curl commands have to be adapted.

If you have already tried to install drivers etc. I recommend to start from scratch i.e.with a freshly installed Volumio system.

Regarding the 7.9inch DSI LCD as far as I can see there is currently no driver fitting the kernel version (5.10.92) Volumio 3.324 uses available from Waveshare.

---

<div class="post-metadata">

**Author:** ![Lyzards](https://community.volumio.com/user_avatar/community.volumio.com/lyzards/32/22805_2.png) [@Lyzards](https://community.volumio.com/u/Lyzards)\
**Post date:** [September 26, 2022, 5:34am UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/4 "2022-09-26T05:34:32Z")

</div>

@gvolt , these displays exactly and you guessed right - I am using Pi 4.

OK, that it is all about kernel version…

Will try to get 7" display working. Pretty sure it will (as it did for other members).

Thanks on noting to start studying that script. 🙂

---

<div class="post-metadata">

**Author:** ![Lyzards](https://community.volumio.com/user_avatar/community.volumio.com/lyzards/32/22805_2.png) [@Lyzards](https://community.volumio.com/u/Lyzards)\
**Post date:** [September 26, 2022, 8:00am UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/5 "2022-09-26T08:00:30Z")

</div>

@gvolt  
Your instruction is correct, however, in userconfig.txt one more line should be added:  
dtoverlay=vc4-kms-v3d

After adding, it worked for me.

 ![20220926_105338](https://community.volumio.com/uploads/default/original/3X/3/d/3df69baeba576314d9ed56d4245dc8f59c6d2b3e.jpeg)

 ![20220926_105245](https://community.volumio.com/uploads/default/original/3X/2/c/2c5d4c39a624cb5156ef5f17ee4e76539a88ec23.jpeg)

---

<div class="post-metadata">

**Author:** ![gvolt](https://community.volumio.com/letter_avatar_proxy/v4/letter/g/a698b9/32.png) [@gvolt](https://community.volumio.com/u/gvolt)\
**Post date:** [September 26, 2022, 8:11am UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/6 "2022-09-26T08:11:16Z")

</div>

Congrats and thanks for reporting back.

So without adding `dtoverlay=vc4-kms-v3d` the display did not work? I ask, because I don’t own that display and @keko123 didn’t report he needed that entry in his [thread](https://community.volumio.com/t/install-dsi-display-driver/57486).

@keko123 you also had to add `dtoverlay=vc4-kms-v3d` to your “/boot/userconfig.txt”?

---

<div class="post-metadata">

**Author:** ![Lyzards](https://community.volumio.com/user_avatar/community.volumio.com/lyzards/32/22805_2.png) [@Lyzards](https://community.volumio.com/u/Lyzards)\
**Post date:** [September 26, 2022, 8:16am UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/7 "2022-09-26T08:16:04Z")

</div>

@gvolt Nope, without it didn’t even turn back-light on…  
I double checked by commenting it out.

I found it in the script (line 42), that’s why I added:

> <https://github.com/waveshare/7inch-DSI-LCD-C/blob/main/32/5.10.92/pi4/WS_7inchDSI1024x600.sh>

---

<div class="post-metadata">

**Author:** ![gvolt](https://community.volumio.com/letter_avatar_proxy/v4/letter/g/a698b9/32.png) [@gvolt](https://community.volumio.com/u/gvolt)\
**Post date:** [September 26, 2022, 8:22am UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/8 "2022-09-26T08:22:25Z")

</div>

Thanks, good to know.

I know the script (and line 42 😉 ) but wasn’t sure if adding that particular overlay was really necessary since there have been some installation scripts (for other displays) in Wavshare’s LCD-show repo putting unnecessary entries to config files…

---

<div class="post-metadata">

**Author:** ![Mark\_Bastard](https://community.volumio.com/user_avatar/community.volumio.com/mark_bastard/32/12168_2.png) [@Mark\_Bastard](https://community.volumio.com/u/Mark_Bastard)\
**Post date:** [October 13, 2022, 4:39am UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/9 "2022-10-13T04:39:33Z")

</div>

hello @gvolt, thank you for this. I have unfortunately bought the 7.9inch DSI LCD before reading this and have been tinkering to get it to work without any success, so I believe you’ve confirmed it’s going to be hard to get working.

From what I understand my only options are to try to get WaveShare to build more drivers (for the specific kernel that Volumio currently uses) or that Volumio changes its kernel to suit the screen.

I’ve reached out to WaveShare and hope I hear back soon. Unfortunately their drivers are not open source.

For volumio, I’ve looked into making a custom build that uses kernel 5.10.103 as it’s the closest to the current volumio version. However I’m trying to use docker to do the build and it fails when trying to mount to chroot.

I just wanna check before putting more time into it, is building a custom volumio-os at kernel version 5.10.103 feasible to get this to work? I’m hoping based on [this commit](https://github.com/volumio/volumio3-os/commit/ddf501a1a9261c549f4912aed46893897d18b75e) that it may be as simple as adding a hash for 5.10.103 on line 146 and then changing the value of KERNEL\_VERSION to 5.10.103, and proceeding with a usual build.

What are my chances of success?

---

<div class="post-metadata">

**Author:** ![Lyzards](https://community.volumio.com/user_avatar/community.volumio.com/lyzards/32/22805_2.png) [@Lyzards](https://community.volumio.com/u/Lyzards)\
**Post date:** [October 13, 2022, 5:21am UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/10 "2022-10-13T05:21:49Z")

</div>

Very much interested if it works @Mark_Bastard, as I have same display laying around.  
I wont have time to tinker around with this in near future, but, please, let me know, if you make some progress. 🙂

---

<div class="post-metadata">

**Author:** ![Mark\_Bastard](https://community.volumio.com/user_avatar/community.volumio.com/mark_bastard/32/12168_2.png) [@Mark\_Bastard](https://community.volumio.com/u/Mark_Bastard)\
**Post date:** [October 13, 2022, 5:36am UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/11 "2022-10-13T05:36:57Z")

</div>

I’m building it right now using the pi itself rather than docker. If it works I’ll upload the img and link it for you.

---

<div class="post-metadata">

**Author:** ![gvolt](https://community.volumio.com/letter_avatar_proxy/v4/letter/g/a698b9/32.png) [@gvolt](https://community.volumio.com/u/gvolt)\
**Post date:** [October 13, 2022, 6:33am UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/12 "2022-10-13T06:33:36Z")

</div>

> [@Mark\_Bastard](#):
>
> I’ve reached out to WaveShare and hope I hear back soon.

@Tomala [also](https://community.volumio.com/t/diy-streamer-with-volumio-in-standard-43cm-box/44747/129) contacted Waveshare. Don’t know if he has heard back yet.

> [@Mark\_Bastard](#):
>
> making a custom build that uses kernel 5.10.103  
> …  
> What are my chances of success?

I have not yet built Volumio myself, so unfortunately I can contribute little to this. But if you manage to create a runnable Volumio system with kernel 5.10.103, I would expect Waveshare’s drivers for the 7.9" DSI display made for that kernel version would make the display work.

---

<div class="post-metadata">

**Author:** ![Mark\_Bastard](https://community.volumio.com/user_avatar/community.volumio.com/mark_bastard/32/12168_2.png) [@Mark\_Bastard](https://community.volumio.com/u/Mark_Bastard)\
**Post date:** [October 13, 2022, 6:55am UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/13 "2022-10-13T06:55:31Z")

</div>

Excellent, just a progress update. I built a custom image and installed / booted successfully. I then installed the drivers as per the instructions in the waveshare wiki [https://www.waveshare.com/wiki/7.9inch\_DSI\_LCD](https://www.waveshare.com/wiki/7.9inch_DSI_LCD) and rebooted. The screen actually started and is showing the CLI login screen! I haven’t installed the volumio plugin yet so I’ll give that a go, but it looks like the hard part is done!

 ![PXL_20221013_064957449 (1)](https://community.volumio.com/uploads/default/original/3X/9/6/968a273942f9becb00f32157fd0383b1d0536abe.jpeg)

---

<div class="post-metadata">

**Author:** ![Mark\_Bastard](https://community.volumio.com/user_avatar/community.volumio.com/mark_bastard/32/12168_2.png) [@Mark\_Bastard](https://community.volumio.com/u/Mark_Bastard)\
**Post date:** [October 13, 2022, 6:57am UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/14 "2022-10-13T06:57:34Z")

</div>

Perhaps I celebrated too early, the volumio doesn’t have an area to login to ‘my volumio’ and I need to do that to be able to install the plugin. Sigh…

---

<div class="post-metadata">

**Author:** ![Mark\_Bastard](https://community.volumio.com/user_avatar/community.volumio.com/mark_bastard/32/12168_2.png) [@Mark\_Bastard](https://community.volumio.com/u/Mark_Bastard)\
**Post date:** [October 13, 2022, 11:30am UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/15 "2022-10-13T11:30:31Z")

</div>

![PXL_20221013_112455996](https://community.volumio.com/uploads/default/original/3X/b/2/b2eb4ad144d83a6f7417609d003c2eeb9265fe25.jpeg)

Okay, I have some success!

Waveshare ended up getting back to me very quickly and provided me a zip file with drivers for the kernel that Volumio uses. I used SCP to transfer them onto volumio, then installed them following the guide here: [https://www.waveshare.com/wiki/7.9inch\_DSI\_LCD](https://www.waveshare.com/wiki/7.9inch_DSI_LCD)

The rotation didn’t work however. The only way I’ve been able to rotate it is to SSH in once it’s already booted and run:

```auto
export DISPLAY=:0
xrandr --output DSI-1 --rotate left

```

However this doesn’t persist on a reboot. Putting it in config.txt or userconfig.txt isn’t working, likely because the command runs too soon if it’s in that file. Does anyone know where the touch screen plugin writes its commands to rotate, what they are, and when they’re run?

I have asked the permission of Waveshare to share the drivers with you guys. If they approve I’ll upload them here.

---

<div class="post-metadata">

**Author:** ![Wheaten](https://community.volumio.com/user_avatar/community.volumio.com/wheaten/32/33147_2.png) [@Wheaten](https://community.volumio.com/u/Wheaten)\
**Post date:** [October 13, 2022, 11:50am UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/16 "2022-10-13T11:50:06Z")

</div>

Then put this in a shell script which you can call as a startup service?  
(I expect it will works like given below, but did it out the top of my head, untested)

```auto
mkdir ~/scripts
cd scripts

```

```auto
nano startuplcd.sh

```

Copy Paste:

```auto
#!/bin/bash
export DISPLAY=:0
xrandr --output DSI-1 --rotate left

```

`chmod 777 startuplcd.sh`

Create startup service  
`sudo nano /lib/systemd/system/startuplcd.service`

Copy Paste:

```auto
[Unit]
Description=startuplcd
After=network-online.target
Wants=network-online.target

[Service]
ExecStart=/bin/bash /home/volumio/scripts/startuplcd.sh

[Install]
WantedBy=multi-user.target

```

```auto
sudo chmod 644 /lib/systemd/system/startuplcd.service
sudo systemctl daemon-reload
sudo systemctl enable startuplcd.service

```

Reboot and see the magic happen 😂

These lines are optional, i put them in al off my services as I don’t want anything to happen when the network is not connected yet.:

```auto
After=network-online.target
Wants=network-online.target

```

---

<div class="post-metadata">

**Author:** ![Mark\_Bastard](https://community.volumio.com/user_avatar/community.volumio.com/mark_bastard/32/12168_2.png) [@Mark\_Bastard](https://community.volumio.com/u/Mark_Bastard)\
**Post date:** [October 13, 2022, 11:52am UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/17 "2022-10-13T11:52:59Z")

</div>

Thanks, I’ll give that a go

---

<div class="post-metadata">

**Author:** ![Wheaten](https://community.volumio.com/user_avatar/community.volumio.com/wheaten/32/33147_2.png) [@Wheaten](https://community.volumio.com/u/Wheaten)\
**Post date:** [October 13, 2022, 12:13pm UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/18 "2022-10-13T12:13:51Z")

</div>

Please report back if it did the trick

---

<div class="post-metadata">

**Author:** ![Tomala](https://community.volumio.com/user_avatar/community.volumio.com/tomala/32/17142_2.png) [@Tomala](https://community.volumio.com/u/Tomala)\
**Post date:** [October 13, 2022, 7:18pm UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/19 "2022-10-13T19:18:03Z")

</div>

> [@gvolt](#):
>
> @Tomala [also](https://community.volumio.com/t/diy-streamer-with-volumio-in-standard-43cm-box/44747/129) contacted Waveshare. Don’t know if he has heard back yet.

Waveshare replied for email:  
**I’m sorry that the DSI LCD is not compatible with the Volumio display.**  
**How about using HDMI display instead?**  
I brought 7.9" HDMI and currently waiting for delivery. Waveshare offered to me cool discount. 🕶  
Folks, if you get DSI to work with Volumio I will probably try it and then HDMI display I will give to my son for his desktop.

---

<div class="post-metadata">

**Author:** ![Mark\_Bastard](https://community.volumio.com/user_avatar/community.volumio.com/mark_bastard/32/12168_2.png) [@Mark\_Bastard](https://community.volumio.com/u/Mark_Bastard)\
**Post date:** [October 13, 2022, 9:24pm UTC](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991/20 "2022-10-13T21:24:54Z")

</div>

@Tomala I got it working, see above. If they dont give me permission to share the drivers broadly I could at least share them privately if you DM me

[Next page](https://community.volumio.com/t/waveshare-dsi-lcd-displays/57991.md?page=2)
