D. R. Evans composed on 2023-05-22 14:39 (UTC-0600):

> Felix Miata wrote:

> [ZB:~] cat /etc/X11/xorg.conf.d/50-device.conf
> Section "Device"
>    Identifier "DDX"
>          Driver "modesetting"
> #       Driver "nouveau"
> EndSection
> [ZB:~]

> Do you really mean "DDX", not "DIX"? <--------

> I made the edit according to your instructions (i.e., "DDX") but I'm not 
> certain that your e-mail didn't contain a typo.

The quoted identifier line's string can be anything at all, unless using an
elaborate xorg.con* where another part needs to refer to a specific "Device"
section. Nouveau is a DDX (device dependent X/display driver). Modesetting is a
DIX (device independent X/display driver).

cf.
<https://forums.opensuse.org/t/amd-intel-nvidia-x-graphics-driver-primer-third-edition/148576>

>> By simply moving the # to the other driver line, you can easily switch 
>> between
>> using the two display drivers by restarting your DM or rebooting.
> Right now, the 50-device.conf file looks exactly as it does above but, and I 
> have restarted lightdm by issuing:
>    systemctl restart lightdm
> from the console.

> I currently get:

> [ZB:~] sudo inxi -GSaz
> System:    Kernel: 5.10.0-23-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1
>             parameters: BOOT_IMAGE=/BOOT/debian@/vmlinuz-5.10.0-23-amd64 
> root=ZFS=/ROOT/debian ro root=ZFS=rpool/ROOT/debian
>             Desktop: Trinity R14.1.1~[DEVELOPMENT] tk: Qt 3.5.0 info: kicker 
> wm: Twin 3.0 dm: LightDM 1.26.0

The line wrapping suggests you never succeeded to do "inxi -U". As seen below,
newer (more complete) inxi versions by default limit to 80 columns, to prevent
such wrapping when pasting into emails and forum forms.

Are all users of ZFS supposed to include two root= parameters on their linu 
lines?

> But I am still seeing the original problem I reported. 

Could it be that your PC doesn't like LightDM? Try switching to TDM. All my
Debians use it only. I also use TDM to run Plasma on Leap and Tumbleweed.

I switched from the modesetting DIX driver to the nouveau DDX driver via:

# cat /etc/X11/xorg.conf.d/15-ddxdrv.conf
#Section "OutputClass"
Section "Device"
  Identifier "DDX"
#       MatchDriver "amdgpu"
#       Driver "amdgpu"
#       MatchDriver "intel"
#       Driver "intel"
#       MatchDriver "modesetting"
#       Driver "modesetting"
#       MatchDriver "nouveau"
        Driver "nouveau"
#       MatchDriver "radeon"
#       Driver "radeon"
EndSection

I was unable to detect any kind of video corruption in the TDE 14.1.x relnotes
window, or doing what follows in TDE's Konsole:

gb970:~ $ grep 'using VT' /var/log/Xorg.0.log
[   239.391] (++) using VT number 7
gb970:~ $ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 630] 
(rev a1)
gb970:~ $ grep chipsets /var/log/Xorg.0.log | grep -vE 'VESA|FBDEV'
gb970:~ $ grep PRETTY /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
gb970:~ $ grep 'X.Org X Server' /var/log/Xorg.0.log
X.Org X Server 1.20.11
gb970:~ $ grep 'Current Operating System' /var/log/Xorg.0.log
[   239.390] Current Operating System: Linux gb970 5.10.0-23-amd64 #1 SMP Debian
5.10.179-1 (2023-05-12) x86_64
gb970:~ $ grep 'Kernel Command Line' /var/log/Xorg.0.log
[   239.390] Kernel command line: root=LABEL=40deb11 ipv6.disable=1 
net.ifnames=0
plymouth.enable=0 noresume consoleblank=0 preempt=full mitigations=none
gb970:~ $ grep Output /var/log/Xorg.0.log | grep -vE 'disconnec|no monit' | grep
-v 'nitor sect'
[   239.639] (II) NOUVEAU(0): Output DVI-I-1 connected
[   239.639] (II) NOUVEAU(0): Output HDMI-1 connected
[   239.639] (II) NOUVEAU(0): Output DVI-I-1 using initial mode 1680x1050 +0+0
[   239.639] (II) NOUVEAU(0): Output HDMI-1 using initial mode 1920x1200 +1680+0
gb970:~ $ grep -iE "physical size|cm]" /var/log/Xorg.0.log
[   239.561] (II) NOUVEAU(0): Max Image Size [cm]: horiz.: 47  vert.: 30
[   239.628] (II) NOUVEAU(0): Max Image Size [cm]: horiz.: 52  vert.: 32
[   239.785] (II) NOUVEAU(0): Setting screen physical size to 952 x 317
gb970:~ $ grep -v ^\# /etc/X11/xorg.conf.d/50-monitor.conf | grep DisplaySize
grep: /etc/X11/xorg.conf.d/50-monitor.conf: No such file or directory
gb970:~ $ grep -v ^\# /etc/X11/xorg.conf | grep DisplaySize
grep: /etc/X11/xorg.conf: No such file or directory
gb970:~ $ grep -v ^\# /etc/X11/xorg.conf.d/50-monitor.conf | grep PreferredMode
grep: /etc/X11/xorg.conf.d/50-monitor.conf: No such file or directory
gb970:~ $ grep -v ^\# /etc/X11/xorg.conf | grep PreferredMode
grep: /etc/X11/xorg.conf: No such file or directory
gb970:~ $ grep -v ^\# /etc/X11/Xsession.d/95setup | grep xrandr
xrandr --dpi 120
gb970:~ $ xrdb -query | grep dpi
gb970:~ $ xrandr | grep -E 'onnect|creen|\*' | grep -v disconn | sort -r
Screen 0: minimum 320 x 200, current 3600 x 1200, maximum 16384 x 16384
HDMI-1 connected primary 1920x1200+0+0 (normal left inverted right x axis y 
axis)
519mm x 324mm
DVI-I-1 connected 1680x1050+1920+0 (normal left inverted right x axis y axis)
473mm x 296mm
   1920x1200     59.95*+
   1680x1050     59.95*+
gb970:~ $ xdpyinfo | grep -E 'dimen|ution'
  dimensions:    3600x1200 pixels (762x254 millimeters)
  resolution:    120x120 dots per inch
gb970:~ $ inxi -SGaz --vs --zl --hostname
inxi 3.3.27-00 (2023-05-07)
System:
  Host: gb970 Kernel: 5.10.0-23-amd64 arch: x86_64 bits: 64 compiler: gcc
    v: 10.2.1 parameters: root=LABEL=<filter> ipv6.disable=1 net.ifnames=0
    plymouth.enable=0 noresume consoleblank=0 preempt=full mitigations=none
  Desktop: Trinity v: R14.1.0 tk: Qt v: 3.5.0 info: kicker wm: Twin v: 3.0
    vt: 7 dm: 1: TDM 2: XDM Distro: Debian GNU/Linux 11 (bullseye)
Graphics:
  Device-1: NVIDIA GF108 [GeForce GT 630] vendor: Gigabyte driver: nouveau
    v: kernel non-free: series: 390.xx+ status: legacy-active (EOL~late 2022)
    arch: Fermi code: GF1xx process: 40/28nm built: 2010-16 pcie: gen: 1
    speed: 2.5 GT/s lanes: 16 ports: active: DVI-I-1,HDMI-A-1 empty: VGA-1
    bus-ID: 01:00.0 chip-ID: 10de:0f00 class-ID: 0300 temp: 45.0 C
  Display: x11 server: X.Org v: 1.20.11 driver: X: loaded: nouveau
    dri: nouveau gpu: nouveau display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3600x1200 s-dpi: 120 s-size: 762x254mm (30.00x10.00")
    s-diag: 803mm (31.62")
  Monitor-1: DVI-I-1 pos: right model: Dell P2213 serial: <filter>
    built: 2012 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2
    size: 473x296mm (18.62x11.65") diag: 558mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
  Monitor-2: HDMI-A-1 mapped: HDMI-1 pos: primary,left model: NEC EA243WM
    serial: <filter> built: 2011 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 519x324mm (20.43x12.76") diag: 612mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 640x480
  API: OpenGL v: 4.3 Mesa 20.3.5 renderer: NVC1 direct-render: Yes
gb970:~ $

I suppose your issue could involve a timing coincidence, and your problem may be
failing gfxcard RAM.

The modesetting DIX is newer technology than the reverse-engineered,
"experimental" nouveau DDX. Whatever happened when you attempted switching to 
the
DIX should not have happened. Do you have /etc/X11/xorg.conf or any content in
/etc/X11/xorg.conf.d/ directed to gfx (device, monitor, screen, driver) other 
than
the file I suggested?
-- 
Evolution as taught in public schools is, like religion,
        based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata

Reply via email to