X configuration problems prevent Trisyuel to wake up Monitor

4 respostas [Última entrada]
gnuTqPpantr
Desconectado
Joined: 12/22/2020

1. How does my "Xorg/suspend" problem on Trisquel manifests itself?

1.1

When I the CPU (computer) exits the suspend state it fails to turn on the monitor. After searching the Internet for posts describing similar problems, some suggested the problem might be in some settings in GRUB. As suggested, I tweaked the line GRUB_CMDLINE_LINUX="" as shown undeer 1.1.1, and 1.1.2 by doing the following:

        $> sudo vi /etc/default/grub
        #> sudo uodate-grub

1.1.1

 GRUB_CMDLINE_LINUX="" ---> GRUB_CMDLINE_LINUX="nouveau.modest=0"

Ran sudo uodate-grub and tested if waking up the computer from suspend also wakes up the display monitor.

It does not!

Changing this line to

1.1.2

      GRUB_CMDLINE_LINUX="" ---> GRUB_CMDLINE_LINUX="amdgpu.modest=0

Also does not have any effect!

1.2

Next, I checked xrandr output which consistently, always, displayed the same output. In particular I could never really got rid of the following xrandr: Failed to get size of gamma for output default message:

    $> xrandr
    xrandr: Failed to get size of gamma for output default
    Screen 0: minimum 1600 x 1200, current 1600 x 1200,     \\s\
        maximum 1600 x 1200
    default connected primary 1600x1200+0+0 0mm x 0mm
       1600x1200     77.00* 
    uID@cKt:~/wk/wX
    $> 

1.3

Changing --gamma value to 1.0 seems to fail with the resulting gamma value 0, as shown here:

        $> xrandr --output default --gamma 1.0:1.0:1.0
        xrandr: Gamma size is 0.

1.4

I could never get System -> Preferences -> Hardware -> Display to reflect any changes I make by running xrandr's --newmode, --addmode, though a subsequent query by running xrandr without any arguments (see 1.4.4) does show the new added mode:

1.4.1

        $> gtf 1920 1200 59.95
        # 1920x1200 @ 59.95 Hz (GTF) hsync: 74.46 kHz; pclk: 192.99 MHz
        Modeline "1920x1200_59.95"                                  \\s\
                       192.99   1920 2048 2256 2592                 \\s\
                                1200 1201 1204 1242  -HSync +Vsync

1.4.2

        $> xrandr --newmode "1920x1200_60.00"                       \\s\
                       193.25   1920 2056 2256 2592                 \\s\
                                1200 1203 1209 1245  -hsync +vsync

1.4.3

        $> xrandr --addmode VGA1 1920x1200_60.00

1.4.4

        $> xrandr
        xrandr: Failed to get size of gamma for output default
        Screen 0: minimum 1600 x 1200,                              \\s\
                       current 1600 x 1200,  maximum 1600 x 1200
        default connected primary 1600x1200+0+0 0mm x 0mm
         1600x1200     77.00* 
         1920x1200_60.00 (0x2bf) 193.250MHz -HSync +VSync
         h: width  1920 start 2056 end 2256 total 2592 skew 0 clock 74.56KHz
         v: height 1200 start 1203 end 1209 total 1245        clock 59.88Hz
        igor@cenko-t:~
        $> 

None of the above has no effect, whatsoever, on the waking up of the display monitor when the computer wakes up from the suspend state.

1.5

I created ~/.xprofile and added the following to it:

    xrandr --output default --gamma 1.0:1.0:1.0
    xrandr --newmode "1920x1200_60.00" 193.25                   \\s\
                            1920 2056 2256 2592                 \\s\
                            1200 1203 1209 1245  -hsync +vsync

This ~/.xprofile also had no effect on SUSPEND problem, and Display app from the main Trisquel menu also did mot show the newly added mode!

1.6

Conclusion of manual settings using {{ xrandr )) command

In all of the above attempts, in many different combinations, when selecting System -> Preferences -> Hardware -> Display I was never able to get whichever resolution I managed to set by running xrandr commands. Also note that --gamma setting finally always failed and had an erroneous value 0.

But most importantly, I was never able to wake up my screen when
waking up the computer from the suspend state!

2. Falling back to xorg.conf configuration file

Finally, I wanted to test if falling back to xorg.conf configuration file could be the solution. Unfortunately, I was not able to demonstrate that. Indeed, I am also adding here both, my xorg.conf as well as /var/log/Xorg.0.log files, for anyone to look at, and perhaps point out to a source of all the problems that would hopefully also reveal a simple solution.

2.1

I created a new xorg.conf file (which you can see under (2.2), and copied it in its palace as shown in the folowing code segment:

    $> sudo cp /etc/X11/xorg.conf   /etc/X11/xorg.conf.$(date +%y%m%d-%H%M)
    $> sudo cp xorg.conf-NN         /etc/X11/xorg.conf

2.2

Following is my xorg.conf file:

Section "ServerLayout"
    Identifier      "X.org Configured (ig: FAKE-News)"
    Screen          0   "Screen0"   0 0
##    InputDevice     "Mouse0"        "CorePointer"
##    InputDevice     "Keyboard0"     "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/X11/misc"
    FontPath     "/usr/share/fonts/X11/Type1"
    FontPath     "built-ins"
EndSection

# -- ig: Xorg.0.log indicates loading "glx" here is redundant since
#+       it looks is done by default.
## Section "Module"
##    Load  "glx"
## EndSection

# -- I removed "InputDevice" Sections defining "kbd" and "mouse" 
#+   drivers, as it appears they have no effect whatsoever on xorg's
#+   devices initialization. 


# -- My Graphic board on Trisquel is a Radeon Clone card:
#+   ----------------------------------------------------
#+      uID@cKt:~
#+      $> sudo lspci |grep -y VGA
#+      01:00.0 VGA compatible controller:              \\s\
#+              Advanced Micro Devices, Inc. [AMD/ATI]  \\s\
#+              RV710 [Radeon HD 4350/4550]
#+      $> 
#+
#+   The initial string (01:00.0) from the output of the above 
#+   {{ #> lspci | grep VGA }} command {{ 01:00.0 VGA compatible 
#+   controller: ... }} reveals the BusID. However, I changed
#+   this entry format from {{ 01:00.0 }} to {{ 1:0:0 }} creating
#+   {{ Devices }} entry {{ BusID "PCI:1:0:0" }}.
#+
#+	       01:00.0     --->    BusID  "PCI:1:0:0"
#+
#+ -- In my final test I also removed the {{ radeon }} driver, since the
#+    Xorg.0.log consistently reports {{ (II) UnloadModule: "radeon" }}.

Section "Device"

    Identifier      "ig-graphicCard-AUTO"
##    Identifier      "AMD Inc. RV710 [Radeon HD 4350/4550]"
##    Driver          "radeon"
    BusID           "PCI:1:0:0"

    Option          "monitor-VGA"    "Monitor0"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "I-INC_Monitors"
    ModelName    "iINC-27in-Monitor"
    ModeLine     "1920x1200_60.00"  193.25  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync
EndSection

2.3

Finaly, this is my /var/log/Xorg.0.log file:

NOTE: for readability I am using \\j\ and \\s\ markings where the former (\\j\) means that lines ate joined together without any kind of whitespace between the two lines separated by (j=join) marking, and the latter (\\s\) means that there is at least a single space between the two parts (lines) separated by this (s=space).


# -- /var/log/Xorg.0.log
#+   -------------------
[    28.313] 
X.Org X Server 1.19.6
Release Date: 2017-12-20
[    28.313] X Protocol Version 11, Revision 0
[    28.313] Build Operating System: Linux 4.15.0-124-generic       \\s\
        x86_64 Ubuntu
[    28.313] Current Operating System: Linux cenko-t                \\s\
        4.15.0-128-generic #131+9.0trisquel7 SMP                    \\s\
            at Dec 12 09:22:15 UTC 2020 x86_64
[    28.313] Kernel command line:                                   \\s\
            BOOT_IMAGE=/vmlinuz-4.15.0-128-generic                  \\s\
            root=UUID=45eabcf8-2b25-45a6-b709-07b699bbda05 ro       \\s\
            amdgpu.modest=0 quiet splash vt.handoff=1
[    28.313] Build Date: 30 November 2020  08:01:56PM
[    28.313] xorg-server 2:1.19.6-1ubuntu4.8 (For technical         \\s\
        support please see http://www.ubuntu.com/support) 
[    28.314] Current version of pixman: 0.34.0
[    28.314] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    28.314] Markers: (--) probed, (**) from config file,           \\s\
                (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    28.314] (==) Log file: "/var/log/Xorg.0.log",                  \\s\
                Time: Wed Jan  6 22:04:51 2021
[    28.333] (==) Using config file: "/etc/X11/xorg.conf"
[    28.333] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    28.358] (==) ServerLayout "X.org Configured (ig: FAKE-News)"
[    28.358] (**) |-->Screen "Screen0" (0)
[    28.358] (**) |   |-->Monitor "Monitor0"
[    28.372] (**) |   |-->Device "ig-graphicCard-AUTO"
[    28.372] (==) Automatically adding devices
[    28.372] (==) Automatically enabling devices
[    28.372] (==) Automatically adding GPU devices
[    28.372] (==) Automatically binding GPU devices
[    28.372] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    28.381] (WW) The directory "/usr/share/fonts/X11/cyrillic"     \\s\
                does not exist.
[    28.381] 	Entry deleted from font path.
[    28.381] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    28.381] 	Entry deleted from font path.
[    28.381] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    28.381] 	Entry deleted from font path.
[    28.381] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    28.381] 	Entry deleted from font path.
[    28.381] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    28.381] 	Entry deleted from font path.
[    28.381] (**) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins,
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[    28.381] (**) ModulePath set to "/usr/lib/xorg/modules"
[    28.381] (II) The server relies on udev to provide the list     \\s\
                of input devices.
	If no devices become available, reconfigure udev or             \\s\
                disable AutoAddDevices.
[    28.381] (II) Loader magic: 0x564df03e0020
[    28.381] (II) Module ABI versions:
[    28.381] 	X.Org ANSI C Emulation: 0.4
[    28.381] 	X.Org Video Driver: 23.0
[    28.381] 	X.Org XInput driver : 24.1
[    28.381] 	X.Org Server Extension : 10.0
[    28.382] (++) using VT number 7

[    28.382] (II) systemd-logind: logind integration requires       \\s\
        -keeptty and -keeptty was not provided, disabling logind integration
[    28.389] (--) PCI:*(0:1:0:0) 1002:954f:1462:1618 rev 0, Mem @   \\s\
        0xd0000000/268435456, 0xfeaf0000/65536, I/O @               \\s\
        0x0000d000/256, BIOS @ 0x????????/131072
[    28.389] (II) LoadModule: "glx"
[    28.397] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    28.541] (II) Module glx: vendor="X.Org Foundation"
[    28.541] 	compiled for 1.19.6, module version = 1.0.0
[    28.541] 	ABI class: X.Org Server Extension, version 10.0
[    28.541] (==) Matched ati as autoconfigured driver 0
[    28.541] (==) Matched modesetting as autoconfigured driver 1
[    28.541] (==) Matched fbdev as autoconfigured driver 2
[    28.541] (==) Matched vesa as autoconfigured driver 3
[    28.541] (==) Assigned the driver to the xf86ConfigLayout
[    28.541] (II) LoadModule: "ati"
[    28.541] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[    28.550] (II) Module ati: vendor="X.Org Foundation"
[    28.550] 	compiled for 1.19.6, module version = 18.0.1
[    28.550] 	Module class: X.Org Video Driver
[    28.550] 	ABI class: X.Org Video Driver, version 23.0
[    28.614] (II) LoadModule: "radeon"
[    28.614] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[    28.631] (II) Module radeon: vendor="X.Org Foundation"
[    28.631] 	compiled for 1.19.6, module version = 18.0.1
[    28.631] 	Module class: X.Org Video Driver
[    28.631] 	ABI class: X.Org Video Driver, version 23.0
[    28.631] (II) LoadModule: "modesetting"
[    28.632] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    28.632] (II) Module modesetting: vendor="X.Org Foundation"
[    28.633] 	compiled for 1.19.6, module version = 1.19.6
[    28.633] 	Module class: X.Org Video Driver
[    28.633] 	ABI class: X.Org Video Driver, version 23.0
[    28.633] (II) LoadModule: "fbdev"
[    28.633] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    28.637] (II) Module fbdev: vendor="X.Org Foundation"
[    28.637] 	compiled for 1.19.3, module version = 0.4.4
[    28.637] 	Module class: X.Org Video Driver
[    28.637] 	ABI class: X.Org Video Driver, version 23.0
[    28.637] (II) LoadModule: "vesa"
[    28.637] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    28.642] (II) Module vesa: vendor="X.Org Foundation"
[    28.642] 	compiled for 1.19.3, module version = 2.3.4
[    28.642] 	Module class: X.Org Video Driver
[    28.642] 	ABI class: X.Org Video Driver, version 23.0
[    28.642] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
	ATI Radeon Mobility X600 (M24), ATI FireMV 2400,
                    o o o
	ATI Radeon HD 4550, ATI Radeon RV710, ATI Radeon HD 4350,
                    o o o
	AMD Radeon HD 6800 Series, AMD Radeon HD 6700 Series, TURKS, CAICOS,
	ARUBA, TAHITI, PITCAIRN, VERDE, OLAND, HAINAN, BONAIRE, KABINI,
	MULLINS, KAVERI, HAWAII
[    28.648] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    28.648] (II) FBDEV: driver for framebuffer: fbdev
[    28.648] (II) VESA: driver for VESA chipsets: vesa
[    28.683] (II) [KMS] drm report modesetting isn't supported.
[    28.683] (EE) open /dev/dri/card0: No such file or directory
[    28.683] (WW) Falling back to old probe method for modesetting
[    28.683] (EE) open /dev/dri/card0: No such file or directory
[    28.683] (II) Loading sub module "fbdevhw"
[    28.683] (II) LoadModule: "fbdevhw"
[    28.683] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    28.695] (II) Module fbdevhw: vendor="X.Org Foundation"
[    28.695] 	compiled for 1.19.6, module version = 0.0.2
[    28.695] 	ABI class: X.Org Video Driver, version 23.0
[    28.695] (**) FBDEV(2): claimed PCI slot 1@0:0:0
[    28.695] (II) FBDEV(2): using default device
[    28.695] (WW) Falling back to old probe method for vesa
[    28.695] (EE) Screen 0 deleted because of no matching config section.
[    28.695] (II) UnloadModule: "radeon"
[    28.695] (EE) Screen 0 deleted because of no matching config section.
[    28.695] (II) UnloadModule: "modesetting"
[    28.696] (**) FBDEV(0): Depth 24, (--) framebuffer bpp 32
[    28.696] (==) FBDEV(0): RGB weight 888
[    28.696] (==) FBDEV(0): Default visual is TrueColor
[    28.696] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    28.696] (II) FBDEV(0): hardware: VESA VGA (video memory: 7552kB)
[    28.696] (II) FBDEV(0): checking modes against framebuffer device...
[    28.696] (II) FBDEV(0): 	mode "1920x1200" test failed
[    28.696] (II) FBDEV(0): 	mode "1920x1200" test failed
[    28.696] (II) FBDEV(0): 	mode "1920x1200" test failed
[    28.696] (II) FBDEV(0): 	mode "1920x1200" not found
[    28.696] (II) FBDEV(0): 	mode "1024x768" test failed
[    28.696] (II) FBDEV(0): 	mode "1024x768" test failed
[    28.696] (II) FBDEV(0): 	mode "1024x768" test failed
[    28.696] (II) FBDEV(0): 	mode "1024x768" test failed
[    28.696] (II) FBDEV(0): 	mode "1024x768" test failed
[    28.696] (II) FBDEV(0): 	mode "1024x768" test failed
[    28.696] (II) FBDEV(0): 	mode "1024x768" test failed
[    28.696] (II) FBDEV(0): 	mode "1024x768" not found
[    28.696] (II) FBDEV(0): 	mode "640x480" test failed
[    28.696] (II) FBDEV(0): 	mode "640x480" test failed
[    28.696] (II) FBDEV(0): 	mode "640x480" test failed
[    28.696] (II) FBDEV(0): 	mode "640x480" test failed
[    28.696] (II) FBDEV(0): 	mode "640x480" test failed
[    28.696] (II) FBDEV(0): 	mode "640x480" test failed
[    28.696] (II) FBDEV(0): 	mode "640x480" not found
[    28.696] (II) FBDEV(0): checking modes against monitor...
[    28.696] (--) FBDEV(0): Virtual size is 1600x1200 (pitch 1600)
[    28.696] (**) FBDEV(0):  Built-in mode "current": 192.0 MHz,    \\s\
                94.5 kHz, 77.2 Hz
[    28.696] (II) FBDEV(0): Modeline "current"x0.0  192.01          \\s\
        1600 1632 1832 2032  1200 1204 1208 1224                    \\s\
                -hsync -vsync -csync (94.5 kHz b)
[    28.696] (==) FBDEV(0): DPI set to (96, 96)
[    28.696] (II) Loading sub module "fb"
[    28.696] (II) LoadModule: "fb"
[    28.696] (II) Loading /usr/lib/xorg/modules/libfb.so
[    28.707] (II) Module fb: vendor="X.Org Foundation"
[    28.707] 	compiled for 1.19.6, module version = 1.0.0
[    28.707] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    28.707] (**) FBDEV(0): using shadow framebuffer
[    28.707] (II) Loading sub module "shadow"
[    28.707] (II) LoadModule: "shadow"
[    28.707] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    28.708] (II) Module shadow: vendor="X.Org Foundation"
[    28.708] 	compiled for 1.19.6, module version = 1.1.0
[    28.708] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    28.708] (II) UnloadModule: "vesa"
[    28.708] (II) Unloading vesa
[    28.708] (==) Depth 24 pixmap format is 32 bpp
[    28.708] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen     \\s\
                blanking not supported by kernel - disabling)
[    28.718] (==) FBDEV(0): Backing store enabled
[    28.719] (==) FBDEV(0): DPMS enabled
[    28.719] (==) RandR enabled
[    28.727] (II) SELinux: Disabled on system
[    28.728] (II) AIGLX: Screen 0 is not DRI2 capable
[    28.728] (EE) AIGLX: reverting to software rendering
[    29.583] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[    29.586] (II) IGLX: Loaded and initialized swrast
[    29.586] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    29.780] (II) config/udev: Adding input device Power Button     \\s\
                /dev/input/event1)
[    29.781] (**) Power Button: Applying InputClass                 \\s\
                "libinput keyboard catchall"
[    29.781] (II) LoadModule: "libinput"
[    29.781] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    29.844] (II) Module libinput: vendor="X.Org Foundation"
[    29.844] 	compiled for 1.19.6, module version = 0.27.1
[    29.844] 	Module class: X.Org XInput Driver
[    29.844] 	ABI class: X.Org XInput driver, version 24.1
[    29.844] (II) Using input driver 'libinput' for 'Power Button'
[    29.844] (**) Power Button: always reports core events
[    29.844] (**) Option "Device" "/dev/input/event1"
[    29.846] (**) Option "_source" "server/udev"
[    29.847] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    29.847] (II) event1  - Power Button: device is a keyboard
[    29.847] (II) event1  - Power Button: device removed
[    29.860] (**) Option "config_info" "udev:/sys/devices/          \\j\
                LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[    29.860] (II) XINPUT: Adding extended input device              \\s\
                "Power Button" (type: KEYBOARD, id 6)
[    29.860] (**) Option "xkb_model" "pc105"
[    29.860] (**) Option "xkb_layout" "us"
[    29.861] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    29.861] (II) event1  - Power Button: device is a keyboard
[    29.862] (II) config/udev: Adding input device Power Button     \\s\
                (/dev/input/event0)
[    29.862] (**) Power Button: Applying InputClass                 \\s\
                "libinput keyboard catchall"
[    29.862] (II) Using input driver 'libinput' for 'Power Button'
[    29.862] (**) Power Button: always reports core events
[    29.862] (**) Option "Device" "/dev/input/event0"
[    29.862] (**) Option "_source" "server/udev"
[    29.863] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    29.863] (II) event0  - Power Button: device is a keyboard
[    29.863] (II) event0  - Power Button: device removed
[    29.876] (**) Option "config_info" "udev:/sys/devices/          \\j\
                LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[    29.876] (II) XINPUT: Adding extended input device              \\s\
                "Power Button" (type: KEYBOARD, id 7)
[    29.876] (**) Option "xkb_model" "pc105"
[    29.876] (**) Option "xkb_layout" "us"
[    29.877] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    29.877] (II) event0  - Power Button: device is a keyboard
[    29.878] (II) config/udev: Adding input device HDA ATI HDMI     \\s\
                HDMI/DP,pcm=3 (/dev/input/event8)
[    29.878] (II) No input driver specified, ignoring this device.
[    29.878] (II) This device may have been added with another device file.
[    29.879] (II) config/udev: Adding input device HID 04f3:0103    \\s\
                (/dev/input/event2)
[    29.879] (**) HID 04f3:0103: Applying InputClass                \\s\
                "libinput keyboard catchall"
[    29.879] (II) Using input driver 'libinput' for 'HID 04f3:0103'
[    29.879] (**) HID 04f3:0103: always reports core events
[    29.880] (**) Option "Device" "/dev/input/event2"
[    29.880] (**) Option "_source" "server/udev"
[    29.880] (II) event2  - HID 04f3:0103: is tagged by udev as: Keyboard
[    29.880] (II) event2  - HID 04f3:0103: device is a keyboard
[    29.880] (II) event2  - HID 04f3:0103: device removed
[    29.904] (**) Option "config_info"                              \\s\
                "udev:/sys/devices/pci0000:00/0000:00:12.0/usb3/    \\j\
                3-3/3-3:1.0/0003:04F3:0103.0001/input/input5/event2"
[    29.904] (II) XINPUT: Adding extended input device              \\s\
                "HID 04f3:0103" (type: KEYBOARD, id 8)
[    29.904] (**) Option "xkb_model" "pc105"
[    29.904] (**) Option "xkb_layout" "us"
[    29.905] (II) event2  - HID 04f3:0103: is tagged by udev as: Keyboard
[    29.905] (II) event2  - HID 04f3:0103: device is a keyboard
[    29.907] (II) config/udev: Adding input device HID 04f3:0103    \\s\
                (/dev/input/event3)
[    29.907] (**) HID 04f3:0103: Applying InputClass                \\s\
                "libinput keyboard catchall"
[    29.907] (II) Using input driver 'libinput' for 'HID 04f3:0103'
[    29.907] (**) HID 04f3:0103: always reports core events
[    29.907] (**) Option "Device" "/dev/input/event3"
[    29.907] (**) Option "_source" "server/udev"
[    29.908] (II) event3  - HID 04f3:0103: is tagged by udev as: Keyboard
[    29.908] (II) event3  - HID 04f3:0103: device is a keyboard
[    29.908] (II) event3  - HID 04f3:0103: device removed
[    29.928] (II) libinput: HID 04f3:0103: needs a virtual subdevice
[    29.928] (**) Option "config_info"                              \\s\
                "udev:/sys/devices/pci0000:00/0000:00:12.0/usb3/    \\j\
                3-3/3-3:1.1/0003:04F3:0103.0002/input/input6/event3"
[    29.928] (II) XINPUT: Adding extended input device              \\s\
                "HID 04f3:0103" (type: MOUSE, id 9)
[    29.928] (**) Option "AccelerationScheme" "none"
[    29.928] (**) HID 04f3:0103: (accel) selected scheme none/0
[    29.928] (**) HID 04f3:0103: (accel) acceleration factor: 2.000
[    29.928] (**) HID 04f3:0103: (accel) acceleration threshold: 4
[    29.930] (II) event3  - HID 04f3:0103: is tagged by udev as: Keyboard
[    29.930] (II) event3  - HID 04f3:0103: device is a keyboard
[    29.932] (II) config/udev: Adding input device Apple,           \\s\
                Inc Apple Keyboard (/dev/input/event5)
[    29.932] (**) Apple, Inc Apple Keyboard: Applying InputClass    \\s\
                "libinput keyboard catchall"
[    29.932] (II) Using input driver 'libinput' for                 \\s\
                'Apple, Inc Apple Keyboard'
[    29.932] (**) Apple, Inc Apple Keyboard: always reports core events
[    29.932] (**) Option "Device" "/dev/input/event5"
[    29.932] (**) Option "_source" "server/udev"
[    29.933] (II) event5  - Apple, Inc Apple Keyboard:              \\s\
                is tagged by udev as: Keyboard
[    29.933] (II) event5  - Apple, Inc Apple Keyboard: device is a keyboard
[    29.933] (II) event5  - Apple, Inc Apple Keyboard: device removed
[    29.960] (**) Option "config_info"                              \\s\
                "udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/    \\j\
                1-2/1-2.1/1-2.1.2/1-2.1.2:1.0/0003:05AC:0220.0004/  \\j\
                input/input8/event5"
[    29.960] (II) XINPUT: Adding extended input device              \\s\
                "Apple, Inc Apple Keyboard" (type: KEYBOARD, id 10)
[    29.960] (**) Option "xkb_model" "pc105"
[    29.960] (**) Option "xkb_layout" "us"
[    29.962] (II) event5  - Apple, Inc Apple Keyboard:              \\s\
                is tagged by udev as: Keyboard
[    29.962] (II) event5  - Apple, Inc Apple Keyboard:              \\s\
                device is a keyboard
[    29.963] (II) config/udev: Adding input device                  \\s\
                Apple, Inc Apple Keyboard (/dev/input/event6)
[    29.964] (**) Apple, Inc Apple Keyboard: Applying InputClass    \\s\
                "libinput keyboard catchall"
[    29.964] (II) Using input driver 'libinput' for                 \\s\
                'Apple, Inc Apple Keyboard'
[    29.964] (**) Apple, Inc Apple Keyboard: always reports core events
[    29.964] (**) Option "Device" "/dev/input/event6"
[    29.964] (**) Option "_source" "server/udev"
[    29.965] (II) event6  - Apple, Inc Apple Keyboard: is tagged    \\s\
                by udev as: Keyboard
[    29.965] (II) event6  - Apple, Inc Apple Keyboard:              \\s\
                device is a keyboard
[    29.965] (II) event6  - Apple, Inc Apple Keyboard: device removed
[    29.992] (**) Option "config_info"                              \\s\
                "udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/    \\j\
                1-2/1-2.1/1-2.1.2/1-2.1.2:1.1/0003:05AC:0220.0005/  \\j\
                input/input9/event6"
[    29.992] (II) XINPUT: Adding extended input device              \\s\
                "Apple, Inc Apple Keyboard" (type: KEYBOARD, id 11)
[    29.992] (**) Option "xkb_model" "pc105"
[    29.992] (**) Option "xkb_layout" "us"
[    29.994] (II) event6  - Apple, Inc Apple Keyboard: is tagged    \\s\
                by udev as: Keyboard
[    29.994] (II) event6  - Apple, Inc Apple Keyboard: device is a keyboard
[    29.995] (II) config/udev: Adding input device Primax           \\s\
                Electronics Apple Optical USB Mouse (/dev/input/event7)
[    29.996] (**) Primax Electronics Apple Optical USB Mouse:       \\s\
                Applying InputClass "libinput pointer catchall"
[    29.996] (II) Using input driver 'libinput' for                 \\s\
                'Primax Electronics Apple Optical USB Mouse'
[    29.996] (**) Primax Electronics Apple Optical USB Mouse:       \\s\
                always reports core events
[    29.996] (**) Option "Device" "/dev/input/event7"
[    29.996] (**) Option "_source" "server/udev"
[    30.056] (II) event7  - Primax Electronics Apple Optical        \\s\
                USB Mouse: is tagged by udev as: Mouse
[    30.056] (II) event7  - Primax Electronics Apple Optical        \\s\
                USB Mouse: device is a pointer
[    30.056] (II) event7  - Primax Electronics Apple Optical        \\s\
                USB Mouse: device removed
[    30.096] (**) Option "config_info"                              \\s\
                "udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/    \\s\
                1-2/1-2.1/1-2.1.3/1-2.1.3:1.0/0003:05AC:0304.0006/  \\j\
                input/input10/event7"
[    30.096] (II) XINPUT: Adding extended input device              \\s\
                "Primax Electronics Apple Optical USB Mouse"        \\s\
                (type: MOUSE, id 12)
[    30.096] (**) Option "AccelerationScheme" "none"
[    30.096] (**) Primax Electronics Apple Optical USB Mouse:       \\s\
                (accel) selected scheme none/0
[    30.096] (**) Primax Electronics Apple Optical USB Mouse:       \\s\
                (accel) acceleration factor: 2.000
[    30.096] (**) Primax Electronics Apple Optical USB Mouse:       \\s\
                (accel) acceleration threshold: 4
[    30.156] (II) event7  - Primax Electronics Apple Optical        \\s\
                USB Mouse: is tagged by udev as: Mouse
[    30.157] (II) event7  - Primax Electronics Apple Optical        \\s\
                USB Mouse: device is a pointer
[    30.158] (II) config/udev: Adding input device Primax           \\s\
                Electronics Apple Optical USB Mouse (/dev/input/mouse0)
[    30.158] (II) No input driver specified, ignoring this device.
[    30.158] (II) This device may have been added with another device file.
[    30.160] (II) config/udev: Adding input device                  \\s\
                Device 2Port KVMSwitcher (/dev/input/event4)
[    30.160] (**) Device 2Port KVMSwitcher: Applying InputClass     \\s\
                "libinput keyboard catchall"
[    30.160] (II) Using input driver 'libinput' for                 \\s\
                'Device 2Port KVMSwitcher'
[    30.160] (**) Device 2Port KVMSwitcher: always reports core events
[    30.160] (**) Option "Device" "/dev/input/event4"
[    30.160] (**) Option "_source" "server/udev"
[    30.161] (II) event4  - Device 2Port KVMSwitcher:               \\s\
                is tagged by udev as: Keyboard
[    30.161] (II) event4  - Device 2Port KVMSwitcher: device is a keyboard
[    30.161] (II) event4  - Device 2Port KVMSwitcher: device removed
[    30.180] (**) Option "config_info"                              \\s\
                "udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/    \\j\
                1-2/1-2.3/1-2.3:1.0/0003:10D5:55A2.0003/input/input7/event4"
[    30.180] (II) XINPUT: Adding extended input device              \\s\
                "Device 2Port KVMSwitcher" (type: KEYBOARD, id 13)
[    30.180] (**) Option "xkb_model" "pc105"
[    30.180] (**) Option "xkb_layout" "us"
[    30.182] (II) event4  - Device 2Port KVMSwitcher:               \\s\
                is tagged by udev as: Keyboard
[    30.182] (II) event4  - Device 2Port KVMSwitcher: device is a keyboard
[    30.182] (II) config/udev: Adding input device                  \\s\
                HDA ATI SB Rear Mic (/dev/input/event9)
[    30.183] (II) No input driver specified, ignoring this device.
[    30.183] (II) This device may have been added with another device file.
[    30.183] (II) config/udev: Adding input device                  \\s\
                HDA ATI SB Front Mic (/dev/input/event10)
[    30.183] (II) No input driver specified, ignoring this device.
[    30.183] (II) This device may have been added with another device file.
[    30.184] (II) config/udev: Adding input device                  \\s\
                HDA ATI SB Line (/dev/input/event11)
[    30.184] (II) No input driver specified, ignoring this device.
[    30.184] (II) This device may have been added with another device file.
[    30.185] (II) config/udev: Adding input device                  \\s\
                HDA ATI SB Line Out Front (/dev/input/event12)
[    30.185] (II) No input driver specified, ignoring this device.
[    30.185] (II) This device may have been added with another device file.
[    30.186] (II) config/udev: Adding input device                  \\s\
                HDA ATI SB Line Out Surround (/dev/input/event13)
[    30.186] (II) No input driver specified, ignoring this device.
[    30.186] (II) This device may have been added with another device file.
[    30.187] (II) config/udev: Adding input device                  \\s\
                HDA ATI SB Line Out CLFE (/dev/input/event14)
[    30.187] (II) No input driver specified, ignoring this device.
[    30.187] (II) This device may have been added with another device file.
[    30.187] (II) config/udev: Adding input device                  \\s\
                HDA ATI SB Line Out Side (/dev/input/event15)
[    30.187] (II) No input driver specified, ignoring this device.
[    30.187] (II) This device may have been added with another device file.
[    30.188] (II) config/udev: Adding input device                  \\s\
                HDA ATI SB Front Headphone (/dev/input/event16)
[    30.188] (II) No input driver specified, ignoring this device.
[    30.188] (II) This device may have been added with another device file.
[    30.196] (**) HID 04f3:0103: Applying InputClass                \\s\
                "libinput keyboard catchall"
[    30.196] (II) Using input driver 'libinput' for 'HID 04f3:0103'
[    30.196] (**) HID 04f3:0103: always reports core events
[    30.196] (**) Option "Device" "/dev/input/event3"
[    30.196] (**) Option "_source" "_driver/libinput"
[    30.196] (II) libinput: HID 04f3:0103: is a virtual subdevice
[    30.196] (**) Option "config_info"                              \\s\
                "udev:/sys/devices/pci0000:00/0000:00:12.0/usb3/    \\j\
                3-3/3-3:1.1/0003:04F3:0103.0002/input/input6/event3"
[    30.196] (II) XINPUT: Adding extended input device              \\s\
                "HID 04f3:0103" (type: KEYBOARD, id 14)
[    30.196] (**) Option "xkb_model" "pc105"
[    30.196] (**) Option "xkb_layout" "us"

Please note,

 
ATI Radeon HD 4550, ATI Radeon RV710, ATI Radeon HD 4350

is my graphic card, as identified by

      $> sudo lspci |grep -y VGA
      01:00.0 VGA compatible controller:              \\s\
              Advanced Micro Devices, Inc. [AMD/ATI]  \\s\
              RV710 [Radeon HD 4350/4550]
      $> 

as well as printed in the Xorg.0.log file. Also note the comment in my xorg.conf file explaining how the line

        BusID    "PCI:1:0:0"

was created in the Devices section there.

Needless to say, none of the above fixed the monitor wake up problem.

Any help or suggestions are greatly appreciated.
Thank you in advance.

gnuTqPpantr
Desconectado
Joined: 12/22/2020

BTW, how can I correct the text in my original post on a forum? For instance I've misspelled Trisquel in the title of this post. Is there a way I could correct that, or should I ask forum administrators and/or moderators to help me with that? Obviously there is an Edit option for subsequent replies, but there is no such thing for the original texts here?

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

No, there is not.

AMD cards are terrible without proprietary firmware. With, they are obviously worse, freedom-wise. Do you have an Intel-integrated GPU too? If so: use it and physically remove the AMD card! If not, you can always try a newer kernel, hence a newer version of the driver. Installing the package "linux-image-generic-hwe-18.04" (in Trisquel's repository) and rebooting will give you a 5.3 kernel. For a brand-new 5.10 kernel, you can follow the instructions on https://jxself.org/linux-libre/

Logs are useful to understand the problem. But you want to take a look at the errors written when you suspend and resume, not the startup logs. By the way, after a resume, can you get a text session by typing Ctrl+Alt+F1?

gnuTqPpantr
Desconectado
Joined: 12/22/2020

Magic Banana, thank you for the answer on "who knows how to correct original posts ;)".

As for integrated Intel GPU, no! My on-motherboard GPU is another much less powerful "AMD/ATI RS880 [Radeon HD 4200]". I tested it out as you suggested I did, as if it were Intel, but as far as Xorg.0.log goes, or auto-config tests when I remove /etc/X11/xorg.conf file, it behaved exactly the same as my more powerful "AMD/ATI RV710 [Radeon HD 4350/4550]", but its performance is so miserable, that even if it fixed the suspend-problem, I'd much rather go back to Ubuntu with the better "RV710 HD4350/4550" board, despite your '"with" obviously worse, freedom-wise' comment. On the other hand, I'd settle for another reasonably priced GPU board, I could use with my AMD CPU and my ASUS motherboard, and that the open graphic-card drivers support. Without a guaranty a new graphic board would actually work, I just do not think it's worth the hassle.

I really was hoping that it'd be possible to get it working as in the good old days, by setting the proper parameters in xorg.conf.

Nevertheless, I am still entertaining the idea to use your second suggestion to switch to "linux-image-generic-hwe-18.04" and upgrading to 5.3 kernel or 5.10. I just hate to waste another week or even more on top of a month I already lost, due to my perhaps far too optimistic belief, it should have been possible to revert back to Xorg configuration file. I have the filling things might go sour again with switching to newer kernels, to at the end realize, my 10 years old box, which BTW, I built myself, just isnt't up to the task anymore when it comes to FSF compliance.

And, thank you for pointing out a more efficient reading of the logs, I'll certainly keep this in my mind the next time I'm in a similar predicament. And as for the <Ctrl+Alt+F#>, yes I managed to blindly log in and do {{ echo "Computer woke up $(date)" >~uID/proof-i-was-here }}. Remember, my monitor is dead, OFF, blank screen! And typing blindly is a rather esoteric and a slightly inconvenient affair. But, YES, I really managed to do that! Just to verify that computer does indeed wake up from suspend. There is no way I could wake up the monitor though, not even manually turning it On/Off/On in combination with <Ctrl+Alt+F#>, it just goes back to Off (back to sleep) a few seconds after my turning it On.

So, Magic Banana, thank you for your reply. I just do not know yet, whether I should change the kernels as per your second suggestion. Also, I am not exactly sure how Trisquel's repositories are managed. I remember some weird errors when I tried to download some rather standard non-proprietary Unix stuff (utilities) though at the end it installed it all. Then there's the question of e-signatures and keys that I need to be sure are either handled automatically as part of apt package management, or else need to be provided in a secure way, just like when downloading the Trisquel ISO. I need to find time to do all this, and of course should the signature verification fail or be missing I'd abort the project.

ttyl:)

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

On the other hand, I'd settle for another reasonably priced GPU board, I could use with my AMD CPU and my ASUS motherboard, and that the open graphic-card drivers support. Without a guaranty a new graphic board would actually work, I just do not think it's worth the hassle.

I am not knowledgeable when it comes to GPU. But a recommended discrete board would definitely be from nVidia rather than AMD.

I am still entertaining the idea to use your second suggestion to switch to "linux-image-generic-hwe-18.04" and upgrading to 5.3 kernel or 5.10. I just hate to waste another week or even more on top of a month I already lost, due to my perhaps far too optimistic belief, it should have been possible to revert back to Xorg configuration file.

Installing a newer kernel and rebooting take a minute or so. See https://trisquel.info/forum/kernel-upgrade#comment-154201 for detailed instructions.

And as for the , yes I managed to blindly log in and do {{ echo "Computer woke up $(date)" >~uID/proof-i-was-here }}. Remember, my monitor is dead, OFF, blank screen!

As far as I understand, X does not manage the text sessions. So, again, I believe the problem has nothing to do with X. It deals with the kernel.