Re: nVidia vs NetBSD v7 resolving issue.

2016-03-02 Thread Mike
On Wed, Mar 02, 2016 at 08:35:42AM +0330, Mohammad Badie Zadegan wrote:
BTW, I'm also using OpenBSD, as my second OS on "main" computer)) It
is good system, of course but there is no framebuffer at all in
openbsd(((
> Hi Mike,
> First of all I tried with default config of last release but it did not 
> worked!
> At now I switched to OpenBSD with no issue and run X with vesa good.
> Thanks for your Help too.
> Regards.
> 
> Sent from my iPhone
> 
> > On Mar 2, 2016, at 3:02 AM, Mike  wrote:
> > 
> >> On Fri, Feb 26, 2016 at 05:54:49PM +0330, Mohammad Badie Zadegan wrote:
> >> I set vesa 0x118 mode in boot prompt and I saw the boot process was change 
> >> visiblity to new mode but still errored me (EE) No Device detected.
> >> BTW, I didn't use current version.
> >> Is that I must use current version for vesa?
> >> 
>  On Feb 26, 2016, at 3:23 PM, Roy Bixler  wrote:
>  
>  On Fri, Feb 26, 2016 at 06:56:17AM +0330, Mohammad BadieZadegan wrote:
>  Yes, the main reason is that nVidia did not handle its source code.
>  How i can try booting from vesa framebuffer?
>  Which NetBSD image produce with vesa framebuffer defaultly?
>  Thanks for your attention.
> >>> 
> >>> From the boot prompt.  Try a "man boot" to see the commands.  One of the
> >>> commands is "vesa" and you can do "vesa list" to see which modes are
> >>> available.
> >>> 
> >>> -- 
> >>> Roy Bixler 
> >>> "The fundamental principle of science, the definition almost, is this: the
> >>> sole test of the validity of any idea is experiment."
> >>> -- Richard P. Feynman
> > Hi Mohammad... I guess you don't need current... First of all - did you
> > try to start X without config at all?? Most probably you just have to
> > specify the right BUSID in xorg.conf I'm using similar configuration
> > - framebuffer mode+nvidia cards+Xorg... It works with both nv and
> >  vesa(I'm not sure about vesa... I do not remember exactly) and wsfb
> > drivers! But when using your own xorg.conf you should specify slightly
> > different BusID's with different drivers...) Can you send your
> > Xorg.0.log, then running X --configure/ startx with config( pls also attach
> > your video device section of config)/ startx w/out config / Xorg
> > -logverbose 4 /)??
> > I've had 1680x1050 resolution in both console and X(using nv driver -
> > it's better... but before I've had to use wsfb, because I couldn't
> > understand for a long time, how to make this works "right"... finnaly
> > i've found running X with wsfb driver had too many flaws...and figured
> > out about this part of configuration...)
> > So I think I can help you, if you will still have problems, after the
> > above actions...)
> > 

-- 
Cool signature, or maybe script, fortune, etc...


Re: nVidia vs NetBSD v7 resolving issue.

2016-03-01 Thread Mike
On Fri, Feb 26, 2016 at 05:54:49PM +0330, Mohammad Badie Zadegan wrote:
> I set vesa 0x118 mode in boot prompt and I saw the boot process was change 
> visiblity to new mode but still errored me (EE) No Device detected.
> BTW, I didn't use current version.
> Is that I must use current version for vesa?
> 
> > On Feb 26, 2016, at 3:23 PM, Roy Bixler  wrote:
> > 
> >> On Fri, Feb 26, 2016 at 06:56:17AM +0330, Mohammad BadieZadegan wrote:
> >> Yes, the main reason is that nVidia did not handle its source code.
> >> How i can try booting from vesa framebuffer?
> >> Which NetBSD image produce with vesa framebuffer defaultly?
> >> Thanks for your attention.
> > 
> > From the boot prompt.  Try a "man boot" to see the commands.  One of the
> > commands is "vesa" and you can do "vesa list" to see which modes are
> > available.
> > 
> > -- 
> > Roy Bixler 
> > "The fundamental principle of science, the definition almost, is this: the
> > sole test of the validity of any idea is experiment."
> > -- Richard P. Feynman
Hi Mohammad... I guess you don't need current... First of all - did you
try to start X without config at all?? Most probably you just have to
specify the right BUSID in xorg.conf I'm using similar configuration
- framebuffer mode+nvidia cards+Xorg... It works with both nv and
  vesa(I'm not sure about vesa... I do not remember exactly) and wsfb
drivers! But when using your own xorg.conf you should specify slightly
different BusID's with different drivers...) Can you send your
Xorg.0.log, then running X --configure/ startx with config( pls also attach
your video device section of config)/ startx w/out config / Xorg
-logverbose 4 /)??
I've had 1680x1050 resolution in both console and X(using nv driver -
it's better... but before I've had to use wsfb, because I couldn't
understand for a long time, how to make this works "right"... finnaly
i've found running X with wsfb driver had too many flaws...and figured
out about this part of configuration...)
So I think I can help you, if you will still have problems, after the
above actions...)



Re: nVidia vs NetBSD v7 resolving issue.

2016-02-26 Thread coypu
On Thu, Feb 25, 2016 at 12:37:00PM +0330, Mohammad BadieZadegan wrote:
> Hi all,
> I have Dell E6410 Latitude notebook (With nVidia Graphic card) and I
> installed NetBSD v7.0 as a main OS on it.
> While I run [X -configure] it make a [xorg.conf.new] and then I run [X
> -config /root/xorg.conf.new] but it errored me: [(EE) No device Detected].
> 
> Finally I changed "nv" in [xorg.conf.new] to "vesa" but still error me
> [(EE) No device Detected]!
> 
> How can I resolve this nVidia issue?
> Thanks in advance.

Hi, I just hit the same issue.

The problem was in pkgsrc-current only (Xorg 1.18.1), with a patch to
the autoconfig file which had just been reverted.

the patch was patch-hw_xfree86_common_xf86AutoConfig.c

run cvs update on at least x11/modular-xorg-server and then make update.

(fix by tnn, thanks!).


Re: nVidia vs NetBSD v7 resolving issue.

2016-02-26 Thread Roy Bixler
On Fri, Feb 26, 2016 at 05:54:49PM +0330, Mohammad Badie Zadegan wrote:
> I set vesa 0x118 mode in boot prompt and I saw the boot process was change 
> visiblity to new mode but still errored me (EE) No Device detected.

Where did you see this message - with the X server?  If it's with the
vesa X server, then maybe you could try the wsfb X server.  It'll be
slow, but at least you'll have some graphics.  On the other hand, if
you didn't even see the usual kernel startup messages, then I'm not
sure what to suggest.

> BTW, I didn't use current version.
> Is that I must use current version for vesa?

No, but you can try that and see if you have any better results.


-- 
Roy Bixler 
"The fundamental principle of science, the definition almost, is this: the
sole test of the validity of any idea is experiment."
-- Richard P. Feynman


Re: nVidia vs NetBSD v7 resolving issue.

2016-02-26 Thread Mohammad Badie Zadegan
I set vesa 0x118 mode in boot prompt and I saw the boot process was change 
visiblity to new mode but still errored me (EE) No Device detected.
BTW, I didn't use current version.
Is that I must use current version for vesa?

> On Feb 26, 2016, at 3:23 PM, Roy Bixler  wrote:
> 
>> On Fri, Feb 26, 2016 at 06:56:17AM +0330, Mohammad BadieZadegan wrote:
>> Yes, the main reason is that nVidia did not handle its source code.
>> How i can try booting from vesa framebuffer?
>> Which NetBSD image produce with vesa framebuffer defaultly?
>> Thanks for your attention.
> 
> From the boot prompt.  Try a "man boot" to see the commands.  One of the
> commands is "vesa" and you can do "vesa list" to see which modes are
> available.
> 
> -- 
> Roy Bixler 
> "The fundamental principle of science, the definition almost, is this: the
> sole test of the validity of any idea is experiment."
> -- Richard P. Feynman


Re: nVidia vs NetBSD v7 resolving issue.

2016-02-26 Thread Mohammad BadieZadegan
Thanks for your Helps,
I downloaded 
*http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201602241810Z/images/NetBSD-7.99.26-amd64-install.img.gz
*
and boot from it and my Notebook hanged on:
*http://pasteboard.co/1PfvN8Bl.jpg *

I think that working on last release is better that this hanging!

On Thu, Feb 25, 2016 at 6:24 PM, Roy Bixler  wrote:

> On Thu, Feb 25, 2016 at 12:37:00PM +0330, Mohammad BadieZadegan wrote:
> > I have Dell E6410 Latitude notebook (With nVidia Graphic card) and I
> > installed NetBSD v7.0 as a main OS on it.
> > While I run [X -configure] it make a [xorg.conf.new] and then I run [X
> > -config /root/xorg.conf.new] but it errored me: [(EE) No device
> Detected].
> >
> > Finally I changed "nv" in [xorg.conf.new] to "vesa" but still error me
> > [(EE) No device Detected]!
> >
> > How can I resolve this nVidia issue?
>
> I have about a 10 year old Dell laptop with an nVidia card.  In my
> case, it wasn't necessary to run "X -configure".  It worked, up to a
> point (i.e. stability is an issue.)
>
> You might want to try netbsd-current, where the Nouveau driver has
> been made the default framebuffer for nVidia graphics cards.  I
> haven't quite gotten that to work, since the PCI BARs don't seem to be
> where the code expects them.
>
> If you hesitate to make the leap to -current, you could try booting
> with a Linux LiveCD like Knoppix and see if the Nouveau framebuffer
> works there.  It did for me, which led me to try the experiment with
> -current.
>
> --
> Roy Bixler 
> "The fundamental principle of science, the definition almost, is this: the
> sole test of the validity of any idea is experiment."
> -- Richard P. Feynman
>



-- 
[image: ( openbsd.pro  933k.ir )] 


Re: nVidia vs NetBSD v7 resolving issue.

2016-02-25 Thread Roy Bixler
On Fri, Feb 26, 2016 at 12:12:55AM +0330, Mohammad BadieZadegan wrote:
> Thanks for your Helps,
> I downloaded 
> *http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201602241810Z/images/NetBSD-7.99.26-amd64-install.img.gz
> *
> and boot from it and my Notebook hanged on:
> *http://pasteboard.co/1PfvN8Bl.jpg *
> 
> I think that working on last release is better that this hanging!

It crashed.  The reason you see the last release working better is
that Nouveau is not the default framebuffer.  I guess it works except
for graphics.  Just out of curiosity, have you tried (booting) using the
vesa framebuffer?

Unfortunately, the situation with nVidia graphics cards is not good
because they have not chosen to write an open source driver or open
their specifications necessary to write a driver.  In Linux, there is
a proprietary binary blob you could try or, in *x operating systems
(including NetBSD), the nv X server with obfuscated source code.
nouveau is reverse engineered and supports older nVidia cards.  It
works for me in Linux, but not in NetBSD.  I wonder what happens if
you try nouveau on Linux with your system.  It could be that your
nVidia card is too new to be supported by nouveau or the X nv server.

-- 
Roy Bixler 
"The fundamental principle of science, the definition almost, is this: the
sole test of the validity of any idea is experiment."
-- Richard P. Feynman


Re: nVidia vs NetBSD v7 resolving issue.

2016-02-25 Thread Mohammad BadieZadegan
Yes, I tried with default xorg.conf and startx but it error again.
BTW, I try with nouveau but still this error show me again.
Maybe, I must download and install the current version of NetBSD to resolve
this problem.
Thanks so much.

On Thu, Feb 25, 2016 at 3:51 PM,  wrote:

> On Thu, Feb 25, 2016 at 12:37:00PM +0330, Mohammad BadieZadegan wrote:
> > Hi all,
> > I have Dell E6410 Latitude notebook (With nVidia Graphic card) and I
> > installed NetBSD v7.0 as a main OS on it.
> > While I run [X -configure] it make a [xorg.conf.new] and then I run [X
> > -config /root/xorg.conf.new] but it errored me: [(EE) No device
> Detected].
> >
> > Finally I changed "nv" in [xorg.conf.new] to "vesa" but still error me
> > [(EE) No device Detected]!
> >
> > How can I resolve this nVidia issue?
> > Thanks in advance.
>
> Have you tried just startx without an X config?
>
> In general, nVidia support should be better in -current, as nouveau was
> not included in 7.0 (but is in -current).
>
> I've written about my experiences with an nVidia card here:
> http://mail-index.netbsd.org/current-users/2016/01/20/msg028722.html
> Maybe you will find it useful.
>



-- 
[image: ( openbsd.pro  933k.ir )] 


Re: nVidia vs NetBSD v7 resolving issue.

2016-02-25 Thread Roy Bixler
On Thu, Feb 25, 2016 at 12:37:00PM +0330, Mohammad BadieZadegan wrote:
> I have Dell E6410 Latitude notebook (With nVidia Graphic card) and I
> installed NetBSD v7.0 as a main OS on it.
> While I run [X -configure] it make a [xorg.conf.new] and then I run [X
> -config /root/xorg.conf.new] but it errored me: [(EE) No device Detected].
> 
> Finally I changed "nv" in [xorg.conf.new] to "vesa" but still error me
> [(EE) No device Detected]!
> 
> How can I resolve this nVidia issue?

I have about a 10 year old Dell laptop with an nVidia card.  In my
case, it wasn't necessary to run "X -configure".  It worked, up to a
point (i.e. stability is an issue.)

You might want to try netbsd-current, where the Nouveau driver has
been made the default framebuffer for nVidia graphics cards.  I
haven't quite gotten that to work, since the PCI BARs don't seem to be
where the code expects them.

If you hesitate to make the leap to -current, you could try booting
with a Linux LiveCD like Knoppix and see if the Nouveau framebuffer
works there.  It did for me, which led me to try the experiment with
-current.

-- 
Roy Bixler 
"The fundamental principle of science, the definition almost, is this: the
sole test of the validity of any idea is experiment."
-- Richard P. Feynman


Re: nVidia vs NetBSD v7 resolving issue.

2016-02-25 Thread coypu
On Thu, Feb 25, 2016 at 12:37:00PM +0330, Mohammad BadieZadegan wrote:
> Hi all,
> I have Dell E6410 Latitude notebook (With nVidia Graphic card) and I
> installed NetBSD v7.0 as a main OS on it.
> While I run [X -configure] it make a [xorg.conf.new] and then I run [X
> -config /root/xorg.conf.new] but it errored me: [(EE) No device Detected].
> 
> Finally I changed "nv" in [xorg.conf.new] to "vesa" but still error me
> [(EE) No device Detected]!
> 
> How can I resolve this nVidia issue?
> Thanks in advance.

Have you tried just startx without an X config?

In general, nVidia support should be better in -current, as nouveau was
not included in 7.0 (but is in -current).

I've written about my experiences with an nVidia card here:
http://mail-index.netbsd.org/current-users/2016/01/20/msg028722.html
Maybe you will find it useful.


nVidia vs NetBSD v7 resolving issue.

2016-02-25 Thread Mohammad BadieZadegan
Hi all,
I have Dell E6410 Latitude notebook (With nVidia Graphic card) and I
installed NetBSD v7.0 as a main OS on it.
While I run [X -configure] it make a [xorg.conf.new] and then I run [X
-config /root/xorg.conf.new] but it errored me: [(EE) No device Detected].

Finally I changed "nv" in [xorg.conf.new] to "vesa" but still error me
[(EE) No device Detected]!

How can I resolve this nVidia issue?
Thanks in advance.