Created attachment 117234 [details]
Whenever I load a kernel module for my nvidia card (nvidia or nouveau, doesn't matter) the X server always loads the modsetting driver for this gpu as long as no module was loaded at X launch time.
This conflicts with my xorg.conf, where I force the dummy module for the nvidia card. And yes I don't want the nouveau nor the modesetting DDX to be loaded, because it makes it impossible for me to unload the module while X is running. And because I only use DRI3 to get gpu offloading.
This actually causes the X server to crash directly after loading the nouveau module.
When a module was loaded at X launch time (nvidia or nouveau), the X server doesn't load anything for this card as expected, whenever I remove and load the modules again.
On a side note: even if I use bumblebee and load the nvidia ddx module in another X server, my primary X server still will load the modesetting driver in the former case, not the latter one.
laptop hybrid graphics intel hsw + nvidia
x server 1.17.2
Created attachment 117235 [details]
bt from gdb
Created attachment 117236 [details]
X log with no driver loaded at launch time
Created attachment 117237 [details]
X log with a driver loaded at launch time
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/168.