# Xorg.0.log has blown up to 24G

**URL:** <https://dietpi.com/forum/t/xorg-0-log-has-blown-up-to-24g/24812>\
**Category:** Troubleshooting\
**Tags:** raspberry-pi\
**Created:** [22 December 2025 20:53 UTC](https://dietpi.com/forum/t/xorg-0-log-has-blown-up-to-24g/24812 "2025-12-22T20:53:52Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmscode](https://dietpi.com/forum/user_avatar/dietpi.com/rmscode/32/5164_2.png) [@rmscode](https://dietpi.com/forum/u/rmscode)\
**Post date:** [22 December 2025 20:53 UTC](https://dietpi.com/forum/t/xorg-0-log-has-blown-up-to-24g/24812/1 "2025-12-22T20:53:52Z")

</div>

#### Some info about my Pi

- DietPi `9.20`
- Distro version `Debian Trixie`
- Kernel version `Linux A3ProdEngTV 6.12.47+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16) aarch64 GNU/Linux`
- Architecture `arm64`
- SBC model `RPi5`
- Power supply used `stock RPi`
- SD card used `Samsung EVO`

I recently tried running updates on one of my RPi 5’s and I was told that there was 0 available space on /dev/root. I deleted a dietpi back up to free up enough space to run dietpi-update. Anyway, this is what I found:

```shell
~$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/root ext4 29G 27G 828M 98% /
devtmpfs devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs tmpfs 810M 52M 758M 7% /run
tmpfs tmpfs 5.0M 48K 5.0M 1% /run/lock
tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service
tmpfs tmpfs 50M 352K 50M 1% /var/log
tmpfs tmpfs 2.0G 11M 2.0G 1% /tmp
/dev/mmcblk0p1 vfat 127M 34M 94M 27% /boot/firmware
tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/getty@tty1.service
tmpfs tmpfs 405M 80K 405M 1% /run/user/0
tmpfs tmpfs 405M 48K 405M 1% /run/user/1000
~$
~$
~$ sudo du -h --max-depth=1 / | sort -h
du: cannot access '/proc/170175/task/170175/fd/3': No such file or directory
du: cannot access '/proc/170175/task/170175/fdinfo/3': No such file or directory
du: cannot access '/proc/170175/fd/4': No such file or directory
du: cannot access '/proc/170175/fdinfo/4': No such file or directory
0 /dev
0 /proc
0 /sys
4.0K /media
4.0K /opt
4.0K /srv
16K /lost+found
32K /tmp
44K /mnt
4.1M /etc
41M /var
45M /boot
52M /run
446M /home
1.7G /usr
24G /root
27G /
~$
~$
~$ sudo du -xhd1 /root | sort -h
4.0K /root/Desktop
8.0K /root/.ssh
20K /root/.local
76K /root/.pki
200M /root/.config
340M /root/.cache
24G /root
24G /root/logfile_storage
~$
~$
~$ ls -lh
total 24G
drwxr-xr-x 2 root root 4.0K Dec 10 11:17 apt
-rw-r--r-- 1 root root 8.0K Dec 10 11:17 dpkg.log
-rw-r--r-- 1 root root 1.7M Dec 22 12:17 lastlog
-rw-r--r-- 1 root root 13K Dec 22 12:17 wtmp
-rw-r--r-- 1 root root 24G Dec 22 13:17 Xorg.0.log # hello there...

```

After inspecting the Xorg log, I found the following lines being repeated over and over again:

```ini
[20.012] (II) modeset(0): EDID vendor "XXX", prod id 0
[20.012] (II) modeset(0): Using EDID range info for horizontal sync
[20.012] (II) modeset(0): Using EDID range info for vertical refresh
[20.012] (II) modeset(0): Printing DDC gathered Modelines:
[20.012] (II) modeset(0): Modeline "1920x1080"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[20.012] (II) modeset(0): Modeline "1280x720"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz e)
[20.012] (II) modeset(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[20.012] (II) modeset(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
[20.012] (II) modeset(0): Modeline "1920x1080"x0.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[20.012] (II) modeset(0): Modeline "1920x1080i"x0.0 74.25 1920 2448 2492 2640 1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[20.012] (II) modeset(0): Modeline "1920x1080i"x0.0 74.25 1920 2008 2052 2200 1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[20.012] (II) modeset(0): Modeline "1920x1080"x0.0 74.25 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[20.012] (II) modeset(0): Modeline "1920x1080"x0.0 74.25 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (33.8 kHz e)
[20.012] (II) modeset(0): Modeline "1280x720"x0.0 59.40 1280 3040 3080 3300 720 725 730 750 +hsync +vsync (18.0 kHz e)
[20.012] (II) modeset(0): Modeline "1280x720"x0.0 74.25 1280 3040 3080 3300 720 725 730 750 +hsync +vsync (22.5 kHz e)
[20.012] (II) modeset(0): Modeline "720x576"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz e)
[20.012] (II) modeset(0): Modeline "1440x576i"x0.0 27.00 1440 1464 1590 1728 576 580 586 625 interlace -hsync -vsync (15.6 kHz e)
[20.012] (II) modeset(0): Modeline "1440x480i"x0.0 27.00 1440 1478 1602 1716 480 488 494 525 interlace -hsync -vsync (15.7 kHz e)
[20.012] (II) modeset(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
[20.012] (II) modeset(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[20.012] (II) modeset(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[20.013] (--) modeset(0): HDMI max TMDS frequency 300000KHz

```

I’ve reached the end of what I can troubleshoot on my own, but ChatGPT suggests that it may be “display disconnect/flaky EDID”, “autostart script respawning X blindly”, “wrong resolution forced”. The only thing that makes this deployment different than my others, is that I had to modify the chromium autostart script to get 4K working. Despite supporting 4K, the TV that this Pi is connected to advertises 1080P as its preferred mode. The Pi always wanted to respect the preferred mode (1080) and the only way I found to convince the Pi to persistently output 4K was by modifying the autostart script. See below:

```shell
...

#exec "$STARTX" "$FP_CHROMIUM" $CHROMIUM_OPTS "${URL:-https://site.com/}" -- -nocursor

exec "$STARTX" /bin/bash -c "xrandr --output HDMI-1 --mode 3840x2160;
exec $FP_CHROMIUM $CHROMIUM_OPTS '${URL:-https://site.com/}'" -- -nocursor

```

Your thoughts would be much appreciated 🙂

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [23 December 2025 15:43 UTC](https://dietpi.com/forum/t/xorg-0-log-has-blown-up-to-24g/24812/2 "2025-12-23T15:43:40Z")

</div>

You can actually set the resolution for the Chromium kiosk mode in `/boot/dietpi.txt`. Or did that not work as expected? It is the window size, so maybe one just sees part of the window then.

Does 4k work stable when changing the Linux console to that resolution via `dietpi-display` (without Chromium, just the console I mean)? That might make `xrandr` obsolete as well, but not sure about the underlying reason of the EDID modes detection loop.

---

<div class="post-metadata">

**Author:** ![rmscode](https://dietpi.com/forum/user_avatar/dietpi.com/rmscode/32/5164_2.png) [@rmscode](https://dietpi.com/forum/u/rmscode)\
**Post date:** [23 December 2025 16:34 UTC](https://dietpi.com/forum/t/xorg-0-log-has-blown-up-to-24g/24812/3 "2025-12-23T16:34:41Z")

</div>

I’m aware, and no that didn’t work. As you guessed, only part of the window was showing. The window size was 3840x2160 as it was set to be in `dietpi.txt`, but the Pi was still outputting 1920x1080 until I made the above change to the chromium autostart script. I just chalked that up to this cheap TV being weird.

As for the console resolution, I think it looks correct. I only ever catch a glimpse of the console on this TV when I’m there to physically power cycle the Pi. I’ve never actually had the console up on this TV as I configured the device in my office for kiosk mode and then stuck it behind the TV … SSH from there.

Anyway, `dietpi-display` modifies `/boot/cmdline.txt` right (adds `video=...`) ? I can’t recall if I manually added the resolution there or used `dietpi-display`, ~~but I do think I just resolved the issue by removing that from `/boot/cmdline.txt`.~~

~~1. Removed `video=HDMI-A-1:3840x2160` from `cmdline.txt`.  
2. Cleared the log  
3. Rebooted the device  
4. Waited about 2 hours and checked the log (Probably obvious by now, but I use RAMlog 2)~~

~~Happy to report that those EDID modes are no longer being spammed to `Xorg.0.log` … Just the typical messages when the X server starts and then the advertised/detected modelines, _once_.~~

## _Disregard_

Of course I go to check one last time after posting, nearly 3 hours after rebooting, and the log is filling up again. I did find [this](https://forums.raspberrypi.com/viewtopic.php?t=376656)…maybe thats my issue.

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [23 December 2025 16:43 UTC](https://dietpi.com/forum/t/xorg-0-log-has-blown-up-to-24g/24812/4 "2025-12-23T16:43:22Z")

</div>

So removing the console mode from `cmdline.txt` solved it? I would have guessed the other way round. But looks like X11 uses an own resolution and seems to have some issue switching from 4k console mode, weird.

In any case, it looks like we need to implement the xrandr or some xorg.conf based resolution for Chromium kiosk mode then, if it does not just keep the console mode.

EDIT: Ignore as of your edit 😄.

---

<div class="post-metadata">

**Author:** ![rmscode](https://dietpi.com/forum/user_avatar/dietpi.com/rmscode/32/5164_2.png) [@rmscode](https://dietpi.com/forum/u/rmscode)\
**Post date:** [23 December 2025 16:43 UTC](https://dietpi.com/forum/t/xorg-0-log-has-blown-up-to-24g/24812/5 "2025-12-23T16:43:52Z")

</div>

See my update above … 😮‍💨

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [23 December 2025 16:46 UTC](https://dietpi.com/forum/t/xorg-0-log-has-blown-up-to-24g/24812/6 "2025-12-23T16:46:38Z")

</div>

Does `vc4.force_hotplug=1` help as well in your case?

---

<div class="post-metadata">

**Author:** ![rmscode](https://dietpi.com/forum/user_avatar/dietpi.com/rmscode/32/5164_2.png) [@rmscode](https://dietpi.com/forum/u/rmscode)\
**Post date:** [23 December 2025 17:00 UTC](https://dietpi.com/forum/t/xorg-0-log-has-blown-up-to-24g/24812/7 "2025-12-23T17:00:00Z")

</div>

Have not tried yet, but I will report back a little later. The plan:

1. Add `vc4.force_hotplug=1` to cmdline.txt.
2. Clear the log.
3. Reboot.
4. Check results after some time.

---

<div class="post-metadata">

**Author:** ![rmscode](https://dietpi.com/forum/user_avatar/dietpi.com/rmscode/32/5164_2.png) [@rmscode](https://dietpi.com/forum/u/rmscode)\
**Post date:** [23 December 2025 20:06 UTC](https://dietpi.com/forum/t/xorg-0-log-has-blown-up-to-24g/24812/8 "2025-12-23T20:06:14Z")

</div>

It’s been 3 hours since the above changes were made, and everything seems okay. Nothing unusual in the log. 🤞

Edit: Its the next day and everything is still fine. Avoid buying the TCL 55Q650F TV.

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [28 December 2025 14:31 UTC](https://dietpi.com/forum/t/xorg-0-log-has-blown-up-to-24g/24812/9 "2025-12-28T14:31:11Z")

</div>

Great. There was some force-hotplug `config.txt` option, but AFAIK that does not work with KMS/DRM. So that `cmdline.txt`/kernel option seems to be the replacement. Might be worth to implement as `dietpi-config` option.

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [28 March 2026 14:31 UTC](https://dietpi.com/forum/t/xorg-0-log-has-blown-up-to-24g/24812/10 "2026-03-28T14:31:34Z")

</div>

Closed on 28 March 2026 14:31 UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
