[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes



On 2021-01-02 05:23, Darac Marjal wrote:

Thanks for the reply.  :-)


On 01/01/2021 23:51, David Christensen wrote:

I have a Dell Latitude E6520 with Nvidia Optimus graphics:

https://en.wikipedia.org/wiki/Nvidia_Optimus

I have disabled Optimus in the CMOS Setup:

Video -> Optimus -> Enable Optimus -> unchecked

Any reason for doing this?

My goal was to disable the Nvidia GPU and enable the Intel GPU. Reading your response below, it looks like I have achieved the opposite result.


Optimus has (finally) become natively
supported by the Proprietary NVIDIA driver recently (it's just a matter
of running an application the environment variable
__NV_PRIME_RENDER_OFFLOAD set to 1 and that process will use the dGPU).

From the link above -> Identification -> -Compare the identifier with the list

https://www.nvidia.com/en-us/geforce/technologies/optimus/supported-gpus/


I do not see the machine's Nvidia GPU on the list of Optimus supported GPU's.


Also, I notice that while Optimus is unchecked here, the NVIDIA card
still shows up in your PCI listing.

I saw that too.


I don't know a lot about Optimus,
but I think that indicates that the dGPU is still powered up (i.e. if
you're trying to disable Optimus for power-saving purposes, you might
not be getting what you want).

I think, basically, I'm wondering what "disabling Optimus" means.

As did I.  Reading ahead, it looks like it means "use the Nvidia GPU alone".


Does
it mean that the dGPU is unavailable to you (clearly not, it appears in
the PCI listing)... Ah, no... I see it! It's disabled the iGPU instead.
So, in this mode, you're using _only_ the NVIDIA GPU and _not_ the Intel
GPU. In that case, what NVIDIA driver are you using: proprietary or nouveau?

It appears the machine is using nouveau:

2021-01-02 13:45:52 root@dipsy ~
# lsmod | sort
Module                  Size  Used by
ac                     16384  0
aes_x86_64             20480  1 aesni_intel
aesni_intel           200704  5
af_alg                 28672  1 algif_skcipher
ahci                   40960  3
algif_skcipher         16384  0
arc4                   16384  2
autofs4                49152  2
battery                20480  0
button                 16384  1 nouveau
cdrom                  65536  1 sr_mod
cfg80211              774144  3 iwldvm,iwlwifi,mac80211
coretemp               16384  0
cqhci                  28672  1 sdhci_pci
crc16                  16384  1 ext4
crc32_pclmul           16384  0
crc32c_generic         16384  0
crc32c_intel           24576  4
crc_itu_t              16384  1 firewire_core
crct10dif_pclmul       16384  0
cryptd                 28672  5 crypto_simd,ghash_clmulni_intel,aesni_intel
crypto_simd            16384  1 aesni_intel
dcdbas                 16384  1 dell_smbios
dell_laptop            28672  0
dell_rbtn              16384  0
dell_smbios            28672  2 dell_wmi,dell_laptop
dell_smm_hwmon         16384  0
dell_smo8800           16384  0
dell_wmi               16384  0
dell_wmi_descriptor    16384  2 dell_wmi,dell_smbios
dm_crypt               40960  2
dm_mod                155648  5 dm_crypt
drm                   495616  6 drm_kms_helper,ttm,nouveau
drm_kms_helper        208896  1 nouveau
e1000e                282624  0
ecb                    16384  0
ehci_hcd               94208  1 ehci_pci
ehci_pci               16384  0
evdev                  28672  16
ext4                  745472  2
firewire_core          81920  2 firewire_ohci,firewire_sbp2
firewire_ohci          45056  0
firewire_sbp2          28672  0
fscrypto               32768  1 ext4
ghash_clmulni_intel    16384  0
glue_helper            16384  1 aesni_intel
hid                   139264  2 usbhid,hid_generic
hid_generic            16384  0
i2c_algo_bit           16384  1 nouveau
i2c_i801               28672  0
iTCO_vendor_support    16384  1 iTCO_wdt
iTCO_wdt               16384  0
intel_cstate           16384  0
intel_powerclamp       16384  0
intel_rapl             24576  0
intel_rapl_perf        16384  0
intel_uncore          135168  0
ip_tables              28672  0
irqbypass              16384  1 kvm
iwldvm                159744  0
iwlwifi               249856  1 iwldvm
jbd2                  122880  1 ext4
joydev                 24576  0
kvm                   757760  1 kvm_intel
kvm_intel             233472  0
libahci                40960  1 ahci
libata                270336  2 libahci,ahci
lp                     20480  0
lpc_ich                28672  0
mac80211              835584  1 iwldvm
mbcache                16384  1 ext4
mei                   118784  3 mei_wdt,mei_me
mei_me                 45056  1
mei_wdt                16384  0
mfd_core               16384  1 lpc_ich
mmc_core              176128  3 sdhci,cqhci,sdhci_pci
mxm_wmi                16384  1 nouveau
nouveau              2179072  3
parport                57344  3 parport_pc,lp,ppdev
parport_pc             32768  0
pcbc                   16384  0
pcc_cpufreq            16384  0
pcspkr                 16384  0
ppdev                  20480  0
psmouse               172032  0
rfkill                 28672  4 dell_laptop,dell_rbtn,cfg80211
scsi_mod              249856  5 sd_mod,firewire_sbp2,libata,sg,sr_mod
sd_mod                 61440  4
sdhci                  61440  1 sdhci_pci
sdhci_pci              45056  0
serio_raw              16384  0
sg                     36864  0
snd 94208 10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm,snd_hda_codec_idt snd_hda_codec 151552 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_idt
snd_hda_codec_generic    86016  1 snd_hda_codec_idt
snd_hda_codec_hdmi     61440  2
snd_hda_codec_idt      61440  1
snd_hda_core 94208 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_idt
snd_hda_intel          49152  1
snd_hwdep              16384  1 snd_hda_codec
snd_pcm 114688 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              36864  1 snd_pcm
soundcore              16384  1 snd
sparse_keymap          16384  1 dell_wmi
sr_mod                 28672  0
thermal                20480  0
ttm                   126976  1 nouveau
usb_common             16384  1 usbcore
usbcore               294912  3 ehci_pci,usbhid,ehci_hcd
usbhid                 57344  0
video                  49152  3 dell_wmi,dell_laptop,nouveau
wmi 28672 6 dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor,mxm_wmi,nouveau
wmi_bmof               16384  0
x86_pkg_temp_thermal    16384  0
x_tables               45056  1 ip_tables


Any suggestions for trouble-shooting the crashes?


David


Reply to: