Re: System slowness and graphics-card

2020-04-09 Thread Michael
Hello,

On Thu, 9 Apr 2020 13:33:21 +
m...@netbsd.org wrote:

> On Tue, Apr 07, 2020 at 10:11:24AM -0400, Todd Gruhn wrote:
> > The system I am using was assembled and purchase back in Aug 2019.
> > 
> > Some things I noticed:
> >   1) The graphics card (nVidia GEFORCE GTX 1660)  needs to be booted using
> >   boot -c ; disable nouveau; quit
> >2) When I compile a package -- and X Windows is NOT RUNNING -- this thing
> >flies
> >3) When I start X (using MWM) -- builds are extremely slow;
> >When I do "su root" checking the root passwd takes about 3 minutes
> > 
> > Is there a connection between X, my graphics card, and system slowness?
> > Is there a way to fix this; or is it a matter of having support for my 
> > chip-set?
> > 
> > I find this interesting to know.  
> 
> I had the same issue before getting nouveau to work. Had a theory I
> never tested that it might be the xf86-video-nv driver causing these
> issues. I imagine the best experience you could have is by forcing genfb
> somehow and using the x wsfb driver. one way to do it is by selecting
> one of the vesa modes in the bootloader, another (I think) is the uefi
> bootloader.

Hmm, some questions:
- check top(1) - is X eating up all the CPU cycles?
- which driver is Xorg actually using?

If it's actually nv, I have seen issues like that with NV40 hardware -
some rectangle fills never complete, the driver waits, times out,
resets the blitter, moves on. The visible symptom is X eating up
ridiculous amounts of CPU time.

have fun
Michael



Re: System slowness and graphics-card

2020-04-09 Thread Mike Pumford




On 09/04/2020 14:33, m...@netbsd.org wrote:

I had the same issue before getting nouveau to work. Had a theory I
never tested that it might be the xf86-video-nv driver causing these
issues. I imagine the best experience you could have is by forcing genfb
somehow and using the x wsfb driver. one way to do it is by selecting
one of the vesa modes in the bootloader, another (I think) is the uefi
bootloader.

I'd be slightly astonished if nv would even recognise a card that new. 
The nv driver is even older than the NetBSD kernel KMS layer (which 
doesn't support that card).


Mike




Re: System slowness and graphics-card

2020-04-09 Thread maya
On Tue, Apr 07, 2020 at 10:11:24AM -0400, Todd Gruhn wrote:
> The system I am using was assembled and purchase back in Aug 2019.
> 
> Some things I noticed:
>   1) The graphics card (nVidia GEFORCE GTX 1660)  needs to be booted using
>   boot -c ; disable nouveau; quit
>2) When I compile a package -- and X Windows is NOT RUNNING -- this thing
>flies
>3) When I start X (using MWM) -- builds are extremely slow;
>When I do "su root" checking the root passwd takes about 3 minutes
> 
> Is there a connection between X, my graphics card, and system slowness?
> Is there a way to fix this; or is it a matter of having support for my 
> chip-set?
> 
> I find this interesting to know.

I had the same issue before getting nouveau to work. Had a theory I
never tested that it might be the xf86-video-nv driver causing these
issues. I imagine the best experience you could have is by forcing genfb
somehow and using the x wsfb driver. one way to do it is by selecting
one of the vesa modes in the bootloader, another (I think) is the uefi
bootloader.


Re: System slowness and graphics-card

2020-04-07 Thread Mike Pumford




On 07/04/2020 15:11, Todd Gruhn wrote:

The system I am using was assembled and purchase back in Aug 2019.

Some things I noticed:
   1) The graphics card (nVidia GEFORCE GTX 1660)  needs to be booted using
   boot -c ; disable nouveau; quit
Okay this means you are disabling the KMS driver which means no 
acceleration in X.
After a quick google this is a TU116 chip which isn't supported in 9.0 
stable. You might have to disable nouveau if you were running the 
original 9.0 release as the patch to auto disable came down the pipe 
after the release was cut.



2) When I compile a package -- and X Windows is NOT RUNNING -- this thing
flies
3) When I start X (using MWM) -- builds are extremely slow;
When I do "su root" checking the root passwd takes about 3 minutes
 > Is there a connection between X, my graphics card, and system slowness?
Seems likely I'd guess X has no driver so is doing everything in 
software using the vesa driver. Without the nouveau kernel driver you 
can't use the new X driver and the old pre-KMS nv driver will also not 
support the card.
I do find it a bit surprisping that an X setup with mwm would be slow as 
thats a fairly lightweight window manager so even in vesa mode I'd 
expect any reasonable cpu to perform okay although that does depend on 
what you are doing in X. What things are you trying to run?




Is there a way to fix this; or is it a matter of having support for my chip-set?

There isn't newer support even in current so you either need an older NV 
card or an older AMD card to get supported hardware. This may of course 
be limiting in other ways if you dual boot the system and play games. :(



Mike


System slowness and graphics-card

2020-04-07 Thread Todd Gruhn
The system I am using was assembled and purchase back in Aug 2019.

Some things I noticed:
  1) The graphics card (nVidia GEFORCE GTX 1660)  needs to be booted using
  boot -c ; disable nouveau; quit
   2) When I compile a package -- and X Windows is NOT RUNNING -- this thing
   flies
   3) When I start X (using MWM) -- builds are extremely slow;
   When I do "su root" checking the root passwd takes about 3 minutes

Is there a connection between X, my graphics card, and system slowness?
Is there a way to fix this; or is it a matter of having support for my chip-set?

I find this interesting to know.