Ubuntu22.04 with rtx4000 mosaic on ,can't work

hi generix, I’m here again…
last time ,very thanks for your help to solve my problem that ubuntu 20.04 with mosaic on settings, it works well!
recently,i found that ubuntu update to 22.04 LTS,so i upgrade my os. As expected, there are fatal problems…

my computer is Graphic workstation,with 2 Quadro RTX4000,os=ubuntu 22.04 LTS. This time I used only 1 Graphics card ,4 ports to 4 4k monitor.My RTX driver version no. is 510.73.05.

A part of my xorg.conf is
Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
BoardName “Quadro RTX 4000”
BusID “PCI:1:0:0”
EndSection

Section “Screen”
Identifier “Screen0”
Device “Device0”
Monitor “Monitor0”
DefaultDepth 24
Option “Stereo” “0”
Option “nvidiaXineramaInfo” “FALSE”
Option “nvidiaXineramaInfoOrder” “DFP-6”
Option “metamodes” “GPU-b16ec084-0226-c21e-496a-193149a3140f.DP-2: nvidia-auto-select +11520+0, GPU-b16ec084-0226-c21e-496a-193149a3140f.DP-0: nvidia-auto-select +7680+0, GPU-b16ec084-0226-c21e-496a-193149a3140f.DP-4: nvidia-auto-select +0+0, GPU-b16ec084-0226-c21e-496a-193149a3140f.USB-C-0: nvidia-auto-select +3840+0”
Option “MultiGPU” “Off”
Option “SLI” “off”
Option “BaseMosaic” “on”
Option “AllowEmptyInitialConfiguration”
Option “Coolbits” “4”
SubSection “Display”
Depth 24
EndSubSection
EndSection

Also,I do the same setting which in 20.04 works that : make nvidia-drm modeset=0
hengda@hengda-MS-7850:/etc/X11$ grep nvidia /etc/modprobe.d/* /lib/modprobe.d/*
/etc/modprobe.d/blacklist-framebuffer.conf:blacklist nvidiafb
/etc/modprobe.d/nvidia-graphics-drivers-kms.conf:# This file was generated by nvidia-drivers-510
/etc/modprobe.d/nvidia-graphics-drivers-kms.conf:options nvidia-drm modeset=0
/lib/modprobe.d/nvidia-kms.conf:options nvidia-drm modeset=0

Then i Execute “sudo update-initramfs -u”

When the workstation is restarted, it cannot start successfully and cannot enter the system desktop. Some words of failure will flash on the screen:
usbhid 3-9:1.0:can’t add hid device :-71
/dev/sda2: clean, 225315/14622720 files, 4440669/58476288 blocks
ucsi_ccg 0-0008: UCSI_GET_PDOS failed (-70)
ucsi_ccg 0-0008:possible USCI driver bug 4
ucsi_ccg 0-0008:possible USCI driver bug 4
ucsi_ccg 0-0008:possible USCI driver bug 4

At this time, although I cannot access the graphical desktop, I can connect to the workstation through SSH.This shows that the system can run, but can not enter the graphical desktop.

If i change the setting in xorg.conf ,mosaic on to off,everything is back to normal.
So I came to ask for help again please…

nvidia-bug-report.log.gz (1.5 MB)

Please check that drm modesetting is really turned off,

sudo cat /sys/module/nvidia_drm/parameters/modeset

should return ‘N’
Please check if a minimal xorg.conf works, only containing

Section "Device"
    Identifier     "nvidia"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro RTX 4000"
    BusID          "PCI:1:0:0"
    Option         "BaseMosaic" "on"
EndSection

Thanks for your reply and help!
hengda@hengda-MS-7850:/etc/X11$ sudo cat /sys/module/nvidia_drm/parameters/modeset
N <=== yes,it is “N”
my xorg.conf now is,and only containing:
Section “Device”
Identifier “nvidia”
Driver “nvidia”
VendorName “NVIDIA Corporation”
BoardName “Quadro RTX 4000”
BusID “PCI:1:0:0”
Option “BaseMosaic” “on”
EndSection

But the problem remain,the ubuntu 22.04 still not working properly…

Does it work if you delete /usr/share/X11/xorg.conf.d/10-nvidia.conf and change your xorg.conf to

Section "Files"
    ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules "
EndSection

Section "Device"
    Identifier     "nvidia"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro RTX 4000"
    BusID          "PCI:1:0:0"
    Option         "BaseMosaic" "on"
EndSection

70 cd /usr/share/X11/xorg.conf.d/
71 ls
72 sudo mv 10-nvidia.conf bk.10-nvidia.conf <===I changed it’s name.
75 cd /etc/X11/
76 ls
77 sudo mv xorg.conf xorg.conf.bk
79 sudo vi xorg.conf
80 sudo reboot
hengda@hengda-MS-7850:~$ cd /usr/share/X11/xorg.conf.d/
hengda@hengda-MS-7850:/usr/share/X11/xorg.conf.d$ ls
10-amdgpu.conf 10-quirks.conf 10-radeon.conf 40-libinput.conf 70-wacom.conf bk.10-nvidia.conf
hengda@hengda-MS-7850:/usr/share/X11/xorg.conf.d$ cat /etc/X11/xorg.conf
Section “Files”
ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules "
EndSection

    Section "Device"
	        Identifier     "nvidia"
		    Driver         "nvidia"
		        VendorName     "NVIDIA Corporation"
			    BoardName      "Quadro RTX 4000"
			        BusID          "PCI:1:0:0"
				    Option         "BaseMosaic" "on"
				    EndSection

hengda@hengda-MS-7850:/usr/share/X11/xorg.conf.d$

It is still not work…

Please create a new nvidia-bug-report.log

ok,here,thank you very much!!
nvidia-bug-report.log.gz (1.9 MB)

You incorretcly renamed the file, so it is still used. Please remove it.

now I do like this:
cd /usr/share/X11/xorg.conf.d/
sudo rm bk.10-nvidia.conf
sudo reboot
then:
hengda@hengda-MS-7850:~$ ls /usr/share/X11/xorg.conf.d/
10-amdgpu.conf 10-quirks.conf 10-radeon.conf 40-libinput.conf 70-wacom.conf

and now my /etc/X11/xorg.conf only contain :

Section “Files”
ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules "
EndSection
        Section "Device"
                    Identifier     "nvidia"
                        Driver         "nvidia"
                            VendorName     "NVIDIA Corporation"
                                BoardName      "Quadro RTX 4000"
                                    BusID          "PCI:1:0:0"
                                        Option         "BaseMosaic" "on"
                                        EndSection

it’s not work,the os can’t enter the desktop…
nvidia-bug-report.log.gz (1.6 MB)

emm…Is there something wrong with what I did? Or any suggestions please?@generix

You’re not doing anything wrong, it’s just not working. Additionally, the driver is spilling XID errors that aren’t even documented

[ 15.922342] NVRM: Xid (PCI:0000:02:00): 125, pid=1479, InfoROM FS corrupt on initial load. Recovery steps required.
[ 16.842765] NVRM: Xid (PCI:0000:01:00): 125, pid=1479, InfoROM FS corrupt on initial load. Recovery steps required.

and the kernel spills errors about DMS

[ 10.435406] DMAR: DRHD: handling fault status reg 2
[ 10.435412] DMAR: [DMA Read NO_PASID] Request device [02:00.0] fault addr 0xffe75000 [fault reason 0x06] PTE Read access is not set

Please set kernel parameter
iommu=off
or try disabling it in bios.

1 Like

hi,generix,I set my /etc/default/grub like this:
GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash nomodeset iommu=off”
and it seems working…but I’m not sure if it’s because this parameter has been modified… I will try several times to find a stable way. If it is feasible, I will report the results. Thank you very much!!!

yes,i found the stable way.
drm=0 and iommu=off ,this way really works!

Thank you very very much!!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.