vga_detect fails for nvidia

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
Post Reply
devtomato
White ninja
White ninja
Posts: 6
Joined: 21 Oct 2013, 05:43
Distribution: dev
Location: SauceHouse

vga_detect fails for nvidia

Post#1 by devtomato » 21 Oct 2013, 05:52

My first time using porteus :) Welcome.... me

In response to vga_detect issue (reference: viewtopic.php?f=53&t=837&start=15).
It does not work in my situation. Here is my xorg log file:

http://pastebin.com/GK3EWELN

Here is my lspci | grep VGA output:

Code: Select all

01:00.0 VGA compatible controller: nVidia Corporation GT215 [GeForce GT 240] (rev a2)
ls optional/

Code: Select all

nVidia-319.32-porteus-v2.1-i486-1ftm.xzm
ls modules/

Code: Select all

001-core_fixes-alldesktops-20130910-i486-1prt.xzm 
07-printing.xzm
I always run into vga detection issues with (any) Linux distro. Why is this the case?

User avatar
fanthom
Site Admin
Site Admin
Posts: 4547
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: vga_detect fails for nvidia

Post#2 by fanthom » 21 Oct 2013, 09:03

is it only the 'vga_detect' cheatcode not loading the module or this driver does not work at all for your GPU?
did you try to put it directly into /porteus/modules folder? did you try nVidia-304.x module?

please link full report from 'xpsinfo' utility.
thanks
Please add [Solved] to your thread title if the solution was found.

devtomato
White ninja
White ninja
Posts: 6
Joined: 21 Oct 2013, 05:43
Distribution: dev
Location: SauceHouse

Re: vga_detect fails for nvidia

Post#3 by devtomato » 21 Oct 2013, 23:45

Hi Fanthom,
is it only the 'vga_detect' cheatcode not loading the module or this driver does not work at all for your GPU?
The nvidia drivers were working prior to booting Porteus on a different machine (with Intel Graphics). After that, I am assuming nvidia graphics drivers were unstagged.
did you try to put it directly into /porteus/modules folder?
Yes, doesn't work. I get a message during boot sequence saying Fatal Error along with Unloading nvidia driver message.
did you try nVidia-304.x module?
No, I am running nVidia-319.32 module which was the default module downloaded with Porteus
please link full report from 'xpsinfo' utility.
http://pastebin.com/NydZXkFK

User avatar
francois
Contributor
Contributor
Posts: 4902
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: vga_detect fails for nvidia

Post#4 by francois » 22 Oct 2013, 01:50

According to nvidia linux driver site both drivers should fit the geforce gt 240, see supported cards:
http://www.nvidia.ca/object/linux-displ ... river.html
http://www.nvidia.ca/object/linux-displ ... .37-driver

Please try the nvidia 304 module in the modules directory, as proposed by fanthom.
Voltaire: Le mieux est l'ennemi du bien.

devtomato
White ninja
White ninja
Posts: 6
Joined: 21 Oct 2013, 05:43
Distribution: dev
Location: SauceHouse

Re: vga_detect fails for nvidia

Post#5 by devtomato » 22 Oct 2013, 02:39

As I mentioned, I don't think the problem is the drivers. I have been using compiled binary with other distros for nvidia 319+. There seems to be some issue with the way Porteus detects VGA Adapters. :)

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: vga_detect fails for nvidia

Post#6 by brokenman » 22 Oct 2013, 14:47

Is this a full xpsinfo dump becaue it looks short? It would be interesting to see the output of lspci. On my (dual graphics) machine for example the video card is not detected as VGA:

00:02.0 VGA compatible controller: Intel Corporation Device 0416 (rev 06)
01:00.0 3D controller: nVidia Corporation Device 0fe3 (rev a1)
How do i become super user?
Wear your underpants on the outside and put on a cape.

devtomato
White ninja
White ninja
Posts: 6
Joined: 21 Oct 2013, 05:43
Distribution: dev
Location: SauceHouse

Re: vga_detect fails for nvidia

Post#7 by devtomato » 23 Oct 2013, 05:52

Here is my lspci

Code: Select all

00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 10)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
00:1d.0 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA Controller [IDE mode] (rev 01)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation GT215 [GeForce GT 240] (rev a2)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
03:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)

User avatar
fanthom
Site Admin
Site Admin
Posts: 4547
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: vga_detect fails for nvidia

Post#8 by fanthom » 23 Oct 2013, 08:56

@devtomato
Xorg in porteus detects GPUs the same way as in other distros i believe (through udev). there is no harm to try 304.x and even 173.x driver - please do and report back.
please make sure you boot without 'changes=' cheatcode. please also add 'cliexec=xconf' cheatcode which should generate /etc/X11/xorg.conf prior to launching Xorg.

if nothing helps then please post output of 'lspci -nn | grep 0300' (i'm interested in the pciid of your card).
Please add [Solved] to your thread title if the solution was found.

devtomato
White ninja
White ninja
Posts: 6
Joined: 21 Oct 2013, 05:43
Distribution: dev
Location: SauceHouse

Re: vga_detect fails for nvidia

Post#9 by devtomato » 24 Oct 2013, 02:57

Xorg in porteus detects GPUs the same way as in other distros i believe (through udev).
ok.
there is no harm to try 304.x and even 173.x driver - please do and report back.
I just re-downloaded Porteus with all three nvidia modules built-in (319x 304x and 173x). I still get Fatal error and unloading nvidia module but X now starts. It seems then X blindly loads the available modules and unloads them if it fails to start (guess and check method). I have no way of knowing which module did load successfully or if X is running with 2d/3d acceleration or not. But atleast X now starts.
please make sure you boot without 'changes=' cheatcode. please also add 'cliexec=xconf' cheatcode which should generate /etc/X11/xorg.conf prior to launching Xorg.
I didn't try that yet.
if nothing helps then please post output of 'lspci -nn | grep 0300' (i'm interested in the pciid of your card).
Sure here:

Code: Select all

01:00.0 VGA compatible controller [0300]: nVidia Corporation GT215 [GeForce GT 240] [10de:0ca3] (rev a2)
And here is my new Xorg log file:
http://pastebin.com/qqNdk9Hf

User avatar
fanthom
Site Admin
Site Admin
Posts: 4547
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: vga_detect fails for nvidia

Post#10 by fanthom » 24 Oct 2013, 20:41

keeping all three nVidia drivers in /porteus/modules makes no sense (last module activated will override others). please rather put them to /porteus/optional and use 'load=' cheatcode (please read /boot/docs/cheatcodes.txt for description).
please dont forget to drop 'changes=' and add 'cliexec=xconf' when testing.
Please add [Solved] to your thread title if the solution was found.

devtomato
White ninja
White ninja
Posts: 6
Joined: 21 Oct 2013, 05:43
Distribution: dev
Location: SauceHouse

Re: vga_detect fails for nvidia

Post#11 by devtomato » 26 Oct 2013, 05:04

Dear fanthom:
keeping all three nVidia drivers in /porteus/modules makes no sense (last module activated will override others).
Ok.
please rather put them to /porteus/optional and use 'load=' cheatcode (please read /boot/docs/cheatcodes.txt for description).
I used the predicate load=319 which loaded the nvidia drivers
please dont forget to drop 'changes=' and add 'cliexec=xconf' when testing.
I kept the changes predicate (because I want persistent file storage) and added the cliexec.

Result:

I was able to boot but I still saw Fatal error message. Xorg will retry modesetting the driver. While I was able to get in, I cannot locate the nvidia control panel (nvidia-settings?). Therefore I am not sure if nvidia drivers were loaded. There are two Xorg log files.

Here is Xorg.0.log.old:
http://pastebin.com/sHkuwsd1

Here is Xorg.0.log:
http://pastebin.com/BfNQVu6a

Awaiting your response.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4547
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: vga_detect fails for nvidia

Post#12 by fanthom » 26 Oct 2013, 07:57

I kept the changes predicate (because I want persistent file storage)
we are debugging, trying to find a root cause of the problem - once we find it you can do whatever you want but for now please listen to my advices.

this line tells me that there is something wrong with your changes:
[ 25.513] (EE) Failed to load module "nvidia" (module does not exist, 0)
[ 25.513] (EE) No drivers available.
please do as follows (this time do it exactly as i write):
a) boot to 'Always Fresh' mode
b) open terminal -> switch to root with 'su' -> type 'init 3' which will bring you to the text mode
c) login as root and activate nVidia driver from /porteus/optional folder
d) run 'xconf' command and then copy /etc/X11/xorg.conf to the /root folder
e) run 'init 4' and this should bring you to the desktop with nvidia driver being used
f) if you get usual failure then please upload previously saved /root/xorg.conf and /var/log/Xorg.0.log.old to pastebin.com then link here.

thanks.
Please add [Solved] to your thread title if the solution was found.

Post Reply