WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: nvidia-kernel in Trusty  (Read 3365 times)

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
nvidia-kernel in Trusty
« on: September 23, 2015, 02:46:14 PM »
Hi,

My monitor is dead. Now I have an 1920x1080 resolution monitor but for now I only can have an 1600x1200.
I have a Nvidia GForce 210 (GT 218)

my sceboot:

Code: [Select]
Xprogs
xorg
nvidia-331
openbox
jdudesk1t
wbar
numlockx

and my Xorg.0.log:
Code: [Select]
[    67.902] (II) LoadModule: "glx"
[    67.903] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    67.979] (II) Module glx: vendor="NVIDIA Corporation"
[    67.979] compiled for 4.0.2, module version = 1.0.0
[    67.979] Module class: X.Org Server Extension
[    67.979] (II) NVIDIA GLX Module  331.113  Mon Dec  1 20:26:22 PST 2014
[    67.979] Loading extension GLX
[    67.979] (II) LoadModule: "extmod"
[    67.979] (II) Module "extmod" already built-in
[    67.979] (II) LoadModule: "dri2"
[    67.979] (II) Module "dri2" already built-in
[    67.979] (II) LoadModule: "dbe"
[    67.979] (II) Module "dbe" already built-in
[    67.979] (II) LoadModule: "nvidia"
[    67.980] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    67.980] (II) Module nvidia: vendor="NVIDIA Corporation"
[    67.980] compiled for 4.0.2, module version = 1.0.0
[    67.980] Module class: X.Org Video Driver
[    67.981] (II) NVIDIA dlloader X Driver  331.113  Mon Dec  1 20:01:24 PST 2014
[    67.981] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    67.981] (--) using VT number 2
...
[    68.061] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your          <---------------------------------
[    68.061] (EE) NVIDIA:     system's kernel log for additional error messages.                         <---------------------------------
[    68.061] (EE) No devices detected.                                                                                                <---------------------------------
[    68.061] (==) Matched nvidia as autoconfigured driver 0
[    68.061] (==) Matched nouveau as autoconfigured driver 1
[    68.061] (==) Matched modesetting as autoconfigured driver 2
[    68.061] (==) Matched fbdev as autoconfigured driver 3
[    68.061] (==) Matched vesa as autoconfigured driver 4
[    68.061] (==) Assigned the driver to the xf86ConfigLayout
[    68.061] (II) LoadModule: "nvidia"
[    68.061] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    68.062] (II) Module nvidia: vendor="NVIDIA Corporation"
[    68.062] compiled for 4.0.2, module version = 1.0.0
[    68.062] Module class: X.Org Video Driver
[    68.062] (II) UnloadModule: "nvidia"
[    68.062] (II) Unloading nvidia
[    68.062] (II) Failed to load module "nvidia" (already loaded, -1217179434)
...
[    68.113] (II) LoadModule: "vesa"
[    68.114] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    68.115] (II) Module vesa: vendor="X.Org Foundation"
[    68.115] compiled for 1.15.0, module version = 2.3.3
[    68.115] Module class: X.Org Video Driver
[    68.115] ABI class: X.Org Video Driver, version 15.0
[    68.115] (II) NVIDIA dlloader X Driver  331.113  Mon Dec  1 20:01:24 PST 2014
[    68.115] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    68.115] (II) NOUVEAU driver Date:   Thu Nov 7 14:56:48 2013 +1000
[    68.115] (II) NOUVEAU driver for NVIDIA chipset families :
[    68.115] RIVA TNT        (NV04)
[    68.115] RIVA TNT2       (NV05)
[    68.115] GeForce 256     (NV10)
[    68.115] GeForce 2       (NV11, NV15)
[    68.115] GeForce 4MX     (NV17, NV18)
[    68.115] GeForce 3       (NV20)
[    68.116] GeForce 4Ti     (NV25, NV28)
[    68.116] GeForce FX      (NV3x)
[    68.116] GeForce 6       (NV4x)
[    68.116] GeForce 7       (G7x)
[    68.116] GeForce 8       (G8x)
[    68.116] GeForce GTX 200 (NVA0)
[    68.116] GeForce GTX 400 (NVC0)
[    68.116] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    68.116] (II) FBDEV: driver for framebuffer: fbdev
[    68.116] (II) VESA: driver for VESA chipsets: vesa
[    68.116] (++) using VT number 2
[    68.116] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[    68.116] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[    68.160] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your                 <-------------------------------
[    68.160] (EE) NVIDIA:     system's kernel log for additional error messages.                                <-------------------------------
[    68.160] (EE) [drm] KMS not enabled
[    68.160] (EE) open /dev/dri/card0: No such file or directory
[    68.160] (WW) Falling back to old probe method for modesetting
...
[    68.178] (II) VESA(0): initializing int10
[    68.189] (II) VESA(0): Bad V_BIOS checksum
[    68.189] (II) VESA(0): Primary V_BIOS segment is: 0xc000
[    68.371] (II) VESA(0): VESA BIOS detected
[    68.371] (II) VESA(0): VESA VBE Version 3.0
[    68.371] (II) VESA(0): VESA VBE Total Mem: 14336 kB
[    68.371] (II) VESA(0): VESA VBE OEM: NVIDIA
[    68.371] (II) VESA(0): VESA VBE OEM Software Rev: 112.24
[    68.371] (II) VESA(0): VESA VBE OEM Vendor: NVIDIA Corporation
[    68.371] (II) VESA(0): VESA VBE OEM Product: GT218 Board - 06910002
[    68.371] (II) VESA(0): VESA VBE OEM Product Rev: Chip Rev   
[    68.668] (**) VESA(0): Depth 24, (--) framebuffer bpp 32
[    68.668] (==) VESA(0): RGB weight 888
[    68.668] (==) VESA(0): Default visual is TrueColor
[    68.668] (==) VESA(0): Using gamma correction (1.0, 1.0, 1.0)
[    68.668] (II) Loading sub module "ddc"
[    68.668] (II) LoadModule: "ddc"
[    68.668] (II) Module "ddc" already built-in
[    68.683] (II) VESA(0): VESA VBE DDC supported
[    68.683] (II) VESA(0): VESA VBE DDC Level none
[    68.683] (II) VESA(0): VESA VBE DDC transfer in appr. 0 sec.
[    69.072] (II) VESA(0): VESA VBE DDC read failed
[    69.072] (II) VESA(0): Searching for matching VESA mode(s):
[    69.079] Mode: 100 (640x400)
[    69.079] ModeAttributes: 0x3bf
...
[    69.262] Mode: 145 (1600x1200)                                                                                  <-------------------------------------
[    69.262] ModeAttributes: 0x3bf
[    69.262] WinAAttributes: 0x7
[    69.262] WinBAttributes: 0x0
[    69.262] WinGranularity: 64
[    69.262] WinSize: 64
[    69.262] WinASegment: 0xa000
[    69.262] WinBSegment: 0x0
[    69.262] WinFuncPtr: 0xc0006598
[    69.262] BytesPerScanline: 1600
[    69.262] XResolution: 1600
[    69.262] YResolution: 1200
[    69.262] XCharSize: 8
[    69.262] YCharSize: 16
[    69.262] NumberOfPlanes: 1
[    69.262] BitsPerPixel: 8
[    69.262] NumberOfBanks: 1
[    69.262] MemoryModel: 4
[    69.262] BankSize: 0
[    69.262] NumberOfImages: 1
[    69.262] RedMaskSize: 0
[    69.262] RedFieldPosition: 0
[    69.262] GreenMaskSize: 0
[    69.262] GreenFieldPosition: 0
[    69.262] BlueMaskSize: 0
[    69.262] BlueFieldPosition: 0
[    69.262] RsvdMaskSize: 0
[    69.262] RsvdFieldPosition: 0
[    69.262] DirectColorModeInfo: 0
[    69.262] PhysBasePtr: 0xdd000000
[    69.262] LinBytesPerScanLine: 1600
[    69.262] BnkNumberOfImagePages: 1
[    69.262] LinNumberOfImagePages: 1
[    69.262] LinRedMaskSize: 0
[    69.262] LinRedFieldPosition: 0
[    69.262] LinGreenMaskSize: 0
[    69.262] LinGreenFieldPosition: 0
[    69.262] LinBlueMaskSize: 0
[    69.262] LinBlueFieldPosition: 0
[    69.262] LinRsvdMaskSize: 0
[    69.262] LinRsvdFieldPosition: 0
[    69.262] MaxPixelClock: 229500000
[    69.269] Mode: 146 (1600x1200)
[    69.269] ModeAttributes: 0x3bf
[    69.269] WinAAttributes: 0x7
[    69.269] WinBAttributes: 0x0
[    69.269] WinGranularity: 64
[    69.269] WinSize: 64
[    69.269] WinASegment: 0xa000
[    69.269] WinBSegment: 0x0
[    69.269] WinFuncPtr: 0xc0006598
[    69.269] BytesPerScanline: 3200
[    69.269] XResolution: 1600
[    69.269] YResolution: 1200
[    69.269] XCharSize: 8
[    69.269] YCharSize: 16
[    69.269] NumberOfPlanes: 1
[    69.269] BitsPerPixel: 16
[    69.269] NumberOfBanks: 1
[    69.269] MemoryModel: 6
[    69.269] BankSize: 0
[    69.269] NumberOfImages: 1
[    69.269] RedMaskSize: 5
[    69.269] RedFieldPosition: 11
[    69.269] GreenMaskSize: 6
[    69.269] GreenFieldPosition: 5
[    69.269] BlueMaskSize: 5
[    69.269] BlueFieldPosition: 0
[    69.269] RsvdMaskSize: 0
[    69.269] RsvdFieldPosition: 0
[    69.269] DirectColorModeInfo: 0
[    69.269] PhysBasePtr: 0xdd000000
[    69.269] LinBytesPerScanLine: 3200
[    69.269] BnkNumberOfImagePages: 1
[    69.269] LinNumberOfImagePages: 1
[    69.269] LinRedMaskSize: 5
[    69.269] LinRedFieldPosition: 11
[    69.269] LinGreenMaskSize: 6
[    69.269] LinGreenFieldPosition: 5
[    69.269] LinBlueMaskSize: 5
[    69.269] LinBlueFieldPosition: 0
[    69.269] LinRsvdMaskSize: 0
[    69.269] LinRsvdFieldPosition: 0
[    69.269] MaxPixelClock: 229500000
[    69.276] *Mode: 14a (1600x1200)
[    69.276] ModeAttributes: 0x3bf
[    69.276] WinAAttributes: 0x7
[    69.276] WinBAttributes: 0x0
[    69.276] WinGranularity: 64
[    69.276] WinSize: 64
[    69.276] WinASegment: 0xa000
[    69.276] WinBSegment: 0x0
[    69.276] WinFuncPtr: 0xc0006598
[    69.276] BytesPerScanline: 6400
[    69.276] XResolution: 1600
[    69.276] YResolution: 1200
[    69.276] XCharSize: 8
[    69.276] YCharSize: 16
[    69.276] NumberOfPlanes: 1
[    69.276] BitsPerPixel: 32
[    69.276] NumberOfBanks: 1
[    69.276] MemoryModel: 6
[    69.276] BankSize: 0
[    69.276] NumberOfImages: 1
[    69.276] RedMaskSize: 8
[    69.276] RedFieldPosition: 16
[    69.276] GreenMaskSize: 8
[    69.277] GreenFieldPosition: 8
[    69.277] BlueMaskSize: 8
[    69.277] BlueFieldPosition: 0
[    69.277] RsvdMaskSize: 8
[    69.277] RsvdFieldPosition: 24
[    69.277] DirectColorModeInfo: 0
[    69.277] PhysBasePtr: 0xdd000000
[    69.277] LinBytesPerScanLine: 6400
[    69.277] BnkNumberOfImagePages: 1
[    69.277] LinNumberOfImagePages: 1
[    69.277] LinRedMaskSize: 8
[    69.277] LinRedFieldPosition: 16
[    69.277] LinGreenMaskSize: 8
[    69.277] LinGreenFieldPosition: 8
[    69.277] LinBlueMaskSize: 8
[    69.277] LinBlueFieldPosition: 0
[    69.277] LinRsvdMaskSize: 8
[    69.277] LinRsvdFieldPosition: 24
[    69.277] MaxPixelClock: 229500000
[    69.277]
[    69.277] (II) VESA(0): Total Memory: 224 64KB banks (14336kB)
[    69.277] (II) VESA(0): Monitor0: Using hsync range of 30.00-86.00 kHz
[    69.277] (II) VESA(0): Monitor0: Using vrefresh range of 56.00-76.00 Hz
[    69.277] (II) VESA(0): Not using mode "1920x1080" (no mode of this name)
[    69.277] (II) VESA(0): Not using built-in mode "1600x1200" (no mode of this name)
[    69.277] (II) VESA(0): Not using built-in mode "1280x1024" (no mode of this name)
[    69.277] (II) VESA(0): Not using built-in mode "1024x768" (no mode of this name)
[    69.277] (II) VESA(0): Not using built-in mode "800x600" (no mode of this name)
[    69.277] (II) VESA(0): Not using built-in mode "640x480" (no mode of this name)
[    69.277] (II) VESA(0): Not using built-in mode "640x400" (no mode of this name)
[    69.277] (II) VESA(0): Not using built-in mode "320x400" (no mode of this name)
[    69.277] (II) VESA(0): Not using built-in mode "320x240" (no mode of this name)
[    69.277] (II) VESA(0): Not using built-in mode "320x200" (no mode of this name)
[    69.277] (WW) VESA(0): No valid modes left. Trying less strict filter...
[    69.277] (II) VESA(0): Monitor0: Using hsync range of 30.00-86.00 kHz
[    69.277] (II) VESA(0): Monitor0: Using vrefresh range of 56.00-76.00 Hz
[    69.277] (II) VESA(0): Not using mode "1920x1080" (no mode of this name)
[    69.277] (II) VESA(0): Not using built-in mode "320x240" (illegal horizontal timings)
[    69.277] (II) VESA(0): Not using built-in mode "320x200" (illegal horizontal timings)
[    69.277] (--) VESA(0): Virtual size is 1600x1200 (pitch 1600)
[    69.277] (**) VESA(0):  Built-in mode "1600x1200"
[    69.277] (**) VESA(0):  Built-in mode "1280x1024"
[    69.277] (**) VESA(0):  Built-in mode "1024x768"
[    69.278] (**) VESA(0):  Built-in mode "800x600"
[    69.278] (**) VESA(0):  Built-in mode "640x480"
[    69.278] (**) VESA(0):  Built-in mode "640x400"
[    69.278] (**) VESA(0):  Built-in mode "320x400"
[    69.278] (==) VESA(0): DPI set to (96, 96)
[    69.278] (II) VESA(0): Attempting to use 65Hz refresh for mode "1600x1200" (14a)
[    69.281] (II) VESA(0): Attempting to use 75Hz refresh for mode "1280x1024" (11b)
[    69.284] (II) VESA(0): Attempting to use 75Hz refresh for mode "1024x768" (118)
[    69.287] (II) VESA(0): Attempting to use 72Hz refresh for mode "800x600" (115)
[    69.291] (II) VESA(0): Attempting to use 73Hz refresh for mode "640x480" (112)
[    69.294] (**) VESA(0): Using "Shadow Framebuffer"
[    69.294] (II) Loading sub module "shadow"
[    69.294] (II) LoadModule: "shadow"
[    69.294] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    69.296] (II) Module shadow: vendor="X.Org Foundation"
[    69.296] compiled for 1.15.1, module version = 1.1.0
[    69.296] ABI class: X.Org ANSI C Emulation, version 0.4
[    69.296] (II) Loading sub module "fb"
[    69.296] (II) LoadModule: "fb"
[    69.296] (II) Loading /usr/lib/xorg/modules/libfb.so
[    69.297] (II) Module fb: vendor="X.Org Foundation"
[    69.297] compiled for 1.15.1, module version = 1.0.0
[    69.297] ABI class: X.Org ANSI C Emulation, version 0.4
[    69.297] (==) Depth 24 pixmap format is 32 bpp
[    69.297] (II) Loading sub module "int10"
[    69.297] (II) LoadModule: "int10"
[    69.297] (II) Loading /usr/lib/xorg/modules/libint10.so
[    69.297] (II) Module int10: vendor="X.Org Foundation"
[    69.297] compiled for 1.15.1, module version = 1.0.0
[    69.298] ABI class: X.Org Video Driver, version 15.0
[    69.298] (II) VESA(0): initializing int10
[    69.306] (II) VESA(0): Bad V_BIOS checksum
[    69.306] (II) VESA(0): Primary V_BIOS segment is: 0xc000
[    69.438] (II) VESA(0): VESA BIOS detected
[    69.438] (II) VESA(0): VESA VBE Version 3.0
[    69.439] (II) VESA(0): VESA VBE Total Mem: 14336 kB
[    69.439] (II) VESA(0): VESA VBE OEM: NVIDIA
[    69.439] (II) VESA(0): VESA VBE OEM Software Rev: 112.24
[    69.439] (II) VESA(0): VESA VBE OEM Vendor: NVIDIA Corporation
[    69.439] (II) VESA(0): VESA VBE OEM Product: GT218 Board - 06910002
[    69.439] (II) VESA(0): VESA VBE OEM Product Rev: Chip Rev   
[    69.439] (II) VESA(0): virtual address = 0xb2cf2000,
physical address = 0xdd000000, size = 14680064
[    69.478] (II) VESA(0): Setting up VESA Mode 0x14A (1600x1200)                                         <-----------------------------------
[    69.720] (==) VESA(0): Default visual is TrueColor
[    69.721] (==) VESA(0): Backing store enabled
[    69.721] (**) VESA(0): DPMS enabled
[    69.721] (==) RandR enabled
[    69.733] (II) SELinux: Disabled on system
[    69.735] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)    <-----------------------------------
...

in lsmod:

Code: [Select]
tc@ub-dC-tr-ordjd:~$ lsmod
Module                  Size  Used by
dm_crypt               16384  1
ctr                    12288  2
ccm                    12288  2
ipt_REJECT             12288  1
xt_conntrack           12288  1
xt_LOG                 16384  0
nf_conntrack_ftp       12288  0
iptable_nat            12288  0
nf_conntrack_ipv4      12288  2
nf_defrag_ipv4         12288  1 nf_conntrack_ipv4
nf_nat_ipv4            12288  1 iptable_nat
nf_nat                 16384  2 nf_nat_ipv4,iptable_nat
nf_conntrack           45056  6 nf_nat,nf_nat_ipv4,xt_conntrack,nf_conntrack_ftp,iptable_nat,nf_conntrack_ipv4
cpufreq_conservative    12288  0
cpufreq_stats          12288  0
cpufreq_userspace      12288  0
cpufreq_powersave      12288  0
dm_mod                 53248  3 dm_crypt
lp                     12288  0
usblp                  16384  0
snd_seq_dummy          12288  0
snd_pcm_oss            32768  0
snd_seq_oss            24576  0
snd_seq_midi_event     12288  1 snd_seq_oss
snd_seq                32768  5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_mixer_oss          16384  1 snd_pcm_oss
snd_cs4236             24576  0
snd_wavefront          24576  0
snd_opl3_lib           12288  2 snd_wavefront,snd_cs4236
snd_hwdep              12288  2 snd_wavefront,snd_opl3_lib
snd_wss_lib            20480  2 snd_wavefront,snd_cs4236
ns558                  12288  0
snd_via82xx            20480  1
snd_ac97_codec         77824  1 snd_via82xx
zd1211rw               40960  0
mac80211              180224  1 zd1211rw
snd_pcm                49152  5 snd_via82xx,snd_pcm_oss,snd_ac97_codec,snd_wss_lib,snd_cs4236
snd_timer              20480  4 snd_wss_lib,snd_pcm,snd_seq,snd_opl3_lib
ac97_bus               12288  1 snd_ac97_codec
snd_mpu401_uart        12288  3 snd_via82xx,snd_wavefront,snd_cs4236
snd_rawmidi            20480  2 snd_wavefront,snd_mpu401_uart
cfg80211              126976  2 mac80211,zd1211rw
snd_seq_device         12288  5 snd_seq,snd_rawmidi,snd_seq_oss,snd_seq_dummy,snd_opl3_lib
snd                    40960  18 snd_via82xx,snd_pcm_oss,snd_ac97_codec,snd_hwdep,snd_timer,snd_wss_lib,snd_pcm,snd_seq,snd_rawmidi,snd_wavefront,snd_seq_oss,snd_mpu401_uart,snd_seq_device,snd_mixer_oss,snd_cs4236,snd_opl3_lib
soundcore              12288  1 snd
gameport               12288  2 snd_via82xx,ns558
i2c_viapro             12288  0
via_agp                12288  1
agpgart                24576  1 via_agp
squashfs               24576  18
loop                   20480  38
ppdev                  12288  0
pcspkr                 12288  0
e1000                  77824  0
parport_pc             24576  2
parport                24576  3 lp,ppdev,parport_pc
tc@ub-dC-tr-ordjd:~$

with sce-import there is no nvidia-kernel to import. Is there necessary to create a nvidia-kernel-tynicore in Trusty?

Thanks.
« Last Edit: September 23, 2015, 02:48:56 PM by Onyarian »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: nvidia-kernel in Trusty
« Reply #1 on: September 24, 2015, 12:43:11 AM »
I have old 1990s nvidia cards and none more recent to test with.  So I can't try to help with newer cards and the nvidia driver.

But I will look into the nvidia-kernel package and see if I can produce something.

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Re: nvidia-kernel in Trusty
« Reply #2 on: September 24, 2015, 11:16:05 AM »
I have proved with Tinycore 4.7.7 and works flawless. Monitor with 1920x1080.

In onboot.lst:

...
nvidia-glx.tcz
nvidia-module-3.0.21-tinycore.tcz
...
« Last Edit: September 24, 2015, 11:17:36 AM by Onyarian »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: nvidia-kernel in Trusty
« Reply #3 on: September 24, 2015, 10:44:39 PM »
So Core 6.x and dCore both don't have the nvidia module?  I don't have the hardware to test a build, so I am not the best one to make a package for it.  Submissions for the prebuilt dCore packages are welcomed and encouraged for things like this.  Kernel modules built for Core work on dCore, as all dCore modules are built on Core 6.x.  So if this was built for Core, ti would be available here too.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: nvidia-kernel in Trusty
« Reply #4 on: September 26, 2015, 08:49:55 AM »
dCore user

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14835
Re: nvidia-kernel in Trusty
« Reply #5 on: September 26, 2015, 09:48:01 AM »
Those were for testing purposes - I don't have any nvidia hardware and I don't have confirmation that they work...