WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Help with graphics drivers / Xorg  (Read 1880 times)

Offline core.dump

  • Newbie
  • *
  • Posts: 49
Help with graphics drivers / Xorg
« on: March 14, 2020, 08:26:13 AM »
Hi all,
I'm fairly new to Tiny Core. I was using a CorePure64 10.1 Xorg 7.7 and everything was fine, but recently I had the need to change my graphics card (I switched from my previous GeForce GT 710 to a newer GTX 1650), and after that I could no longer run Xorg correctly (when you enter the graphical environment, all I see is a confusing image on the screen). I suppose the problem is an incompatibility between the new hardware and the currently installed Nvidia driver (nvidia-390.116-4.19.10-tinycore64), in fact this release doesn't seem to support the 1650 chipset. On the other hand, I can't use Xvesa because it's not packaged for 64-bit, and in any case it does not support the resolution of my screen (already tested in a 32-bit temporary installation).
To solve the problem, I probably need the most recent 440.64 nvidia driver (since it has full support for 16xx chipset series), but I'm not able to create a .tcz package... Is there anyone out there who is able to do that?

Thanks in advance! :)
« Last Edit: March 14, 2020, 08:42:28 AM by core.dump »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12422
Re: Help with graphics drivers / Xorg
« Reply #1 on: March 14, 2020, 08:36:08 AM »
Xvesa is not packaged for 64-bit because it is 32-bit only - have you tried Xfbdev?

I don't know if it would work, but you could try the nouveau driver in tc-11.x CorePure64.

Offline core.dump

  • Newbie
  • *
  • Posts: 49
Re: Help with graphics drivers / Xorg
« Reply #2 on: March 14, 2020, 08:39:54 AM »
Yes, I have tried Xfbdev, and both the -nouveau and -nv with the latest TC 11.x release (CorePure64 of course). The result is I'm not able to start the X server (error in waitforX) :(

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 8132
Re: Help with graphics drivers / Xorg
« Reply #3 on: March 14, 2020, 09:01:12 AM »
Hi core.dump
... I'm not able to start the X server (error in waitforX) :(
To get more information, execute the first line in your  .xsession  file. You can do it like this:
Code: [Select]
`head -n 1 .xsession`Notice the punctuation at the beginning and end of the command. Those are back ticks ` not single quotes '.
That should provide more error information. Then attach a copy of  /var/log/Xorg.0.log  to your next post.

Offline core.dump

  • Newbie
  • *
  • Posts: 49
Re: Help with graphics drivers / Xorg
« Reply #4 on: March 14, 2020, 10:35:37 AM »
To get more information, execute the first line in your  .xsession  file. You can do it like this:
Code: [Select]
`head -n 1 .xsession`Notice the punctuation at the beginning and end of the command. Those are back ticks ` not single quotes '.
That should provide more error information. Then attach a copy of  /var/log/Xorg.0.log  to your next post.
Ok, thanks... this is what I obtained:
Code: [Select]
[    22.117]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[    22.117] Build Operating System: Linux 4.19.10-tinycore64 x86_64
[    22.117] Current Operating System: Linux box 4.19.10-tinycore64 #1999 SMP Tue Dec 18 15:18:54 UTC 2018 x86_64
[    22.117] Kernel command line: BOOT_IMAGE=/tce/boot/vmlinuz64 quiet  waitusb=5 loglevel=3 home=sda1 tce=sda1 opt=sda1 kmap=qwerty/it showapps waitusb=5:UUID="667747a9-9683-4969-804d-aeb5bce13627" tce=UUID="667747a9-9683-4969-804d-aeb5bce13627"  initrd=/tce/boot/corepure64.gz
[    22.117] Build Date: 04 March 2019  10:59:41AM
[    22.117] 
[    22.117] Current version of pixman: 0.38.4
[    22.117] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[    22.117] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    22.117] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 14 18:24:41 2020
[    22.117] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[    22.118] (==) No Layout section.  Using the first Screen section.
[    22.118] (==) No screen section available. Using defaults.
[    22.118] (**) |-->Screen "Default Screen Section" (0)
[    22.118] (**) |   |-->Monitor "<default monitor>"
[    22.121] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[    22.121] (**) |   |-->Device "Nvidia Card"
[    22.121] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[    22.121] (==) Automatically adding devices
[    22.121] (==) Automatically enabling devices
[    22.121] (==) Automatically adding GPU devices
[    22.121] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    22.121] (WW) The directory "/usr/local/lib/X11/fonts/OTF/" does not exist.
[    22.121] Entry deleted from font path.
[    22.121] (WW) The directory "/usr/local/lib/X11/fonts/100dpi/" does not exist.
[    22.121] Entry deleted from font path.
[    22.121] (==) 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/
[    22.121] (**) ModulePath set to "/usr/local/lib/modules/4.19.10-tinycore64/kernel/drivers/video,/usr/local/lib/xorg/modules/drivers,/usr/local/lib/xorg/modules"
[    22.121] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[    22.121] (II) Loader magic: 0x5aec60
[    22.121] (II) Module ABI versions:
[    22.121] X.Org ANSI C Emulation: 0.4
[    22.121] X.Org Video Driver: 24.0
[    22.121] X.Org XInput driver : 24.1
[    22.121] X.Org Server Extension : 10.0
[    22.131] (--) PCI:*(101@0:0:0) 10de:1f82:1043:86b9 rev 161, Mem @ 0xd7000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000b000/128, BIOS @ 0x????????/131072
[    22.131] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    22.131] (II) LoadModule: "glx"
[    22.132] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    22.147] (II) Module glx: vendor="X.Org Foundation"
[    22.147] compiled for 1.20.4, module version = 1.0.0
[    22.147] ABI class: X.Org Server Extension, version 10.0
[    22.147] (II) LoadModule: "nvidia"
[    22.148] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[    22.252] (II) Module nvidia: vendor="NVIDIA Corporation"
[    22.252] compiled for 4.0.2, module version = 1.0.0
[    22.252] Module class: X.Org Video Driver
[    22.266] (II) NVIDIA dlloader X Driver  390.116  Sun Jan 27 05:57:42 PST 2019
[    22.266] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    22.268] (--) using VT number 2

[    22.284] (II) Loading sub module "fb"
[    22.284] (II) LoadModule: "fb"
[    22.285] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[    22.288] (II) Module fb: vendor="X.Org Foundation"
[    22.288] compiled for 1.20.4, module version = 1.0.0
[    22.288] ABI class: X.Org ANSI C Emulation, version 0.4
[    22.288] (II) Loading sub module "wfb"
[    22.288] (II) LoadModule: "wfb"
[    22.288] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[    22.310] (II) Module wfb: vendor="X.Org Foundation"
[    22.310] compiled for 1.20.4, module version = 1.0.0
[    22.310] ABI class: X.Org ANSI C Emulation, version 0.4
[    22.310] (II) Loading sub module "ramdac"
[    22.310] (II) LoadModule: "ramdac"
[    22.310] (II) Module "ramdac" already built-in
[    22.790] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[    22.790] (EE) NVIDIA:     system's kernel log for additional error messages and
[    22.790] (EE) NVIDIA:     consult the NVIDIA README for details.
[    22.790] (EE) No devices detected.
[    22.790] (EE)
Fatal server error:
[    22.790] (EE) no screens found(EE)
[    22.790] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
 for help.
[    22.790] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    22.790] (EE)
[    22.797] (EE) Server terminated with error (1). Closing log file.


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 8132
Re: Help with graphics drivers / Xorg
« Reply #5 on: March 14, 2020, 11:27:15 AM »
Hi core.dump
After  X  fails to start, see if this provides anything useful:
Code: [Select]
dmesg | tail -n 25
If you do this:
Code: [Select]
dmesg | tail -n 25 > dmesg.txtYou'll have a text file with the results you can copy from.

Offline core.dump

  • Newbie
  • *
  • Posts: 49
Re: Help with graphics drivers / Xorg
« Reply #6 on: March 14, 2020, 02:23:23 PM »
Hi Rich,

dmesg returns the following:

Code: [Select]
e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
nvidia-nvlink: Nvlink Core is being initialized, major device number 241
nvidia 0000:65:00.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=io+mem
NVRM: The NVIDIA GPU 0000:65:00.0 (PCI ID: 10de:1f82)
NVRM: installed in this system is not supported by the
NVRM: NVIDIA 390.116 driver release.
NVRM: Please see 'Appendix A - Supported NVIDIA GPU Products'
NVRM: in this release's README, available on the operating system
NVRM: specific graphics driver download page at www.nvidia.com.
nvidia: probe of 0000:65:00.0 failed with error -1
NVRM: The NVIDIA probe routine failed for 1 device(s).
NVRM: None of the NVIDIA graphics adapters were initialized!
nvidia-nvlink: Unregistered the Nvlink Core, major device number 241
nvidia-nvlink: Nvlink Core is being initialized, major device number 241
nvidia 0000:65:00.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=io+mem
NVRM: The NVIDIA GPU 0000:65:00.0 (PCI ID: 10de:1f82)
NVRM: installed in this system is not supported by the
NVRM: NVIDIA 390.116 driver release.
NVRM: Please see 'Appendix A - Supported NVIDIA GPU Products'
NVRM: in this release's README, available on the operating system
NVRM: specific graphics driver download page at www.nvidia.com.
nvidia: probe of 0000:65:00.0 failed with error -1
NVRM: The NVIDIA probe routine failed for 1 device(s).
NVRM: None of the NVIDIA graphics adapters were initialized!
nvidia-nvlink: Unregistered the Nvlink Core, major device number 241

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 8132
Re: Help with graphics drivers / Xorg
« Reply #7 on: March 14, 2020, 05:15:15 PM »
Hi core.dump
Uninstall the  nvidia-390.116  extension. Install  xf86-video-nouveau.tcz  and  xf86-video-nv.tcz.  Reboot and see what's returned
in  /var/log/Xorg.0.log  and  dmesg  when you try to start  X  again.

Offline core.dump

  • Newbie
  • *
  • Posts: 49
Re: Help with graphics drivers / Xorg
« Reply #8 on: March 15, 2020, 05:52:12 AM »
I completely re-installed CorePure64 (11.x) and nouveau driver, it seems to work just fine with Xfbdev. I haven't tested Xorg yet, but Xfbdev is ok for me as it requires less resources than Xorg.
Now I have some other annoying problems:

(1) I use a dual monitor setup, but the image is replicated on each screen and not extended;
(2) Mouse buttons don't swap (~/.mouse_config is ignored)
(3) Numlock is always disabled when the X Server starts

How can I solve?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12422
Re: Help with graphics drivers / Xorg
« Reply #9 on: March 15, 2020, 06:45:00 AM »
The nouveau driver is not used by Xfbdev.

You'll need Xorg for a dual monitor setup.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 8132
Re: Help with graphics drivers / Xorg
« Reply #10 on: March 15, 2020, 07:37:00 AM »
Hi core.dump
(3) Numlock is always disabled when the X Server starts
Install  numlockx.tcz.
Create a file in your  .X.d  directory called  NumlockOn  (or any other name of your choosing) containing the following command:
Code: [Select]
numlockx on &The next time your X Server starts, the numlock should be enabled.

Offline core.dump

  • Newbie
  • *
  • Posts: 49
Re: Help with graphics drivers / Xorg
« Reply #11 on: March 15, 2020, 12:30:59 PM »
Hi core.dump
(3) Numlock is always disabled when the X Server starts
Install  numlockx.tcz.
Create a file in your  .X.d  directory called  NumlockOn  (or any other name of your choosing) containing the following command:
Code: [Select]
numlockx on &The next time your X Server starts, the numlock should be enabled.

Hi,
I tried but it doesn't work at all... Well many things don't work in TC, actually...  :(

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 8132
Re: Help with graphics drivers / Xorg
« Reply #12 on: March 15, 2020, 01:46:04 PM »
Hi core.dump
If you enter this in a terminal:
Code: [Select]
numlockx on
numlockx off
numlockx on
numlockx off
numlockx on
Does your numlock LED turn on and off?

Offline core.dump

  • Newbie
  • *
  • Posts: 49
Re: Help with graphics drivers / Xorg
« Reply #13 on: March 15, 2020, 03:21:46 PM »
Hi core.dump
If you enter this in a terminal:
Code: [Select]
numlockx on
numlockx off
numlockx on
numlockx off
numlockx on
Does your numlock LED turn on and off?
No, it doesn't work even in terminal. This problem is very annoying... just like mouse buttons that don't swap  >:(

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 8132
Re: Help with graphics drivers / Xorg
« Reply #14 on: March 15, 2020, 03:47:46 PM »
Hi core.dump
No, it doesn't work even in terminal. This problem is very annoying... just like mouse buttons that don't swap  >:(
We are talking about something like  aterm  or  xterm  under X, not in console mode.  numlockx  only works under X.