Hello Rich:
Sorry for the delay, I was fiddling with xorg.conf ...
Make sure graphics-4.19.10-tinycore.tcz is ...
Done
The list's first four files are these:
graphics-4.19.10-tinycore.tcz
xf86-video-nouveau.tcz
xf86-video-nv.tcz
Xfbdev.tcz
...
I think it may be looking for xf86-video-nv.tcz.
Fixed.
But it made no difference.
Your bootloader options ...
Remove:
waitusb=4 vga=795
Removed waitusb=4.
With respect to vga=795, it made no difference.
But it's the only way I can get reasonable size fonts in my 19" monitor, so I left it in.
Add a space ...
Yes, caught that right after my last post.
Haven't (yet) mastered the use of paint/copy/paste with the mouse in TC.
... due to card 2 being commented out.
I tried a few combinations and it got old really fast ... =-/
So I sat a while and thought that if this xorg.conf worked properly in Devuan ASCII it
should work in TC. After all, I transplanted it from Mint into PCLinuxOS and then into two Devuan installations without these issues.
Granted, all this using the NVidia proprietary drivers but then that would be the only difference between these two configurations.
So I took the working xorg.conf and made the changes you can see documented:
# ---> This section stays the same but rems out Xinerama
Section "ServerLayout"
Identifier "layout0"
Screen 0 "ScreenLeft" LeftOf "ScreenCenter"
Screen 1 "ScreenCenter" 0 0
Screen 2 "ScreenRight" RightOf "ScreenCenter"
# Option "Xinerama" "1"
EndSection
#
Section "Files"
EndSection
#
Section "Module"
EndSection
#
# ---> This section stays the same because they are default values in Xorg
Section "ServerFlags"
Option "DontZap" "False" # default False disables <Ctrl><Alt><BS> (server abort)
Option "AutoAddDevices" "True" # default True - to use system kb, kb layout and mouse settings
Option "AutoEnableDevices" "True" # default True -
EndSection
#
#### Monitors ####
# ---> This section stays the same because it is the same monitor
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Samsung"
ModelName "Samsung SyncMaster"
Option "DPMS" "0"
EndSection
#
# ---> This section stays the same because it is the same monitor
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Dell"
ModelName "DELL P1914S"
Option "DPMS" "0"
EndSection
#
# ---> This section stays the same because it is the same monitor
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor2"
VendorName "Samsung"
ModelName "Samsung SyncMaster"
Option "DPMS" "0"
EndSection
#
#### Devices ####
# ---> This section changes the driver name to nouveau and the vendor name to "Xorg Foundation"
# ---> BusID and Screen stay the same
Section "Device"
#card 1 NVIDIA G84GL Quadro FX 370
Identifier "DeviceLeft"
Driver "nouveau" # was "nvidia"
VendorName "Xorg Foundation" # was "NVIDIA Corporation"
BoardName "NVIDIA GeForce 8100 to GeForce 415"
BusID "PCI:1:0:0"
Screen 0
EndSection
#
# ---> This section changes the driver name to nouveau and the VendorName to "Xorg Foundation"
# ---> BusID and Screen stay the same
Section "Device"
#card 1 NVIDIA G84GL Quadro FX 370
Identifier "DeviceRight"
Driver "nouveau" # was "nvidia"
VendorName "Xorg Foundation" # was "NVIDIA Corporation"
BoardName "NVIDIA GeForce 8100 to GeForce 415"
BusID "PCI:1:0:0"
Screen 1
EndSection
#
# ---> This section changes the driver name to nouveau and the VendorName to "Xorg Foundation"
# ---> BusID and Screen stay the same
Section "Device"
#card 2 NVIDIA G96GL Quadro FX 580
Identifier "DeviceCenter"
Driver "nouveau" # was "nvidia"
VendorName "Xorg Foundation" # was "NVIDIA Corporation"
BoardName "NVIDIA GeForce 8100 to GeForce 415"
BusID "PCI:2:0:0"
Screen 0
EndSection
#
#### Screens ####
#
# ---> This section stays the same because it is the same monitor in the same position/port
Section "Screen"
Identifier "ScreenLeft"
Device "DeviceLeft"
Monitor "Monitor0"
DefaultDepth 24
Option "DPMS" "False"
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
#
# ---> This section stays the same because it is the same monitor in the same position/port
Section "Screen"
Identifier "ScreenCenter"
Device "DeviceCenter"
Monitor "Monitor1"
DefaultDepth 24
Option "DPMS" "False"
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
#
# ---> This section stays the same because it is the same monitor in the same position/port
Section "Screen"
Identifier "ScreenRight"
Device "DeviceRight"
Monitor "Monitor2"
DefaultDepth 24
Option "DPMS" "False"
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
To my chagrin, it did not work and X would not start.
But the resulting log file was revealing:
[ 24.514]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[ 24.514] Build Operating System: Linux 4.19.10-tinycore i486
[ 24.514] Current Operating System: Linux box 4.19.10-tinycore #1999 SMP Tue Dec 18 13:36:47 UTC 2018 i686
[ 24.514] Kernel command line: BOOT_IMAGE=/boot/vmlinuz acpi_osi=Linux vga=795 agp=off tz=-3 ipv6.disable=1 enable_mtrr_cleanup pcie_aspm=off nmi_watchdog=0 blacklist=mei_me waitusb=4:UUID="0cf4d199-2dc7-44d7-90ed-3e070d73cd93" tce=UUID="0cf4d199-2dc7-44d7-90ed-3e070d73cd93" initrd=/boot/core.gz
[ 24.514] Build Date: 04 March 2019 11:44:35AM
[ 24.514]
[ 24.514] Current version of pixman: 0.34.0
[ 24.514] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 24.514] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 24.514] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Oct 21 18:00:19 2019
[ 24.514] (==) Using config file: "/etc/X11/xorg.conf"
[ 24.514] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 24.514] (==) ServerLayout "layout0"
[ 24.514] (**) |-->Screen "ScreenLeft" (0)
[ 24.514] (**) | |-->Monitor "Monitor0"
[ 24.517] (**) | |-->Device "DeviceLeft"
[ 24.517] (**) |-->Screen "ScreenCenter" (1)
[ 24.517] (**) | |-->Monitor "Monitor1"
[ 24.518] (**) | |-->Device "DeviceCenter"
[ 24.518] (**) |-->Screen "ScreenRight" (2)
[ 24.518] (**) | |-->Monitor "Monitor2"
[ 24.518] (**) | |-->Device "DeviceRight"
[ 24.518] (**) Option "DontZap" "False"
[ 24.518] (**) Option "AutoAddDevices" "True"
[ 24.518] (**) Option "AutoEnableDevices" "True"
[ 24.518] (**) Automatically adding devices
[ 24.518] (**) Automatically enabling devices
[ 24.518] (==) Automatically adding GPU devices
[ 24.518] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 24.518] (WW) The directory "/usr/local/lib/X11/fonts/OTF/" does not exist.
[ 24.518] Entry deleted from font path.
[ 24.518] (WW) The directory "/usr/local/lib/X11/fonts/100dpi/" does not exist.
[ 24.518] Entry deleted from font path.
[ 24.518] (==) FontPath set to:
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/75dpi/
[ 24.518] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 24.518] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 24.518] (II) Loader magic: 0x81a7b40
[ 24.518] (II) Module ABI versions:
[ 24.518] X.Org ANSI C Emulation: 0.4
[ 24.518] X.Org Video Driver: 24.0
[ 24.518] X.Org XInput driver : 24.1
[ 24.518] X.Org Server Extension : 10.0
[ 24.524] (--) PCI: (1@0:0:0) 10de:0659:10de:063a rev 161, Mem @ 0xf9000000/16777216, 0xc0000000/268435456, 0xf6000000/33554432, I/O @ 0x0000bc00/128, BIOS @ 0x????????/524288
[ 24.524] (--) PCI:*(2@0:0:0) 10de:0659:10de:063a rev 161, Mem @ 0xfd000000/16777216, 0xd0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000cc00/128, BIOS @ 0x????????/131072
[ 24.524] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 24.524] (II) "glx" will be loaded by default.
[ 24.524] (II) LoadModule: "glx"
[ 24.525] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 24.530] (II) Module glx: vendor="X.Org Foundation"
[ 24.530] compiled for 1.20.4, module version = 1.0.0
[ 24.530] ABI class: X.Org Server Extension, version 10.0
[ 24.530] (II) LoadModule: "nouveau"
[ 24.530] (II) Loading /usr/local/lib/xorg/modules/drivers/nouveau_drv.so
[ 24.540] (II) Module nouveau: vendor="X.Org Foundation"
[ 24.540] compiled for 1.20.0, module version = 1.0.15
[ 24.540] Module class: X.Org Video Driver
[ 24.540] ABI class: X.Org Video Driver, version 24.0
[ 24.540] (II) NOUVEAU driver
[ 24.540] (II) NOUVEAU driver for NVIDIA chipset families :
[ 24.540] RIVA TNT (NV04)
[ 24.540] RIVA TNT2 (NV05)
[ 24.540] GeForce 256 (NV10)
[ 24.540] GeForce 2 (NV11, NV15)
[ 24.540] GeForce 4MX (NV17, NV18)
[ 24.540] GeForce 3 (NV20)
[ 24.540] GeForce 4Ti (NV25, NV28)
[ 24.540] GeForce FX (NV3x)
[ 24.540] GeForce 6 (NV4x)
[ 24.540] GeForce 7 (G7x)
[ 24.540] GeForce 8 (G8x)
[ 24.540] GeForce GTX 200 (NVA0)
[ 24.540] GeForce GTX 400 (NVC0)
[ 24.540] (--) using VT number 2
[ 24.705] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
[ 24.832] (EE) [drm] Failed to open DRM device for pci:0000:02:00.0: -19
[ 24.958] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
[ 25.085] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
[ 25.210] (EE) [drm] Failed to open DRM device for pci:0000:02:00.0: -19
[ 25.336] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
[ 25.336] (EE) No devices detected.
[ 25.336] (EE)
Fatal server error:
[ 25.336] (EE) no screens found(EE)
[ 25.336] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 25.336] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 25.336] (EE)
[ 25.409] (EE) Server terminated with error (1). Closing log file.
As you can see, the complaints we saw earlier are not there anymore but problems with the drivers start at [ 24.705], which may (?) rule out an xorg.conf issue.
A search on the web found me this:
https://nouveau.freedesktop.org/wiki/TroubleShooting/#index1h3
Xorg fails to start with "(EE) [drm] failed to open device"
Your DDX does not work with your current kernel and/or libdrm. There are at least three possible reasons for this: the nouveau DRM kernel module is not loaded, a version mismatch between the Nouveau DRM and libdrm, or KMS being disabled.
First check, that lsmod command lists nouveau. If not, do modprobe nouveau to load the nouveau DRM kernel module, and check the kernel log for possible errors.
If the kernel module nouveau is loaded according to lsmod command, but there are no kernel messages about nouveau at all, then most likely Nouveau KMS is disabled. This prevents the driver to work at all. Possible places to disable KMS are:
kernel command line with: nomodeset, drm.modeset=0, nouveau.modeset=0 or similar
modprobe.conf or modprobe.d/ adding the module options drm modeset=0 or nouveau modeset=0
initramfs carrying the above module options
Check and remove all those that you may find, and retry.
---
Inserting nouveau.ko fails
drm.ko needs to be inserted first. Make sure you are inserting the drm.ko that was built at the same time as nouveau.ko. Your kernel might provide another drm.ko which is incompatible.
I am writing this from my TC10.1 installation, starting X
without using xorg.conf.
1.
tc@box:~$ lsmod | grep nouveau
tc@box:~$
The nouveau module is not loaded, but Xorg.0.log (the actual one) says it
was loaded:
tc@box:~$ cat /var/log/Xorg.0.log | grep nouveau
[ 245.189] (==) Matched nouveau as autoconfigured driver 0
[ 245.189] (II) LoadModule: "nouveau"
[ 245.189] (II) Loading /usr/local/lib/xorg/modules/drivers/nouveau_drv.so
[ 245.189] (II) Module nouveau: vendor="X.Org Foundation"
tc@box:~$
2.
tc@box:~$ modprobe nouveau
modprobe: module nouveau not found in modules.dep
tc@box:~$
This is what a search for nouveau brings up:
tc@box:~$ slocate nouveau
/mnt/sda1/tce/optional/xf86-video-nouveau.tcz.md5.txt
/mnt/sda1/tce/optional/xf86-video-nouveau.tcz
/usr/local/lib/libdrm_nouveau.so.2.0.0
/usr/local/lib/libdrm_nouveau.so.2
/usr/local/lib/libdrm_nouveau.so
/usr/local/lib/xorg/modules/drivers/nouveau_drv.so
/usr/local/tce.installed/xf86-video-nouveau
tc@box:~$
3.
drm.ko is present in the system but nouveau.ko is not
tc@box:~$ slocate drm.ko
/usr/local/lib/modules/4.19.10-tinycore/kernel/drivers/gpu/drm/hisilicon/hibmc/hibmc-drm.ko.gz
/usr/local/lib/modules/4.19.10-tinycore/kernel/drivers/gpu/drm/drm.ko.gz
/usr/local/lib/modules/4.19.10-tinycore/kernel/drivers/gpu/drm/bochs/bochs-drm.ko.gz
tc@box:~$ slocate nouveau.ko
tc@box:~$
This is where I run out of ideas.
Let me know if you need more data.
Thanks in advance,
MM