I’m not sure if xorg is the only thing at fault. I’ve had issues in opensuse 
and mint where if I force nouveau it kernel panics during boot. Otherwise it 
loads Nvidia.


________________________________
From: Philip Webb <purs...@ca.inter.net>
Sent: Sunday, August 5, 2018 3:40 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] trying to use Nouveau

180804 Andrew Savchenko wrote:
> Your xorg.conf -- or a file from xorg.conf.d directory --
> must contain the following :
>
> Section "Device"
> Identifier "Card1"
> Driver "modesetting"
> ... (some options may follow)
> EndSection
>
> You probably name `Driver "nvidia"` there right now.

I've created a file /etc/X11/xorg.conf.d/10nouveau.conf ,
which reads as above (apart from the "options" line, which is omitted) ;
I use spaces, not tabs. I've tried all 4 permutations
of "Card1" / "Card0" & "modesetting" / "nouveau".
I also tried naming it '99...' : there's a '20opengl.conf', which says :

Section "Files"
ModulePath "/usr/lib64/xorg/modules"
EndSection

I've also recompiled xorg-drivers , then xorg-server :
the former now has the USE flag 'nouveau'. I've rebooted between trials.

Every time, Nvidia starts :

(**) ModulePath set to "/usr/lib64/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
devices become available, reconfigure udev or disable AutoAddDevices.
(II) Loader magic: 0x55cc540cfc20
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 23.0
X.Org XInput driver : 24.1
X.Org Server Extension : 10.0
(--) PCI:*(0:1:0:0) 10de:104a:1043:8496 rev 161, Mem @ 0xfd000000/16777216, 
0xf0000000/134217728, 0xf8000000/33554432, I/O @ 0x0000e000/128, BIOS @ 
0x????????/131072
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.19.5, module version = 1.0.0
ABI class: X.Org Server Extension, version 10.0
(II) LoadModule: "nvidia"
(II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver 390.67 Fri Jun 1 02:45:19 PDT 2018
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(--) using VT number 7

/usr/lib64/xorg/modules contains :

root:510 modules> ls -l
drwxr-xr-x 2 root root 184 Aug 5 02:56 drivers
drwxr-xr-x 2 root root 80 Aug 5 02:56 extensions
drwxr-xr-x 2 root root 80 Jun 2 20:57 input
-rwxr-xr-x 1 root root 92704 Aug 5 02:56 libexa.so
-rwxr-xr-x 1 root root 18480 Aug 5 02:56 libfbdevhw.so
-rwxr-xr-x 1 root root 142176 Aug 5 02:56 libfb.so
-rwxr-xr-x 1 root root 141848 Aug 5 02:56 libint10.so
-rwxr-xr-x 1 root root 10192 Aug 5 02:56 libshadowfb.so
-rwxr-xr-x 1 root root 34800 Aug 5 02:56 libshadow.so
-rwxr-xr-x 1 root root 22752 Aug 5 02:56 libvbe.so
-rwxr-xr-x 1 root root 31664 Aug 5 02:56 libvgahw.so
-rwxr-xr-x 1 root root 179040 Aug 5 02:56 libwfb.so
root:511 modules> ls -l drivers
-rwxr-xr-x 1 root root 69288 Aug 5 02:56 modesetting_drv.so
-rwxr-xr-x 1 root root 208600 Jul 26 15:39 nouveau_drv.so
-rw-r--r-- 1 root root 7780496 Jul 26 14:15 nvidia_drv.so
-rwxr-xr-x 1 root root 27512 May 12 20:20 vesa_drv.so

Is 'udev' getting entangled in this at some point ?

Does anyone have any further advice ? Thanks so far.

--
========================,,============================================
SUPPORT ___________//___, Philip Webb
ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
TRANSIT `-O----------O---' purslowatchassdotutorontodotca


Reply via email to