Hi,
My PC is about 15 years old, I am using it once in a while as a replacement for my laptop with Debian 12 on it, in case my laptop cannot be used.
My PC contains a cheap graphics card, an AMD Radeon HD 4350/4550 card (as specified in the output of the command inxi -G on this machine). This graphic card causes problems in Lubuntu 22.04.3. But it did not cause problems in Lubuntu 20.04.
Here is some information about this graphic card:
[sudo] Passwort für xxx:
*-display
description: VGA compatible controller
product: RV710 [Radeon HD 4350/4550]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:01:00.0
logical name: /dev/fb0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=radeon latency=0 resolution=1920,1080
resources: irq:25 memory:d0000000-dfffffff memory:fdee0000-fdeeffff ioport:ee00(size=256) memory:c0000-dffff
xxx@yyy:~$
The upgrade process on my PC from Lubuntu 20.04 to 22.04.03 went wrong: after the upgrade the PC created a kernel panic message at every boot. The reason for this could have been a missing dedicated partition with a BIOS-boot flag in the partition table.
Anyway, I decided to completely apply a new installation of Lubuntu 22.04.3 today, adding a partition with the BIOS-boot flag to my machine. Having completed the installation, I downloaded some extra packages for Lubuntu, and I noticed the following behavior before and after my logins into the GUI of Lubuntu 22-04.03:
The screen resolution of the GUI was frequently changing, from 640x480 to 1024*768 ato 1920x1080 pixel (not always in this order) and back. My smart-TV showed me the respective screen resolution on its screen.
Each time the screen changed its resolution, it turned black for some seconds. After that, the Lubuntu GUI was shown again.
I of course checked the screen settings in the Control Settings or how it is called (I am currently writing this text on my laptop), but it either showed 1024x768 or 1920x1080 pixel as the screen resolution.
So I did some research about my graphics card on the Internet and found among other tings that my graphics card does not work in Ubuntu 22.04:
https://linux-hardware.org/?id=pci:1002-954f-1682-2920
But I also found some helpful information in the following thread here in this forum:
So I applied the steps claypooj21 mentioned in that thread on June 3rd 2021, adapted to my situation, i. e. to my graphic card and display name, and thus I created a /etc/X11/xorg.conf.d/10-monitor.conf
file with the command “sudo touch ” and inserted into this file Xorg specific information (commands) for the radeon driver how to deal with my graphics card.
After a reboot I noticed, having logged into Lubuntu 22.04.03, that the screen resolution did not change anymore, it always stayed on 1920x1080 pixel, as specified in the /etc/X11/xorg.conf.d/10-monitor.conf
file which I had created.
But the screen still turns dark after a while, and then after a while back to the Lubuntu GUI. And this in a loop.
I tried to find something out about the reasons for this behavior on my machine:
xxx@yyy:~$ dmesg | egrep 'drm|radeon'
dmesg: Lesen des Kernelpuffers ist fehlgeschlagen: Vorgang nicht zulässig
xxx@yyy:~$
Which means in English: “Reading the kernel buffer has failed: Procedure not permitted”
xxx@yyy:/var/log$ less Xorg.0.log | grep EE
[ 36.416] Current Operating System: Linux yyy 6.2.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 13 16:27:29 UTC 2 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 41.422] (II) Initializing extension MIT-SCREEN-SAVER
xxx@yyy:/var/log$
xxx@yyy:/var/log$ less Xorg.0.log | grep -i drm
[ 36.700] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 36.700] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/drm/card0
[ 40.229] (II) RADEON(0): glamor X acceleration enabled on AMD RV710 (DRM 2.50.0 / 6.2.0-26-generic, LLVM 15.0.7)
xxx@yyy:/var/log
My question is:
Is there any Xorg command that can be used within the /etc/X11/xorg.conf.d/10-monitor.conf
file which would prevent my screen from turning black and back to the GUI all the time? If yes, which parameters should that command get?
Regards,
Mustard