nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Solaris (http://www.nvnews.net/vbulletin/forumdisplay.php?f=45)
-   -   X fails to start when configured to use Nvidia drivers (http://www.nvnews.net/vbulletin/showthread.php?t=150360)

ajchace 04-25-10 07:54 PM

X fails to start when configured to use Nvidia drivers
 
1 Attachment(s)
The machine in question is running Opensolaris build 134 (a.k.a "snv_134") with nvidia driver version 195.36.15. The video card is an MSI N210-MD512H; here's output from "scanpci -v":

### Begin: scanpci output ###

pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x10de device 0x0a65
nVidia Corporation GT200 [GeForce 210]
CardVendor 0x1462 card 0x2011 (Micro-Star International Co., Ltd., Card unknown)
STATUS 0x0010 COMMAND 0x0047
CLASS 0x03 0x00 0x00 REVISION 0xa2
BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x08
BASE0 0xd2000000 SIZE 16777216 MEM
BASE1 0xc0000000 SIZE 268435456 MEM PREFETCHABLE
BASE3 0xd0000000 SIZE 33554432 MEM PREFETCHABLE
BASE5 0x00002000 SIZE 128 I/O
BASEROM 0x00000000 addr 0x00000000
MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x05

pci bus 0x0001 cardnum 0x00 function 0x01: vendor 0x10de device 0x0be3
nVidia Corporation Device unknown
CardVendor 0x1462 card 0x2011 (Micro-Star International Co., Ltd., Card unknown)
STATUS 0x0010 COMMAND 0x0046
CLASS 0x04 0x03 0x00 REVISION 0xa1
BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x08
BASE0 0xd3000000 SIZE 16384 MEM
BASEROM 0x00000000 addr 0x00000000
MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x05

### End: scanpci output ###

Here's the last part of "/var/log/Xorg.0.log".

### Begin: Xorg.0.log ###

(**) Apr 25 18:11:25 NVIDIA(0): Enabling RENDER acceleration
(**) Apr 25 18:11:25 NVIDIA(0): Ignoring EDIDs
(II) Apr 25 18:11:25 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Apr 25 18:11:25 NVIDIA(0): enabled.
(II) Apr 25 18:11:38 NVIDIA(GPU-0): Not probing EDID on CRT-1.
(II) Apr 25 18:11:38 NVIDIA(0): NVIDIA GPU GeForce 210 (GT218) at PCI:1:0:0 (GPU-0)
(--) Apr 25 18:11:38 NVIDIA(0): Memory: 1048576 kBytes
(--) Apr 25 18:11:38 NVIDIA(0): VideoBIOS: 70.18.2d.00.04
(II) Apr 25 18:11:38 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Apr 25 18:11:38 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Apr 25 18:11:38 NVIDIA(0): Connected display device(s) on GeForce 210 at PCI:1:0:0:
(--) Apr 25 18:11:38 NVIDIA(0): CRT-1
(--) Apr 25 18:11:38 NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
(II) Apr 25 18:11:38 NVIDIA(0): Assigned Display Device: CRT-1
(II) Apr 25 18:11:38 NVIDIA(0): Validated modes:
(II) Apr 25 18:11:38 NVIDIA(0): "1280x1024"
(II) Apr 25 18:11:38 NVIDIA(0): "1024x768"
(II) Apr 25 18:11:38 NVIDIA(0): "800x600"
(II) Apr 25 18:11:38 NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(WW) Apr 25 18:11:38 NVIDIA(0): Unable to get display device CRT-1's EDID; cannot compute DPI
(WW) Apr 25 18:11:38 NVIDIA(0): from CRT-1's EDID.
(==) Apr 25 18:11:38 NVIDIA(0): DPI set to (75, 75); computed from built-in default
(==) Apr 25 18:11:38 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) Apr 25 18:11:38 NVIDIA: Reserving 768.00 MB of virtual memory for indirect framebuffer
(II) Apr 25 18:11:38 NVIDIA: access.
(II) Apr 25 18:11:38 NVIDIA(0): Initialized GPU GART.
(II) Apr 25 18:11:38 NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(EE) Apr 25 18:11:48 NVIDIA(0): WAIT: (E, 0, 0x857d, 0)

### End: Xorg.0.log ###

I've seen several threads for Linux that seem to say that "wait()" indicates that this card isn't supported by this driver, but I haven't seen any posts about Solaris. According to the README for 195.36.15, this card should be supported.

I've attached a bug reported generated with Sun's "nvidia-SunOS-bug-report.sh" script.

paulgress 04-26-10 01:41 AM

Re: X fails to start when configured to use Nvidia drivers
 
One question, how did you add the driver?

Opensolaris requires a special set of instructions to install the driver, definitely not the same as Solaris 10.

The basic steps are listed below:

1) List the current Bes

$ pfexec beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
opensolaris - - 42.12M static 2009-10-19 15:25
osol-125 NR / 8.31G static 2009-10-20 06:23
$

2) Create a new BE. In this case the current BE is named "osol-125" so the
new BE will be named "osol-125-nvidia"

$ pfexec beadm create osol-125-nvidia
$

3) Mount the new BE on an unused directory, in this case /mnt.

$ pfexec beadm mount osol-125-nvidia /mnt
$

4) Remove the NVDAgraphics IPS package from the new BE

$ pfexec pkg -R /mnt uninstall NVDAgraphics
PHASE ACTIONS
Removal Phase 205/205
$

5) Extract the SYSV packages

$ pfexec /bin/sh NVIDIA-Solaris-x86-190.42.run --extract-only
$

6) The extracted directory name is the base name of the web installer
which is the name up to ".run". Change to this directory.

$ cd NVIDIA-Solaris-x86-190.42
$

7) Install the SYSV packages into the new BE. Answer "y" when prompted
for each package.

$ pfexec pkgadd -R /mnt -d . NVDAgraphics NVDAgraphicsr
...
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <NVDAgraphics> [y,n,?] y
Installing NVIDIA Graphics System Software as <NVDAgraphics>
...
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <NVDAgraphicsr> [y,n,?] y
Installing NVIDIA Graphics System Device Driver as <NVDAgraphicsr>
...
$

8) Create boot archive for the new BE

$ pfexec bootadm update-archive -R /mnt
$

9) Unmount the new BE

$ pfexec beadm unmount -f osol-125-nvidia
$

10) Activate the new BE

$ pfexec beadm activate osol-125-nvidia
$

11) Do a full reboot into the new BE

$ pfexec reboot -p
$

ajchace 04-26-10 09:32 AM

Re: X fails to start when configured to use Nvidia drivers
 
To install 195.36.15, I followed the instructions in the comments attached to Opensolaris BugID #12196; here's a link.

They're almost exactly the same as the instructions you provided. In step #11, I did a "shutdown -i5 -g0 -y" (shutdown to power off) instead of a "reboot -p".

I filed BugID 15751 at defects.opensolaris.org for the same problem; here's a link.

An Oracle employee stated that this is known problem and is being tracked under Nvidia IR 614102. It's not clear if this is hardware or software problem.

jordantech 04-26-11 11:42 AM

Re: X fails to start when configured to use Nvidia drivers
 
Quote:

Originally Posted by ajchace (Post 2240199)
To install 195.36.15, I followed the instructions in the comments attached to Opensolaris BugID #12196; here's a link.

They're almost exactly the same as the instructions you provided. In step #11, I did a "shutdown -i5 -g0 -y" (shutdown to power off) instead of a "reboot -p".

I filed BugID 15751 at defects.opensolaris.org for the same problem; here's a link.

An Oracle employee stated that this is known problem and is being tracked under Nvidia IR 614102. It's not clear if this is hardware or software problem.

If I remember correctly I read a short press release from Oracle stating that the issue was an internal hardware issue and that the current workaround (at the time) involved the instructions consisting of the shutdown. I would imagine that since they got it figured out they have worked up a patch or two?

Ricky31725 05-24-11 01:56 PM

Re: X fails to start when configured to use Nvidia drivers
 
Jordantech, I haven't heard of a solution, but I assume that there has been a fix. It has been a while since I first noticed the issue. Have you been able to find the press release you mentioned?


All times are GMT -5. The time now is 01:52 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.