You are not logged in.
Hi, I have :
Linux erfan 5.9.14-arch1-1 x86_64 unknown
^^>>> lspci -k | grep -A 3 -E VGA 16:17:56
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
Subsystem: Lenovo Device 5003
Kernel driver in use: i915
Kernel modules: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce 610M] (rev a1)
Subsystem: Lenovo Device 5003
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
Also here is my neofetch :
^^>>> neofetch
erfan@erfan
-----------
OS: Arch Linux x86_64
Host: 20160 Lenovo V580c
Kernel: 5.9.14-arch1-1
Shell: fish 3.1.2
Resolution: 1366x768, 1920x1080
DE: GNOME 3.38.2
WM: Mutter
CPU: Intel i5-3210M (4) @ 3.100GHz
GPU: NVIDIA GeForce 610M
GPU: Intel 3rd Gen Core processor Graphics Controller
Memory: 2397MiB / 11735MiB
I have hybrid graphics, intel HD 4000 garphics which is on-board CPU graphic, and also Nvidia GF119M (GeForce 610M),
Now my aim is to set Nvidia as my main graphics processor so that my CPU can rest and not get involved in rendering graphics stuff,
I tried to install nvidia-390xx-dkms and remove xf86-video-nouvea, it also shows that driver in-use for my nvidia card is nvidia, not nouveau, but when i try nvidia-smi :
Tue Dec 15 16:41:20 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.138 Driver Version: 390.138 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce 610M Off | 00000000:01:00.0 N/A | N/A |
| N/A 39C P0 N/A / N/A | 0MiB / 964MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 Not Supported |
+-----------------------------------------------------------------------------+
I also do have to mention that previously i was able to get it to work and nvidia-smi was able to tell me the usage (around 6 months ago, also by installing same packages !)
I tried to use nvidia-settings, but it simply dont start and tells me to run nvidia-xconfig, which generates xorg.conf file and when i reboot, i just got blank black screen so i have to enter tty and delete generated xorg.conf file and reboot to see my GDM again
By reading arch wiki, i also have installed optimus and bumblebee, but they dont serve the purpose i want, i want to set nvidia as my primary and intel as secondary, so that when nvidia lacks, intel would get into work
Tell me to post any logs if it could be helpful, I also do have to ask if there is any dedicated driver for Intel HD 4000 Graphics other than xf86-video-intel ? cause i suppose it's like nouveau a mess, and would be better if i insall dedicated kernel driver for it
Thanks for your attention
Last edited by erfanjoker (2020-12-19 22:47:49)
Offline
There's nothing wrong w/ the nvidia-smi output, read https://wiki.archlinux.org/index.php/NVIDIA_Optimus and specifically https://wiki.archlinux.org/index.php/NV … phics_only
Bumblebee is for dynamically invoking the nvidia chip.
If your HW allows to disable the IGP in the BIOS, that would be the preferable solution (because you won't have to worry about redirecting the output, ie. reverse prime)
Offline
My glxinfo | grep NVIDIA returns empty,
I also do have two files in :
/usr/share/gdm/greeter/autostart/optimus.desktop
/etc/xdg/autostart/optimus.desktop
With these contents :
[Desktop Entry]
Type=Application
Name=Optimus
Exec=sh -c "xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto"
NoDisplay=true
X-GNOME-Autostart-Phase=DisplayServer
I also do have to mention that i choose Gnome on Xorg in GDM options, so i suppose there is no need for this
I checked bios, there is no option for GPU, the only option that is available is there are two options for choosing between integrated graphics vs switchable graphics which is set to switchable graphics, my BIOS even doesn't show me the model of GPU's that i have
According to the config that i made for gdm, it should use Nvidia Only, but it isn't, As the nvidia-smi says "Not Supported" and its usage is 0MB
note: I don't want deciding on fly as bumblebee offers, I just want Nvidia to be used, No sign of intel hd 4000 unless nvidia gets full and out of vram
Last edited by erfanjoker (2020-12-15 14:20:44)
Offline
According to the config that i made for gdm, it should use Nvidia Only
No, please read the links I posted.
Offline
According to the config that i made for gdm, it should use Nvidia Only
No, please read the links I posted.
I tried to put these in ~/.xinitrc , seems like they are not getting executed, but i also executed manually :
^^>>> xrandr --setprovideroutputsource modesetting NVIDIA-0 18:27:29
Could not find provider with name NVIDIA-0
Offline
xrandr --listproviders
GDM doesn't interpret the xinitrc - read on in the article…
Offline
xrandr --listproviders
GDM doesn't interpret the xinitrc - read on in the article…
I linked xinitrc to xsession which i read is getting executed, but the problem isn't that, it's nvidia itself :
^^>>> xrandr --listproviders 18:54:40
Providers: number : 1
Provider 0: id: 0x46 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:modesetting
Offline
Offline
Here is log for Xorg.0.log : https://paste.centos.org/view/69bcf57c
Here is log for Xorg.0.log.old : https://paste.centos.org/view/a90b6190
Here is log for Xorg.8.log : https://paste.centos.org/view/25ef2ef9
Here is log for Xorg.8.log.old : https://paste.centos.org/view/28115f69
Offline
[ 3092.306] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 11 20:52:34 2020
Old log because GDM store the X11 log in the journal (as is explained in the link I posted - you should really start reading those…)
Offline
[ 3092.306] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 11 20:52:34 2020
Old log because GDM store the X11 log in the journal (as is explained in the link I posted - you should really start reading those…)
Can i ask why gdm is different ? Cause it is a service ? Do all systemd service use journal to store logs ? (eg: tor, gdm, ...)
Here is journal -exfu gdm : https://paste.centos.org/view/a6b5086f
Offline
That's a journal filtered for GDM, it doesn't even include the xorg log (and please never use the "-x" parameter, it just adds useless clutter)
For your other question, the only reason GDM does that is gnome being gnome…
Offline
That's a journal filtered for GDM, it doesn't even include the xorg log (and please never use the "-x" parameter, it just adds useless clutter)
For your other question, the only reason GDM does that is gnome being gnome…
Here is my journalctl -ef : https://paste.centos.org/view/ac744d2f
Offline
Which doesn't include the xorg log either (but a lot of unspecific nautilus errors…) because it either starts too late and/or is the session journal.
Try again.
Offline
Which doesn't include the xorg log either (but a lot of unspecific nautilus errors…) because it either starts too late and/or is the session journal.
Try again.
What command should i run to get xorg log of gdm ? Do i have to reboot to generate log ? I suppose xorg logs were the ones i posted before but they are not gdm's
And apparently, my nautilus works fine, the connect() errors are just i dont know what for, but i have no problem with it, could this be related to this gtk file chooser problem ?
Offline
https://wiki.archlinux.org/index.php/Systemd/Journal
https://wiki.archlinux.org/index.php/Sy … ing_output
https://www.reddit.com/r/archlinux/comm … _log_file/
Full access to the journal requires yo to be root or member in special groups, https://wiki.archlinux.org/index.php/Us … Group_list
Offline
https://wiki.archlinux.org/index.php/Systemd/Journal
https://wiki.archlinux.org/index.php/Sy … ing_output
https://www.reddit.com/r/archlinux/comm … _log_file/Full access to the journal requires yo to be root or member in special groups, https://wiki.archlinux.org/index.php/Us … Group_list
Thanks for guidence, here is : sudo journalctl --since "1 day ago" : https://mega.nz/file/ungDHYwA#oZhFsLCo1 … rQFNwMBTIc
But it's nearly 3Mb so i grepped these :
^^>>> sudo journalctl --since "1 day ago" | grep -i xorg 01:57:38
Dec 16 17:00:15 erfan /usr/lib/gdm-x-session[594]: (--) Log file renamed from "/var/lib/gdm/.local/share/xorg/Xorg.pid-594.log" to "/var/lib/gdm/.local/share/xorg/Xorg.0.log"
Dec 16 17:00:15 erfan /usr/lib/gdm-x-session[594]: (WW) Failed to open protocol names file lib/xorg/protocol.txt
Dec 16 17:00:15 erfan /usr/lib/gdm-x-session[594]: (==) Log file: "/var/lib/gdm/.local/share/xorg/Xorg.0.log", Time: Wed Dec 16 17:00:15 2020
Dec 16 17:00:15 erfan /usr/lib/gdm-x-session[594]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Dec 16 17:00:15 erfan /usr/lib/gdm-x-session[594]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Dec 16 17:00:15 erfan /usr/lib/gdm-x-session[594]: (==) ModulePath set to "/usr/lib/xorg/modules"
Dec 16 17:00:15 erfan /usr/lib/gdm-x-session[594]: (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
Dec 16 17:00:15 erfan /usr/lib/gdm-x-session[594]: (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
Dec 16 17:00:15 erfan /usr/lib/gdm-x-session[594]: (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
Dec 16 17:00:15 erfan /usr/lib/gdm-x-session[594]: (II) Loading /usr/lib/xorg/modules/libglamoregl.so
Dec 16 17:00:16 erfan /usr/lib/gdm-x-session[594]: (II) Loading /usr/lib/xorg/modules/libfb.so
Dec 16 17:00:16 erfan /usr/lib/gdm-x-session[594]: (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
Dec 16 17:00:16 erfan /usr/lib/gdm-x-session[594]: (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
Dec 16 17:00:31 erfan /usr/lib/gdm-x-session[889]: (--) Log file renamed from "/home/erfan/.local/share/xorg/Xorg.pid-889.log" to "/home/erfan/.local/share/xorg/Xorg.1.log"
Dec 16 17:00:31 erfan /usr/lib/gdm-x-session[889]: (WW) Failed to open protocol names file lib/xorg/protocol.txt
Dec 16 17:00:31 erfan /usr/lib/gdm-x-session[889]: (==) Log file: "/home/erfan/.local/share/xorg/Xorg.1.log", Time: Wed Dec 16 17:00:31 2020
Dec 16 17:00:31 erfan /usr/lib/gdm-x-session[889]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Dec 16 17:00:31 erfan /usr/lib/gdm-x-session[889]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Dec 16 17:00:31 erfan /usr/lib/gdm-x-session[889]: (==) ModulePath set to "/usr/lib/xorg/modules"
Dec 16 17:00:31 erfan /usr/lib/gdm-x-session[889]: (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
Dec 16 17:00:31 erfan /usr/lib/gdm-x-session[889]: (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
Dec 16 17:00:31 erfan /usr/lib/gdm-x-session[889]: (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
Dec 16 17:00:31 erfan /usr/lib/gdm-x-session[889]: (II) Loading /usr/lib/xorg/modules/libglamoregl.so
Dec 16 17:00:31 erfan /usr/lib/gdm-x-session[889]: (II) Loading /usr/lib/xorg/modules/libfb.so
Dec 16 17:00:31 erfan /usr/lib/gdm-x-session[889]: (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
Dec 16 17:00:32 erfan /usr/lib/gdm-x-session[889]: (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
Dec 16 18:45:18 erfan /usr/lib/gdm-x-session[584]: (--) Log file renamed from "/var/lib/gdm/.local/share/xorg/Xorg.pid-584.log" to "/var/lib/gdm/.local/share/xorg/Xorg.0.log"
Dec 16 18:45:18 erfan /usr/lib/gdm-x-session[584]: (WW) Failed to open protocol names file lib/xorg/protocol.txt
Dec 16 18:45:18 erfan /usr/lib/gdm-x-session[584]: (==) Log file: "/var/lib/gdm/.local/share/xorg/Xorg.0.log", Time: Wed Dec 16 18:45:18 2020
Dec 16 18:45:18 erfan /usr/lib/gdm-x-session[584]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Dec 16 18:45:18 erfan /usr/lib/gdm-x-session[584]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Dec 16 18:45:18 erfan /usr/lib/gdm-x-session[584]: (==) ModulePath set to "/usr/lib/xorg/modules"
Dec 16 18:45:19 erfan /usr/lib/gdm-x-session[584]: (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
Dec 16 18:45:19 erfan /usr/lib/gdm-x-session[584]: (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
Dec 16 18:45:19 erfan /usr/lib/gdm-x-session[584]: (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
Dec 16 18:45:19 erfan /usr/lib/gdm-x-session[584]: (II) Loading /usr/lib/xorg/modules/libglamoregl.so
Dec 16 18:45:19 erfan /usr/lib/gdm-x-session[584]: (II) Loading /usr/lib/xorg/modules/libfb.so
Dec 16 18:45:20 erfan /usr/lib/gdm-x-session[584]: (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
Dec 16 18:45:20 erfan /usr/lib/gdm-x-session[584]: (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
Dec 16 19:48:25 erfan /usr/lib/gdm-x-session[1122]: (--) Log file renamed from "/home/erfan/.local/share/xorg/Xorg.pid-1122.log" to "/home/erfan/.local/share/xorg/Xorg.1.log"
Dec 16 19:48:25 erfan /usr/lib/gdm-x-session[1122]: (WW) Failed to open protocol names file lib/xorg/protocol.txt
Dec 16 19:48:25 erfan /usr/lib/gdm-x-session[1122]: (==) Log file: "/home/erfan/.local/share/xorg/Xorg.1.log", Time: Wed Dec 16 19:48:25 2020
Dec 16 19:48:25 erfan /usr/lib/gdm-x-session[1122]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Dec 16 19:48:25 erfan /usr/lib/gdm-x-session[1122]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Dec 16 19:48:25 erfan /usr/lib/gdm-x-session[1122]: (==) ModulePath set to "/usr/lib/xorg/modules"
Dec 16 19:48:25 erfan /usr/lib/gdm-x-session[1122]: (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
Dec 16 19:48:25 erfan /usr/lib/gdm-x-session[1122]: (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
Dec 16 19:48:25 erfan /usr/lib/gdm-x-session[1122]: (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
Dec 16 19:48:25 erfan /usr/lib/gdm-x-session[1122]: (II) Loading /usr/lib/xorg/modules/libglamoregl.so
Dec 16 19:48:25 erfan /usr/lib/gdm-x-session[1122]: (II) Loading /usr/lib/xorg/modules/libfb.so
Dec 16 19:48:25 erfan /usr/lib/gdm-x-session[1122]: (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
Dec 16 19:48:26 erfan /usr/lib/gdm-x-session[1122]: (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
^^>>> sudo journalctl --since "1 day ago" | grep -i nvidia 01:57:43
Dec 16 17:00:15 erfan kernel: nvidia: module license 'NVIDIA' taints kernel.
Dec 16 17:00:15 erfan kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 235
Dec 16 17:00:15 erfan kernel: nvidia 0000:01:00.0: enabling device (0000 -> 0003)
Dec 16 17:00:15 erfan kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
Dec 16 17:00:15 erfan kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 390.138 Thu May 14 01:01:53 PDT 2020 (using threaded interrupts)
Dec 16 17:00:16 erfan optimus.desktop[643]: Could not find provider with name NVIDIA-0
Dec 16 17:00:32 erfan optimus.desktop[974]: Could not find provider with name NVIDIA-0
Dec 16 18:45:19 erfan kernel: nvidia: module license 'NVIDIA' taints kernel.
Dec 16 18:45:19 erfan kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 235
Dec 16 18:45:19 erfan kernel: nvidia 0000:01:00.0: enabling device (0000 -> 0003)
Dec 16 18:45:19 erfan kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
Dec 16 18:45:19 erfan kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 390.138 Thu May 14 01:01:53 PDT 2020 (using threaded interrupts)
Dec 16 18:45:20 erfan optimus.desktop[633]: Could not find provider with name NVIDIA-0
Dec 16 19:48:26 erfan optimus.desktop[1210]: Could not find provider with name NVIDIA-0
Last edited by erfanjoker (2020-12-16 22:32:26)
Offline
Looking at the complete journal (which now contains several xorg logs) it does not see you created the /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf as described in the link I posted in comment #2
Offline
Looking at the complete journal (which now contains several xorg logs) it does not see you created the /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf as described in the link I posted in comment #2
^^>>> cat /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf 20:56:44
Section "OutputClass"
Identifier "intel"
MatchDriver "i915"
Driver "modesetting"
EndSection
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
ModulePath "/usr/lib/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
EndSection
Also have to mention that i installed nvidia-390xx-dkms and nvidia-390xx-settings and nvidia-390xx-utils and lib32-nvidia-390xx-utils
I also have to mention that i have bumblebee and primus packages installed and i have enabled and autostarted bumbleed.service, could it be related to bumblee that my nvidia is getting blocked or not used ?
Last edited by erfanjoker (2020-12-17 17:29:54)
Offline
Bumblebee or rather bbswitch might power off the device (but iirc that's not the case in your journal) but
Option "PrimaryGPU" "yes"
is missing from the posted file.
Offline
Bumblebee or rather bbswitch might power off the device (but iirc that's not the case in your journal) but
Option "PrimaryGPU" "yes"
is missing from the posted file.
I have disabled bumblebeed.service, also added Option "PrimaryGPU" "yes" :
^^>>> cat /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf 05:34:51
Section "OutputClass"
Identifier "intel"
MatchDriver "i915"
Driver "modesetting"
EndSection
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "PrimaryGPU" "yes"
ModulePath "/usr/lib/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
EndSection
here is complete journal since 1 day : https://mega.nz/file/vioCyRBC#JqrchSXlg … qaY4-kFV5Y
and here are grepped ones :
^^>>> sudo journalctl --since "1 day ago" | grep -i nvidia 05:36:10
Dec 17 20:46:45 erfan kernel: nvidia: module license 'NVIDIA' taints kernel.
Dec 17 20:46:45 erfan kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 235
Dec 17 20:46:45 erfan kernel: nvidia 0000:01:00.0: enabling device (0000 -> 0003)
Dec 17 20:46:45 erfan kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
Dec 17 20:46:45 erfan kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 390.138 Thu May 14 01:01:53 PDT 2020 (using threaded interrupts)
Dec 17 20:46:46 erfan optimus.desktop[640]: Could not find provider with name NVIDIA-0
Dec 17 20:50:06 erfan optimus.desktop[992]: Could not find provider with name NVIDIA-0
Dec 18 02:24:52 erfan dbus-daemon[513]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.166' (uid=0 pid=43407 comm="sudo nano /etc/X11/xorg.conf.d/10-nvidia-drm-outpu")
Dec 18 02:24:52 erfan sudo[43407]: erfan : TTY=pts/1 ; PWD=/home/erfan ; USER=root ; COMMAND=/usr/bin/nano /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
Dec 18 05:32:33 erfan kernel: nvidia: module license 'NVIDIA' taints kernel.
Dec 18 05:32:33 erfan kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 235
Dec 18 05:32:33 erfan kernel: nvidia 0000:01:00.0: enabling device (0000 -> 0003)
Dec 18 05:32:33 erfan kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
Dec 18 05:32:33 erfan kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 390.138 Thu May 14 01:01:53 PDT 2020 (using threaded interrupts)
Dec 18 05:32:34 erfan optimus.desktop[658]: Could not find provider with name NVIDIA-0
Dec 18 05:32:52 erfan optimus.desktop[991]: Could not find provider with name NVIDIA-0
^^>>> sudo journalctl --since "1 day ago" | grep -i xorg 05:38:08
Dec 17 20:46:45 erfan /usr/lib/gdm-x-session[591]: (--) Log file renamed from "/var/lib/gdm/.local/share/xorg/Xorg.pid-591.log" to "/var/lib/gdm/.local/share/xorg/Xorg.0.log"
Dec 17 20:46:45 erfan /usr/lib/gdm-x-session[591]: (WW) Failed to open protocol names file lib/xorg/protocol.txt
Dec 17 20:46:45 erfan /usr/lib/gdm-x-session[591]: (==) Log file: "/var/lib/gdm/.local/share/xorg/Xorg.0.log", Time: Thu Dec 17 20:46:45 2020
Dec 17 20:46:45 erfan /usr/lib/gdm-x-session[591]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Dec 17 20:46:45 erfan /usr/lib/gdm-x-session[591]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Dec 17 20:46:45 erfan /usr/lib/gdm-x-session[591]: (==) ModulePath set to "/usr/lib/xorg/modules"
Dec 17 20:46:45 erfan /usr/lib/gdm-x-session[591]: (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
Dec 17 20:46:45 erfan /usr/lib/gdm-x-session[591]: (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
Dec 17 20:46:45 erfan /usr/lib/gdm-x-session[591]: (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
Dec 17 20:46:45 erfan /usr/lib/gdm-x-session[591]: (II) Loading /usr/lib/xorg/modules/libglamoregl.so
Dec 17 20:46:46 erfan /usr/lib/gdm-x-session[591]: (II) Loading /usr/lib/xorg/modules/libfb.so
Dec 17 20:46:46 erfan /usr/lib/gdm-x-session[591]: (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
Dec 17 20:46:46 erfan /usr/lib/gdm-x-session[591]: (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
Dec 17 20:50:05 erfan /usr/lib/gdm-x-session[904]: (--) Log file renamed from "/home/erfan/.local/share/xorg/Xorg.pid-904.log" to "/home/erfan/.local/share/xorg/Xorg.1.log"
Dec 17 20:50:05 erfan /usr/lib/gdm-x-session[904]: (WW) Failed to open protocol names file lib/xorg/protocol.txt
Dec 17 20:50:05 erfan /usr/lib/gdm-x-session[904]: (==) Log file: "/home/erfan/.local/share/xorg/Xorg.1.log", Time: Thu Dec 17 20:50:05 2020
Dec 17 20:50:05 erfan /usr/lib/gdm-x-session[904]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Dec 17 20:50:05 erfan /usr/lib/gdm-x-session[904]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Dec 17 20:50:05 erfan /usr/lib/gdm-x-session[904]: (==) ModulePath set to "/usr/lib/xorg/modules"
Dec 17 20:50:05 erfan /usr/lib/gdm-x-session[904]: (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
Dec 17 20:50:05 erfan /usr/lib/gdm-x-session[904]: (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
Dec 17 20:50:05 erfan /usr/lib/gdm-x-session[904]: (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
Dec 17 20:50:05 erfan /usr/lib/gdm-x-session[904]: (II) Loading /usr/lib/xorg/modules/libglamoregl.so
Dec 17 20:50:05 erfan /usr/lib/gdm-x-session[904]: (II) Loading /usr/lib/xorg/modules/libfb.so
Dec 17 20:50:05 erfan /usr/lib/gdm-x-session[904]: (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
Dec 17 20:50:05 erfan /usr/lib/gdm-x-session[904]: (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
Dec 18 02:24:52 erfan dbus-daemon[513]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.166' (uid=0 pid=43407 comm="sudo nano /etc/X11/xorg.conf.d/10-nvidia-drm-outpu")
Dec 18 02:24:52 erfan sudo[43407]: erfan : TTY=pts/1 ; PWD=/home/erfan ; USER=root ; COMMAND=/usr/bin/nano /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
Dec 18 05:32:32 erfan /usr/lib/gdm-x-session[609]: (--) Log file renamed from "/var/lib/gdm/.local/share/xorg/Xorg.pid-609.log" to "/var/lib/gdm/.local/share/xorg/Xorg.0.log"
Dec 18 05:32:32 erfan /usr/lib/gdm-x-session[609]: (WW) Failed to open protocol names file lib/xorg/protocol.txt
Dec 18 05:32:32 erfan /usr/lib/gdm-x-session[609]: (==) Log file: "/var/lib/gdm/.local/share/xorg/Xorg.0.log", Time: Fri Dec 18 05:32:32 2020
Dec 18 05:32:32 erfan /usr/lib/gdm-x-session[609]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Dec 18 05:32:32 erfan /usr/lib/gdm-x-session[609]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Dec 18 05:32:32 erfan /usr/lib/gdm-x-session[609]: (==) ModulePath set to "/usr/lib/xorg/modules"
Dec 18 05:32:32 erfan /usr/lib/gdm-x-session[609]: (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
Dec 18 05:32:32 erfan /usr/lib/gdm-x-session[609]: (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
Dec 18 05:32:32 erfan /usr/lib/gdm-x-session[609]: (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
Dec 18 05:32:32 erfan /usr/lib/gdm-x-session[609]: (II) Loading /usr/lib/xorg/modules/libglamoregl.so
Dec 18 05:32:33 erfan /usr/lib/gdm-x-session[609]: (II) Loading /usr/lib/xorg/modules/libfb.so
Dec 18 05:32:33 erfan /usr/lib/gdm-x-session[609]: (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
Dec 18 05:32:34 erfan /usr/lib/gdm-x-session[609]: (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
Dec 18 05:32:52 erfan /usr/lib/gdm-x-session[904]: (--) Log file renamed from "/home/erfan/.local/share/xorg/Xorg.pid-904.log" to "/home/erfan/.local/share/xorg/Xorg.1.log"
Dec 18 05:32:52 erfan /usr/lib/gdm-x-session[904]: (WW) Failed to open protocol names file lib/xorg/protocol.txt
Dec 18 05:32:52 erfan /usr/lib/gdm-x-session[904]: (==) Log file: "/home/erfan/.local/share/xorg/Xorg.1.log", Time: Fri Dec 18 05:32:52 2020
Dec 18 05:32:52 erfan /usr/lib/gdm-x-session[904]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Dec 18 05:32:52 erfan /usr/lib/gdm-x-session[904]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Dec 18 05:32:52 erfan /usr/lib/gdm-x-session[904]: (==) ModulePath set to "/usr/lib/xorg/modules"
Dec 18 05:32:52 erfan /usr/lib/gdm-x-session[904]: (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
Dec 18 05:32:52 erfan /usr/lib/gdm-x-session[904]: (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
Dec 18 05:32:52 erfan /usr/lib/gdm-x-session[904]: (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
Dec 18 05:32:52 erfan /usr/lib/gdm-x-session[904]: (II) Loading /usr/lib/xorg/modules/libglamoregl.so
Dec 18 05:32:52 erfan /usr/lib/gdm-x-session[904]: (II) Loading /usr/lib/xorg/modules/libfb.so
Dec 18 05:32:52 erfan /usr/lib/gdm-x-session[904]: (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
Dec 18 05:32:52 erfan /usr/lib/gdm-x-session[904]: (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
^^>>> sudo journalctl --since "1 day ago" | grep -i bumblebee 05:38:26
Dec 17 20:46:43 erfan systemd[1]: Started Bumblebee C Daemon.
Dec 17 20:46:43 erfan audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bumblebeed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 17 20:46:43 erfan kernel: audit: type=1130 audit(1608225403.962:26): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bumblebeed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 17 20:46:44 erfan bumblebeed[518]: modprobe: FATAL: Module bbswitch not found in directory /lib/modules/5.9.14-arch1-1
Dec 17 20:46:44 erfan bumblebeed[512]: [ 5.261101] [ERROR]Module bbswitch could not be loaded (timeout?)
Dec 17 20:46:44 erfan bumblebeed[512]: [ 5.261120] [WARN]No switching method available. The dedicated card will always be on.
Dec 17 20:46:44 erfan bumblebeed[512]: [ 5.263111] [INFO]/usr/bin/bumblebeed 3.2.1 started
Dec 18 02:24:22 erfan dbus-daemon[513]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.165' (uid=0 pid=43348 comm="sudo systemctl disable bumblebeed.service ")
Dec 18 02:24:22 erfan sudo[43348]: erfan : TTY=pts/1 ; PWD=/home/erfan ; USER=root ; COMMAND=/usr/bin/systemctl disable bumblebeed.service
Dec 18 05:30:32 erfan systemd[1]: Stopping Bumblebee C Daemon...
Dec 18 05:30:32 erfan bumblebeed[512]: [31434.153503] [WARN]Received Terminated signal.
Dec 18 05:30:32 erfan systemd[1]: bumblebeed.service: Succeeded.
Dec 18 05:30:32 erfan audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bumblebeed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 18 05:30:32 erfan kernel: audit: type=1131 audit(1608256832.946:319): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bumblebeed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 18 05:30:32 erfan systemd[1]: Stopped Bumblebee C Daemon.
Offline
The nvidia module only loads during the X11 startup, https://wiki.archlinux.org/index.php/NV … de_setting (you want the kernel parameter but esp. put the modules into the initramfs)
Offline
The nvidia module only loads during the X11 startup, https://wiki.archlinux.org/index.php/NV … de_setting (you want the kernel parameter but esp. put the modules into the initramfs)
Thanks, I {added nvidia-drm.modeset=1 to kernel paramteres in grub, right now it seems to be working fine as nvidia-smi show :
^^>>> nvidia-smi 18:10:30
Fri Dec 18 18:10:34 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.138 Driver Version: 390.138 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce 610M Off | 00000000:01:00.0 N/A | N/A |
| N/A 45C P0 N/A / N/A | 431MiB / 964MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 Not Supported |
+-----------------------------------------------------------------------------+
It shows usage , but i just dont know why it says unsupported
and also right now in chromium im using, im experiencing some lags (i didnt have this before, i dont know if its gpu related or not, but it freezes and even cursor doesn't move for 2-3 secs then it works), how can we debug that ?
also FYI, here is new log grepped nvidia :
Dec 18 18:06:37 erfan kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=47478bcc-34d3-4a74-ac8f-eb915eab809d rw loglevel=3 quiet nvidia-drm.modeset=1
Dec 18 18:06:37 erfan kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=47478bcc-34d3-4a74-ac8f-eb915eab809d rw loglevel=3 quiet nvidia-drm.modeset=1
Dec 18 18:06:39 erfan kernel: nvidia: module license 'NVIDIA' taints kernel.
Dec 18 18:06:39 erfan kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 235
Dec 18 18:06:39 erfan kernel: nvidia 0000:01:00.0: enabling device (0000 -> 0003)
Dec 18 18:06:39 erfan kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
Dec 18 18:06:39 erfan kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 390.138 Thu May 14 01:01:53 PDT 2020 (using threaded interrupts)
Dec 18 18:06:39 erfan kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 390.138 Thu May 14 04:02:47 PDT 2020
Dec 18 18:06:39 erfan kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
Dec 18 18:06:39 erfan kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=47478bcc-34d3-4a74-ac8f-eb915eab809d rw loglevel=3 quiet nvidia-drm.modeset=1
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (**) OutputClass "nvidia" setting /dev/dri/card1 as PrimaryGPU
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) Loading /usr/lib/nvidia/xorg/libglx.so
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) Module glx: vendor="NVIDIA Corporation"
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA GLX Module 390.138 Thu May 14 03:57:24 PDT 2020
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) Applying OutputClass "nvidia" to /dev/dri/card1
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: loading driver: nvidia
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) Applying OutputClass "nvidia" to /dev/dri/card1
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: loading driver: nvidia
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (==) Matched nvidia as autoconfigured driver 0
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) LoadModule: "nvidia"
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) Module nvidia: vendor="NVIDIA Corporation"
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA dlloader X Driver 390.138 Thu May 14 03:33:57 PDT 2020
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): Creating default Display subsection in Screen section
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (==) NVIDIA(0): RGB weight 888
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (==) NVIDIA(0): Default visual is TrueColor
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) Applying OutputClass "nvidia" options to /dev/dri/card1
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) Applying OutputClass "nvidia" options to /dev/dri/card1
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (**) NVIDIA(0): Enabling 2D acceleration
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(0): CRT-0 (boot)
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): NVIDIA GPU GeForce 610M (GF119) at PCI:1:0:0 (GPU-0)
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(0): Memory: 1048576 kBytes
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(0): VideoBIOS: 75.19.3d.00.05
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): Detected PCI Express Link width: 16X
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0): CRT-0: connected
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0):
Dec 18 18:06:40 erfan kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device VGA-0
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (==) NVIDIA(0):
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (==) NVIDIA(0): will be used as the requested mode.
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (==) NVIDIA(0):
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): Validated MetaModes:
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): "CRT-0:nvidia-auto-select"
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (WW) NVIDIA(0): CRT-0 does not have an EDID, or its EDID does not contain a
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (WW) NVIDIA(0): maximum image size; cannot compute DPI from CRT-0's EDID.
Dec 18 18:06:40 erfan /usr/lib/gdm-x-session[610]: (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA: access.
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): configuration option may not be set correctly. When the
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): Config Options in the README.
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): Setting mode "CRT-0:nvidia-auto-select"
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (==) NVIDIA(0): Disabling shared memory pixmaps
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (==) NVIDIA(0): Backing store enabled
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (==) NVIDIA(0): Silken mouse disabled
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (==) NVIDIA(0): DPMS enabled
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (WW) NVIDIA(0): Option "PrimaryGPU" is not used
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): [DRI2] Setup complete
Dec 18 18:06:41 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
Dec 18 18:06:42 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0): CRT-0: connected
Dec 18 18:06:42 erfan kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device VGA-0
Dec 18 18:06:42 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
Dec 18 18:06:42 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0):
Dec 18 18:06:42 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0): CRT-0: connected
Dec 18 18:06:42 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
Dec 18 18:06:42 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0):
Dec 18 18:06:42 erfan kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device VGA-0
Dec 18 18:06:42 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0): CRT-0: connected
Dec 18 18:06:42 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
Dec 18 18:06:42 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0):
Dec 18 18:06:42 erfan kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device VGA-0
Dec 18 18:06:44 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0): CRT-0: connected
Dec 18 18:06:44 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
Dec 18 18:06:44 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0):
Dec 18 18:06:44 erfan kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device VGA-0
Dec 18 18:06:44 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0): CRT-0: connected
Dec 18 18:06:44 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
Dec 18 18:06:44 erfan /usr/lib/gdm-x-session[610]: (--) NVIDIA(GPU-0):
Dec 18 18:06:44 erfan kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device VGA-0
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=47478bcc-34d3-4a74-ac8f-eb915eab809d rw loglevel=3 quiet nvidia-drm.modeset=1
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (**) OutputClass "nvidia" setting /dev/dri/card1 as PrimaryGPU
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) Loading /usr/lib/nvidia/xorg/libglx.so
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) Module glx: vendor="NVIDIA Corporation"
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA GLX Module 390.138 Thu May 14 03:57:24 PDT 2020
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) Applying OutputClass "nvidia" to /dev/dri/card1
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: loading driver: nvidia
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) Applying OutputClass "nvidia" to /dev/dri/card1
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: loading driver: nvidia
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (==) Matched nvidia as autoconfigured driver 0
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) LoadModule: "nvidia"
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) Module nvidia: vendor="NVIDIA Corporation"
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA dlloader X Driver 390.138 Thu May 14 03:33:57 PDT 2020
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): Creating default Display subsection in Screen section
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (==) NVIDIA(0): RGB weight 888
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (==) NVIDIA(0): Default visual is TrueColor
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) Applying OutputClass "nvidia" options to /dev/dri/card1
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) Applying OutputClass "nvidia" options to /dev/dri/card1
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (**) NVIDIA(0): Enabling 2D acceleration
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(0): CRT-0 (boot)
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): NVIDIA GPU GeForce 610M (GF119) at PCI:1:0:0 (GPU-0)
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(0): Memory: 1048576 kBytes
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(0): VideoBIOS: 75.19.3d.00.05
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): Detected PCI Express Link width: 16X
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0): CRT-0: connected
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0):
Dec 18 18:06:53 erfan kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device VGA-0
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (==) NVIDIA(0):
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (==) NVIDIA(0): will be used as the requested mode.
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (==) NVIDIA(0):
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): Validated MetaModes:
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): "CRT-0:nvidia-auto-select"
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (WW) NVIDIA(0): CRT-0 does not have an EDID, or its EDID does not contain a
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (WW) NVIDIA(0): maximum image size; cannot compute DPI from CRT-0's EDID.
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA: access.
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): configuration option may not be set correctly. When the
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): Config Options in the README.
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): Setting mode "CRT-0:nvidia-auto-select"
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (==) NVIDIA(0): Disabling shared memory pixmaps
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (==) NVIDIA(0): Backing store enabled
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (==) NVIDIA(0): Silken mouse disabled
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (==) NVIDIA(0): DPMS enabled
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (WW) NVIDIA(0): Option "PrimaryGPU" is not used
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): [DRI2] Setup complete
Dec 18 18:06:53 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
Dec 18 18:06:54 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0): CRT-0: connected
Dec 18 18:06:54 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
Dec 18 18:06:54 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0):
Dec 18 18:06:54 erfan kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device VGA-0
Dec 18 18:06:54 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0): CRT-0: connected
Dec 18 18:06:54 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
Dec 18 18:06:54 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0):
Dec 18 18:06:54 erfan kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device VGA-0
Dec 18 18:06:54 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0): CRT-0: connected
Dec 18 18:06:54 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
Dec 18 18:06:54 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0):
Dec 18 18:06:54 erfan kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device VGA-0
Dec 18 18:06:54 erfan /usr/lib/gdm-x-session[888]: (II) NVIDIA(0): Setting mode "NULL"
Dec 18 18:06:56 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0): CRT-0: connected
Dec 18 18:06:56 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
Dec 18 18:06:56 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0):
Dec 18 18:06:56 erfan kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device VGA-0
Dec 18 18:06:56 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0): CRT-0: connected
Dec 18 18:06:56 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
Dec 18 18:06:56 erfan /usr/lib/gdm-x-session[888]: (--) NVIDIA(GPU-0):
Dec 18 18:06:56 erfan kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device VGA-0
Dec 18 18:07:00 erfan /usr/lib/gdm-x-session[610]: (II) NVIDIA(GPU-0): Deleting GPU-0
And finally, it's configuration has detected a fake CRT screen and set it as my main display ! so in gdm my main display which accept user input is totally fake display and i have nowhere to enter password, my two displays are blank and only have cursor, i have to eneter password and press enter to login to gnome without seeing the login form, I did manage to fix this in gnome by disabling that CRT display, but in gdm it is not fixed since i think it doesn't obey the gnome display rules and sees xorg or etc
Offline
The real outputs are wired to to the intel chip, you need to engage in https://wiki.archlinux.org/index.php/NVIDIA_Optimus#GDM
"modesetting" is probably wrong if you're still using the intel driver (xf86-video-intel, check "xrandr --listproviders")
Also ensure GDM is forced to use the X11 backend.
Chromium is a different issue for a different thread.
Offline
The real outputs are wired to to the intel chip, you need to engage in https://wiki.archlinux.org/index.php/NVIDIA_Optimus#GDM
"modesetting" is probably wrong if you're still using the intel driver (xf86-video-intel, check "xrandr --listproviders")
Also ensure GDM is forced to use the X11 backend.Chromium is a different issue for a different thread.
So if have to not use modesetting and use initramfs, can you give me instruction or link to how to add this to initramfs ?
And if you have time, can you explain why is it wrong in this case ? what happens ? or can you give me source so i start reading about these stuffs about ?
Here are outputs :
^^>>> xrandr --listproviders 18:21:55
Providers: number : 2
Provider 0: id: 0x279 cap: 0x1, Source Output crtcs: 2 outputs: 1 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x2c7 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 1 name:modesetting
^^>>> cat /usr/share/gdm/greeter/autostart/optimus.desktop 18:24:21
[Desktop Entry]
Type=Application
Name=Optimus
Exec=sh -c "xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto"
NoDisplay=true
X-GNOME-Autostart-Phase=DisplayServer
^^>>> cat /etc/xdg/autostart/optimus.desktop 18:24:28
[Desktop Entry]
Type=Application
Name=Optimus
Exec=sh -c "xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto"
NoDisplay=true
X-GNOME-Autostart-Phase=DisplayServer
^^>>> glxinfo | grep NVIDIA 18:25:02
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
OpenGL core profile version string: 4.6.0 NVIDIA 390.138
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL version string: 4.6.0 NVIDIA 390.138
OpenGL shading language version string: 4.60 NVIDIA
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.138
And one more question, nvidia-smi shows that im using around 500Mb of my GPU, before that it was using Intel HD 4000 Graphics, How much VRam does intel hd 4000 have ?! I expected on-board graphics usually wont have more than 128Mb
Offline