You are not logged in.
I have Nvidia Quadro M1000M on Dell Precision 7510
This card is supposedly supported by latest nvidia-495 driver (https://download.nvidia.com/XFree86/Lin … chips.html)
- recently upgraded whole system to kernel 5.10-lts and nvidia-lts 495.
Result:
- blackscreen when X starts.
- nvidia-smi gives blackscreen too.
I've digged a little on forum and tried to:
TRY a) Update system to latest kernel (linux) and nvidia 495 -> same result
TRY b) Update to latest kernel (5-15-5), installed `nvidia-470xx-dkms` (utils headers, etc), and re-tried -> same result
NOTE:
- I don't have a hook for nvidia module, but i did `mkinitcpio -p after building the module. There are no leftovers from nvidia package.
- After b) the xorg log is showing correct driver (470 something)
- I've tried adding option to kernel during start `nvidia-drm<something>modeset=1`.
THis changes a results: instead of having a blackscreen after X starts I'm getting it, sooner, when login prompt (console one) shows.
Here's is the xorg output: http://ix.io/3Gw3
Getting really desperate.
Extra info:
`lspci` shows my card
NVDIA Corporation GM107GLM [Quadro M1000M] rev2, however, calling nvidia-smi, gives blackscreen (in console)
Halp!
Last edited by goodboi (2021-11-30 18:24:12)
Offline
Please remove or disable /etc/X11/xorg.conf and post an updated xorg.log.
Offline
The outcome changed slightly, now I see last outut of the console instead blackscreen and everything is frozen.
Last edited by goodboi (2021-11-29 23:33:12)
Offline
The system has two GPUs and you need to configure how they are used. See NVIDIA_Optimus
Offline
I've tried option `Use NVIDIA graphics only` and it doesn't work. Will check other.
Offline
Did you remember to add the two xrandr lines to .xinitrc? If so please post an updated xorg.log.
Offline
I did, still screen freezes. I've added those line in the beginning of ~/.xinitrc and copy pasted setttings for /X11/xorg.conf.d/20-nvidi.....
http://ix.io/3GwH
I use fluxbox, i put those xinitrc commands before `excec fluxbox` line
Last edited by goodboi (2021-11-30 00:57:52)
Offline
[ 63.002] (--) PCI: (0@0:2:0) 8086:191b:1028:06d9 rev 6, Mem @ 0xdb000000/16777216, 0x70000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072Is the integrated Intel® HD Graphics 530 of the Intel® Core™ i7-6820HQ. I was expecting the display to be connected to that GPU but X does not show any messages related to the iGPU after the initial listing above.
Am I right in my assumption the display is attached the internal GPU?
Offline
Hmm, I have no idea, this is a laptop with single screen, I have no external displays.
How can find out the answer for your question?
Last edited by goodboi (2021-11-30 01:10:12)
Offline
Lets try getting some more information see if it becomes clear what is going wrong.
What is the output of the following
dmesg
lsmodOffline
in the mean time i've checked newer drivers (back from 470xx to 495) and it's exactly the same.
Here is what happens exactly:
1.My tt1 has started and executed X and freezes.
2. I switch to TTY2 and make logs
dmesg: http://ix.io/3GwT
lsmod: http://ix.io/3GwU
xorg: http://ix.io/3GwV
Thanks for your time btw
EDIT:
In BIOS i have 3 options that seem relevant:
'Enable Switchable Graphics': CHECKED
'Enable Dock Display Port' CHECKED
'Discrete Graphics Controller Direct Output Mode': NOT CHECKED
Does that tell you anything?
EDIT 2:
I've run little experiment and when I uncheck all options, the screen goes black.
When options are checked as above 110, the screen freezes.
IDk if that helps ![]()
Last edited by goodboi (2021-11-30 01:41:51)
Offline
From dmesg i915 is the kernel module for the iGPU
[ 0.000000] Linux version 5.15.5-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Thu, 25 Nov 2021 22:09:33 +0000
....
[ 3.110374] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[ 3.111815] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin (v1.27)
[ 3.113897] dell_smm_hwmon dell_smm_hwmon: enabling support for setting automatic/manual fan control
[ 3.113941] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[ 3.148342] i915 0000:00:02.0: [drm] [ENCODER:102:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI clock, gate it
[ 3.148346] i915 0000:00:02.0: [drm] [ENCODER:117:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI clock, gate it
[ 3.148349] i915 0000:00:02.0: [drm] [ENCODER:127:DDI D/PHY D] is disabled/in DSI mode with an ungated DDI clock, gate it
....
[ 5.035703] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
....
[ 5.060582] fbcon: i915 (fb0) is primary device
[ 5.066869] Console: switching to colour frame buffer device 240x67
[ 5.090854] i915 0000:00:02.0: [drm] fb0: i915 frame buffer devicei915 seems to be working at the kernel layer but for some reason X is not detecting it.
'Discrete Graphics Controller Direct Output Mode': NOT CHECKED
If you check that option the Nvidia GPU should then be directly attached the display and X should then work after you undo the changes for `Use NVIDIA graphics only`
Offline
Nope doesn't work.
1. Checked the option in bios
2. Remove the xinitrc lines and /etc/X11/10-nvidia-drm.conf
3. restarted , still freeze
xorg: http://ix.io/3Gx0
Last edited by goodboi (2021-11-30 01:49:31)
Offline
Ok, maybe I'll start with this coz I'm losing my mind.
Which driver i'm even supposed to have?
is it 'nvidia'?
Given that i have `Nvidia Quadro M1000M` ?
Can someone confirm? I've checked list of supported cards and mine is on the list - but maybe I'm dumb, missed something Idk.
Last edited by goodboi (2021-11-30 12:47:59)
Offline
The card should be supported by the standard nvidia package, but it looses the boot display somehow, you probably should report an issue on the nvidia boards, see the following thread as well: https://bbs.archlinux.org/viewtopic.php?id=268195 seems primarily Quadros are affected with a regression since 470. This seems the closest I've found for an upstream thread: https://forums.developer.nvidia.com/t/b … 109312/209
Last edited by V1del (2021-11-30 13:20:30)
Offline
Thx, i've checked hoedur post before this topic.
However his solution involves using nouveau, which is not acceptable for me as I need full power of the GPU for work.
Tried to downgrade too, but some other problems have happened, i will probably try to make a full rollback.
Offline
If the 'Discrete Graphics Controller Direct Output Mode' option doesn't move the eDP to the GPU, there'll be no way around prime and for this we need to establish the intel chip as a working baseline.
So please ignore the nvidia chip for the moment and focus on getting the intel chip to work.
[ 8.261] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 30 02:45:15 2021
…
Using the first device section listed.
[ 8.264] (**) | |-->Device "nvidia"
There's a configlet referencing the nvidia chip lingering around.
ls /{etc,usr/share}/X11/xorg.conf*Offline
contents are:
`ls /etcX11`
xinit
xorg.conf.d
xorg.conf.nvdia-xconfig-original # -> u want me to remove this?ls `/usr/share/X11`
app-defaults
locale
Xcms.txt
XErrorDB
xkb
xorg.conf.dEDIT:
Ok GOT IT
There were two files
- single file in `/etc/X11/xorg.conf.d/20-nvidia.conf`
- and /etc/X11/xorg.conf.nvdia-xconfig-original`
which has a declared nvidia device, and i didn't belong to any package
I've deleted it and X starts!!!!
/etc/X11/xorg.conf.d/20-nvidia.conf
Section "Device"
Identifier "nvidia"
Driver "nvidia"
EndSectiondeleted that file, it looked soo innocent.
I will proceed with checkes on latest drivers mentioned in the name of this thread.
EDIT2:
I guess it make sense to advice to morons like me, following thing:
pacman -Qo * /etc/X11/xorg.conf.d
pacman -Qo * /etc/X11/*
pacman -Qo * /X11/xorg.conf.d/*
pacman -Qo * /usr/share/X11/*And report any thing suspicious there. I don't even know how this `20-nvidia` even came here, must have been years ago, maybe it even wasn't me.
Last edited by goodboi (2021-11-30 18:16:01)
Offline
Ok I've update the drivers to latest along with latest kernel in stable branch.
It works.
To reiterate:
Nvidia Quadro M1000M on 495.44 driver, linux-lts 5.10.82nvidia-smi gives an info that GPU is used by Xorg soo, it means that my GPU is working too (unless i'm a bigger moron)
->
No Nvidia OPTIMUS configuration, no nothing.
Cleaned the damned Xorg configs (the xorg.conf wasn't the only)
Jesus fcking christ
marking as solved.
Fat Thanks to you guys!
Last edited by goodboi (2021-11-30 18:25:14)
Offline
If you have any doubts, fee free to post an updated xorg log.
Jesus fcking christ
Offline
Among many things i don't understand is this:
Why my laptop has worked for so many years without me even knowing thing like NVIDIA Optimus exists?
I was using GPU for sure, even thingies like tensorflow. Does it mine i was always using GPU?
Offline
Without access to an older xorg log, it's impossible to say what did happen - we can at best comment on the status quo (provided a current log ;-)
The oldest log in this thread used the nvidia-settings generated static server config to run on the nvidia chip, but fails because there're no outputs attached.
This cannot have worked before.
Did you previously have xf86-video-intel installed?
Offline
From what I'm thinking xorg 1.21 seems to have gotten more strict about it's device sections and won't assign the driver correctly if you have a device not actually providing anything that would identify an actual device. There was a thread somewhere that I can't be arsed to dig out where bumblebee and other optimus setups broke because their configs didn't use BusID or similar to identify devices.
Offline
Shiny new Xorg.log
http://ix.io/3GCX
Offline
You're running the modesetting driver on the intel chip - where the eDP is attached.
If you want to invoke the nvidia chip for a game or so, see https://archlinux.org/packages/extra/any/nvidia-prime/
Offline