Fedora 36 randomly logs/ crashes out of session

Ive recently installed Fedora 36, MATE with COMPIZ. I like it a lot. I’ll be using it for something and it randomly logs out as if the X session is crashing and lands back at the login screen. I’m not even sure what log to look in, to post here. I’m not exactly sure if I’m using wayland or xorg here?

Below is the output of inxi -Fzx

HELP

Tim

System:
Kernel: 5.17.5-300.fc36.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 2.37-24.fc36 Console: pty pts/0 Distro: Fedora release 36 (Thirty Six)
Machine:
Type: Desktop Mobo: ASRock model: B450 Pro4 serial:
UEFI-[Legacy]: American Megatrends v: P3.10 date: 03/07/2019
CPU:
Info: quad core model: AMD Ryzen 3 2200G with Radeon Vega Graphics bits: 64
type: MCP arch: Zen rev: 0 cache: L1: 384 KiB L2: 2 MiB L3: 4 MiB
Speed (MHz): avg: 1597 min/max: 1600/3500 boost: enabled cores: 1: 1597
2: 1597 3: 1597 4: 1597 bogomips: 27948
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: NVIDIA GK208B [GeForce GT 730] vendor: ASUSTeK driver: nouveau
v: kernel arch: Kepler bus-ID: 10:00.0
Display: x11 server: X.org v: 1.20.14 driver: X: loaded: modesetting
unloaded: fbdev,vesa gpu: nouveau tty: 80x24 resolution: 1: 1920x1200
2: 1920x1080 3: 1680x1050
Message: GL data unavailable in console. Try -G --display
Audio:
Device-1: NVIDIA GK208 HDMI/DP Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel bus-ID: 1-10:3 bus-ID: 10:00.1
Device-2: AMD Family 17h/19h HD Audio vendor: ASRock
driver: snd_hda_intel v: kernel bus-ID: 38:00.6
Device-3: GYROCOM C&C Fiio E10 type: USB
driver: hid-generic,snd-usb-audio,usbhid
Sound Server-1: ALSA v: k5.17.5-300.fc36.x86_64 running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.56 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASRock driver: r8169 v: kernel port: d000 bus-ID: 1e:00.0
IF: enp30s0 state: up speed: 1000 Mbps duplex: full mac:
Drives:
Local Storage: total: 10.46 TiB used: 5.83 TiB (55.8%)
ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB
temp: 29 C
ID-2: /dev/sdb vendor: Western Digital model: WD1003FZEX-00K3CA0
size: 931.51 GiB temp: 37 C
ID-3: /dev/sdc vendor: Western Digital model: WD30EFRX-68EUZN0
size: 2.73 TiB temp: 29 C
ID-4: /dev/sdd vendor: Western Digital model: WD20EFZX-68AWUN0
size: 1.82 TiB temp: 38 C
ID-5: /dev/sde vendor: Western Digital model: WD20EZRZ-00Z5HB0
size: 1.82 TiB temp: 32 C
ID-6: /dev/sdf type: USB vendor: Western Digital model: WD30EFAX-68JH4N1
size: 2.73 TiB
Partition:
ID-1: / size: 328.1 GiB used: 8.99 GiB (2.7%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 931.5 GiB used: 215.5 GiB (23.1%) fs: btrfs
dev: /dev/sdb1
Swap:
ID-1: swap-1 type: partition size: 29.58 GiB used: 0 KiB (0.0%)
dev: /dev/sda3
ID-2: swap-2 type: zram size: 8 GiB used: 7.8 MiB (0.1%) dev: /dev/zram0
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: nouveau temp: 38.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 343 Uptime: 21h 48m Memory: 15.61 GiB used: 1.95 GiB (12.5%)
Init: systemd target: graphical (5) Compilers: gcc: 12.1.1 Packages: N/A
note: see --pkg Shell: fish v: 3.5.0 inxi: 3.3.19

Welcome to ask.:fedora:edora @coacharnold

Please edit your inxi output mark it and format it as </> preformated text.

Mate Compiz spin is not Wayland ready yet. So you work with X11.

Have you upgraded the system lately.Your post shows your running Kernel: 5.17.5-300.fc36.x86_64 which is EOL and not supported any more.
sudo dnf upgrade --refresh will get the system updated.You probably want to check as well about installing the nvidia drivers for your card as well.You can check out https://rpmfusion.org/

You are using an nvidia GT 730 GPU which is supported only by the nvidia 470xx driver available from rpmfusion. To install that driver enable the rpmfusion-nonfree-nvidia-driver repo which is the one that will be enabled if you use the gnome-software tool to enable the 3rd party repos, then install akmod-nvidia-470xx from that repo.

Thanks Jeff,

I’m stuck t that (output below), I have the fusion repos installed : What did I miss? Am I going to blow up my system if I add the --allowerasing option?

T

Last metadata expiration check: 0:03:46 ago on Sat 30 Jul 2022 08:58:03 PM EDT.
Error:
Problem: package kmod-nvidia-5.18.13-200.fc36.x86_64-3:515.57-1.fc36.x86_64 requires nvidia-kmod-common >= 3:515.57, but none of the providers can be installed

  • package xorg-x11-drv-nvidia-470xx-3:470.103.01-4.fc36.x86_64 conflicts with xorg-x11-drv-nvidia provided by xorg-x11-drv-nvidia-3:515.57-1.fc36.x86_64
  • package akmod-nvidia-470xx-3:470.103.01-2.fc36.x86_64 requires nvidia-470xx-kmod-common >= 3:470.103.01, but none of the providers can be installed
  • conflicting requests
  • package akmod-nvidia-470xx-3:470.129.06-1.fc36.x86_64 requires nvidia-470xx-kmod-common >= 3:470.129.06, but none of the providers can be installed
  • package xorg-x11-drv-nvidia-470xx-3:470.129.06-2.fc36.x86_64 conflicts with xorg-x11-drv-nvidia provided by xorg-x11-drv-nvidia-3:515.57-1.fc36.x86_64
  • problem with installed package kmod-nvidia-5.18.13-200.fc36.x86_64-3:515.57-1.fc36.x86_64
    (try to add ‘–allowerasing’ to command line to replace conflicting packages or ‘–skip-broken’ to skip uninstallable packages)

No, but you seem to have already installed the newer nvidia drivers which is causing the conflicts.
You first should remove them with sudo dnf remove *nvidia* then install the 470xx drivers with sudo dnf install akmod-nvidia-470xx* which will pull in all the other packages needed for you. (if you plan to need cuda then add ‘xorg-x11-nvidia-drv-cuda-470xx*’ to that install command above.)

Did you do the update recommended by @straycat above? If not then please do so before reinstalling the nvidia drivers.

Jeff,

thanks so much for the help here. Two final questions on this:

first @straycat suggested an update as my kernel was outdated, I have a completly stock and updated Fedora 36 install, not sure how my kernel is that far behind, but everything is updated as far as it will go.

Second, Ive succesfully installed the akmod-nvidia-470xx packages and its associated files, do I need the cuda drivers (these are development packages?) and as well do i need to config anything before I attempt a reboot?

Youve been a great help, thank you

Tim

You do not need cuda unless you have a use for it and you should be good to go with a reboot.

Everything installed correctly, still not running on NVIDIA. Not sure aoutt the kernel, its been fully updated. Here’s my heardware out[ut again::

System:
  Kernel: 5.17.5-300.fc36.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 2.37-24.fc36
    Console: pty pts/5 Distro: Fedora release 36 (Thirty Six)
Machine:
  Type: Desktop Mobo: ASRock model: B450 Pro4 serial: <superuser required>
    UEFI-[Legacy]: American Megatrends v: P3.10 date: 03/07/2019
CPU:
  Info: quad core model: AMD Ryzen 3 2200G with Radeon Vega Graphics bits: 64 type: MCP arch: Zen
    rev: 0 cache: L1: 384 KiB L2: 2 MiB L3: 4 MiB
  Speed (MHz): avg: 1594 high: 1597 min/max: 1600/3500 boost: enabled cores: 1: 1597 2: 1587
    3: 1597 4: 1597 bogomips: 27947
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA GK208B [GeForce GT 730] vendor: ASUSTeK driver: nouveau v: kernel arch: Kepler
    bus-ID: 10:00.0
  Display: x11 server: X.org v: 1.20.14 driver: X: loaded: modesetting unloaded: fbdev,vesa
    gpu: nouveau tty: 102x23 resolution: 1: 1920x1200 2: 1920x1080 3: 1680x1050
  Message: GL data unavailable in console. Try -G --display
Audio:
  Device-1: NVIDIA GK208 HDMI/DP Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 1-10:3 bus-ID: 10:00.1
  Device-2: AMD Family 17h/19h HD Audio vendor: ASRock driver: snd_hda_intel v: kernel
    bus-ID: 38:00.6
  Device-3: GYROCOM C&C Fiio E10 type: USB driver: hid-generic,snd-usb-audio,usbhid
  Sound Server-1: ALSA v: k5.17.5-300.fc36.x86_64 running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.56 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASRock driver: r8169
    v: kernel port: d000 bus-ID: 1e:00.0
  IF: enp30s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 7.73 TiB used: 4.92 TiB (63.7%)
  ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB
  ID-2: /dev/sdb vendor: Western Digital model: WD1003FZEX-00K3CA0 size: 931.51 GiB
  ID-3: /dev/sdc vendor: Western Digital model: WD30EFRX-68EUZN0 size: 2.73 TiB
  ID-4: /dev/sdd vendor: Western Digital model: WD20EFZX-68AWUN0 size: 1.82 TiB
  ID-5: /dev/sde vendor: Western Digital model: WD20EZRZ-00Z5HB0 size: 1.82 TiB
Partition:
  ID-1: / size: 328.1 GiB used: 9.86 GiB (3.0%) fs: ext4 dev: /dev/sda1
  ID-2: /home size: 931.5 GiB used: 210.34 GiB (22.6%) fs: btrfs dev: /dev/sdb1
Swap:
  ID-1: swap-1 type: partition size: 29.58 GiB used: 0 KiB (0.0%) dev: /dev/sda3
  ID-2: swap-2 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: nouveau temp: 39.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 349 Uptime: 13m Memory: 15.61 GiB used: 2.92 GiB (18.7%) Init: systemd
  target: graphical (5) Compilers: gcc: 12.1.1 Packages: N/A note: see --pkg Shell: fish v: 3.5.0
  inxi: 3.3.19

One critical thing to check with the nvidia drivers is if secure boot is enabled.

Please post the output of dmesg | grep -iE 'secure|nvidia|nouveau' so we can see the boot process related to that card and secure boot.

Also post the output of lsmod | grep nvidia and dnf list installed *nvidia*

I have edited the last post you made and added the tags for preformatted text. Those tags are available with the </> button on the toolbar above your post entry and will maintain the formatting to the exact format it is seen on your screen. See the difference between post 1 without the tags and post 9 with the tags.

Heres what I get:

for dmesg | grep -iE 'secure|nvidia|nouveau'

[ 3.984265] nouveau 0000:10:00.0: vgaarb: deactivate vga console
[ 3.988784] nouveau 0000:10:00.0: NVIDIA GK208B (b06070b1)
[ 4.147741] nouveau 0000:10:00.0: bios: version 80.28.7a.00.14
[ 4.149514] nouveau 0000:10:00.0: fb: 2048 MiB GDDR5
[ 4.881392] nouveau 0000:10:00.0: DRM: VRAM: 2048 MiB
[ 4.881402] nouveau 0000:10:00.0: DRM: GART: 1048576 MiB
[ 4.881407] nouveau 0000:10:00.0: DRM: TMDS table version 2.0
[ 4.881410] nouveau 0000:10:00.0: DRM: DCB version 4.0
[ 4.881413] nouveau 0000:10:00.0: DRM: DCB outp 00: 01000f02 00020030
[ 4.881417] nouveau 0000:10:00.0: DRM: DCB outp 01: 02011f62 00020010
[ 4.881420] nouveau 0000:10:00.0: DRM: DCB outp 02: 02022f10 00000000
[ 4.881424] nouveau 0000:10:00.0: DRM: DCB conn 00: 00001031
[ 4.881427] nouveau 0000:10:00.0: DRM: DCB conn 01: 00002161
[ 4.881430] nouveau 0000:10:00.0: DRM: DCB conn 02: 00000200
[ 4.882023] nouveau 0000:10:00.0: DRM: MM: using COPY for buffer copies
[ 5.184057] nouveau 0000:10:00.0: DRM: allocated 1920x1200 fb: 0x80000, bo 00000000938dfaec
[ 5.184155] fbcon: nouveaudrmfb (fb0) is primary device
[ 5.234297] nouveau 0000:10:00.0: [drm] fb0: nouveaudrmfb frame buffer device
[ 5.240497] [drm] Initialized nouveau 1.3.1 20120801 for 0000:10:00.0 on minor 0
[ 6.973332] snd_hda_intel 0000:10:00.1: bound 0000:10:00.0 (ops nv50_audio_component_bind_ops [nouveau])
[ 6.981976] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:10:00.1/sound/card0/input8
[ 6.982457] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:10:00.1/sound/card0/input9
[ 6.983144] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:10:00.1/sound/card0/input10
[ 6.984039] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:10:00.1/sound/card0/input11
[ 6.985677] input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.1/0000:10:00.1/sound/card0/input12
[18641.185515] nouveau 0000:10:00.0: Direct firmware load for nouveau/nv106_fuc084 failed with error -2
[18641.185539] nouveau 0000:10:00.0: Direct firmware load for nouveau/nv106_fuc084d failed with error -2
[18641.185542] nouveau 0000:10:00.0: msvld: unable to load firmware data
[18641.185544] nouveau 0000:10:00.0: msvld: init failed, -19

I get notheing for lsmod… and for dnf list i get

akmod-nvidia-470xx.x86_64 3:470.129.06-1.fc36 @rpmfusion-nonfree-updates
kmod-nvidia-470xx-5.18.13-200.fc36.x86_64.x86_64 3:470.129.06-1.fc36 @@commandline

nvidia-settings-470xx.x86_64                                                3:470.129.06-1.fc36                            @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-470xx.x86_64                                            3:470.129.06-2.fc36                            @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-470xx-kmodsrc.x86_64                                    3:470.129.06-2.fc36                            @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-470xx-libs.x86_64                                       3:470.129.06-2.fc36                            @rpmfusion-nonfree-updates

I should also add the following … to confirm nouveau:

[f@f-desktop ~]$ sudo lsmod| grep nouveau
nouveau 2412544 27
drm_ttm_helper 16384 1 nouveau
ttm 81920 2 drm_ttm_helper,nouveau
mxm_wmi 16384 1 nouveau
wmi 32768 3 wmi_bmof,mxm_wmi,nouveau
video 57344 1 nouveau

Let us show the kernels you have to boot.

sudo grubby --info=ALL |grep kernel
kernel="/boot/vmlinuz-5.18.13-200.fc36.x86_64"
kernel="/boot/vmlinuz-5.18.11-200.fc36.x86_64"
kernel="/boot/vmlinuz-0-rescue-d9fa1f575dba4c3eacaa1b75bbe09ddc"

You are definitive not up to date.

Well ok heres part of the issue, I would have assumed a grub update during the system udate would have picked this up, wow. Thank you, this is a new install and it’s living next to an arch linux install that for some reason ended up as the default OS in grub after I installed Fedora. Thanks for helping me find a very obvious issue, my fault

kernel=“/boot/vmlinuz-5.18.13-200.fc36.x86_64”
kernel=“/boot/vmlinuz-5.17.5-300.fc36.x86_64”
kernel=“/boot/vmlinuz-0-rescue-f75e540fe4b341b38adf288e7db47ded”

This said, what now, do i need to uninstall all the NVIDIA stuff again after I update grub, then reinstall them?

T

If your booted into the latest kernel you should be able to just reinstall nvidia and it should build on the latest kernel.

Thanks for all the help guys … Grub succesfully re-installed, correct kernel running along with the proper nvidia drivers … Perfect!

Thank you

TIm