Bug 91388 - X always loads modesetting driver for gpus activated after X was started
Summary: X always loads modesetting driver for gpus activated after X was started
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/DDX/Xorg (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-18 17:18 UTC by Karol Herbst
Modified: 2018-12-13 18:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (289 bytes, text/plain)
2015-07-18 17:18 UTC, Karol Herbst
no flags Details
bt from gdb (3.62 KB, text/plain)
2015-07-18 17:18 UTC, Karol Herbst
no flags Details
X log with no driver loaded at launch time (27.03 KB, text/plain)
2015-07-18 17:19 UTC, Karol Herbst
no flags Details
X log with a driver loaded at launch time (23.52 KB, text/plain)
2015-07-18 17:20 UTC, Karol Herbst
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karol Herbst 2015-07-18 17:18:21 UTC
Created attachment 117234 [details]
xorg.conf

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.

System information:
laptop hybrid graphics intel hsw + nvidia
gentoo
x server 1.17.2
Comment 1 Karol Herbst 2015-07-18 17:18:35 UTC
Created attachment 117235 [details]
bt from gdb
Comment 2 Karol Herbst 2015-07-18 17:19:31 UTC
Created attachment 117236 [details]
X log with no driver loaded at launch time
Comment 3 Karol Herbst 2015-07-18 17:20:06 UTC
Created attachment 117237 [details]
X log with a driver loaded at launch time
Comment 4 GitLab Migration User 2018-12-13 18:29:27 UTC
-- 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.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.