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?
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.
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.
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?
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.
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
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