• strange behavior with Nvidia driver on Bookworm (12)

    From Eben King@21:1/5 to All on Tue Aug 20 23:20:01 2024
    Since I installed a GTX 970 and the Nvidia driver on my Bookworm (12)
    system, I've noticed some odd behavior. I'll start with the most obnoxious.
    I'm open to any ideas. Well, not _any_ any.

    1. Last night before I went to bed I suspended my computer at 2:24:55. The next log message is at 7:08:53. I definitely wasn't awake then. Why would
    it awaken in the middle of the night? The keyboard tray was pushed in, so
    it shouldn't be a case of kitten on the keys.

    journalctl = https://pastebin.com/0dAakK3H
    dmesg = https://pastebin.com/tjeiwubf
    xsession-errors = https://pastebin.com/nbu7dLBW

    These excerpts all start at the time I issued the suspend command, until
    after I fixed the monitors (or the end of the file if I couldn't figure out when that was). If you need the whole "from boot" log, let me know.

    2. I have three monitors, arranged in a row L-R. Left=DP=1920x1080 but rotated CW 90°. The other two are DVI 1920x1200 and not rotated. I wrote a script (fixmonitors) that calls xrandr to put the monitors back in the positions and orientations that make sense, and it's called from ./share/lightdm/lightdm.conf.d/80-display-setup.conf :

    [SeatDefaults]
    display-setup-script=/export/bin/fixmonitors

    Works great, normally. When I woke up the screens to log in, only center & right ones woke, left was dark. So I killed lightdm with ctrl-alt-bkspc
    which made it respawn and call fixmonitors again, and left appeared.

    The left screen also appears sideways when the computer's locked for a long time. The same workaround would probably work there too but I didn't notice
    it was wrong until after I'd logged in.

    3. Sometimes xfwm crashes on resume, and I have to run "DISPLAY=:0 xfwm &"
    from the console to fix it. When that happens, the Workplace Switcher,
    instead of displaying 8 triple-wide images (one for each workplace),
    displays 8 single-wide images. Some (all?) startup apps (the ones from Settings -> Session and Startup -> Application Autostart) don't run, but I suspect xfce isn't putting /export/bin in $PATH despite what /etc/profile
    says to do. Or when I run xfwm manually it doesn't run startup programs.

    My DVD drives also stopped ejecting, but since they also don't work in the BIOS, it's probably not OS-related.

    --
    AQUARIUS: There's travel in your future when your tongue freezes to the
    back of a speeding bus. Fill the void in your pathetic life by playing Whack-a-Mole 17 hours a day. -- Weird Al, _Your Horoscope for Today_

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)