# GeForce 4 MX have no working frame buffer at all..

- List: linux-fbdev
- 5 messages, 4 authors
- Page: https://ratatoskr.run/linux-fbdev/2004/08/13453580/t

## GeForce 4 MX have no working frame buffer at all..

- From: Ploum Ploum \<hidden\>
- Date: 2004-08-21 10:51:16 
- Message: https://ratatoskr.run/linux-fbdev/2004/08/13453580.md

```text
Hi,

I have a GeForce 4 MX nvidia card and the framebuffer have never worked with no kernel  and no distributions.

Since I'm not completely newbie for compiling and configuring the the kernel and that even LiveCD have never a framebuffer and that, if I change my GeForce 4MX 440 card with a GeForce 4MX 460, the framebuffer works, I highly suspect a bug. (Like a serial number not present because this card is not so popular or this sort of thing)

Here's the lspci -vvvv output for the card :

0000:02:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2) (prog-if 00 [VGA])
       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
       Latency: 248 (1250ns min, 250ns max)
       Interrupt: pin A routed to IRQ 11
       Region 0: Memory at e8000000 (32-bit, non-prefetchable) [size=16M]
       Region 1: Memory at e4000000 (32-bit, prefetchable) [size=64M]
       Capabilities: [60] Power Management version 2
               Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
               Status: D0 PME-Enable- DSel=0 DScale=0 PME-
       Capabilities: [44] AGP version 3.0
               Status: RQ=32 Iso- ArqSz=0 Cal=3 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
               Command: RQ=32 ArqSz=2 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x8


Well, I hope that this will help you. Please tell me if you need mor informations or testing ( I can surely patch and recompile a kernel ).  If this mail is not sent to the correct mailing-list, I apologize for the disturbing, but.. can you help me to sent it to the correct ML ?

Thank you a lot

Ploum


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
```

## \[patch\] Re: GeForce 4 MX have no working frame buffer at all..

- From: Francois Romieu \<romieu@fr.zoreil.com\>
- Date: 2004-08-21 11:17:50 
- Message: https://ratatoskr.run/linux-fbdev/2004/08/13453581.md

```text
Ploum Ploum [ref] :
[...]
> Here's the lspci -vvvv output for the card :
> 
> 0000:02:00.0 VGA compatible controller: nVidia Corporation NV18 
> [GeForce4 MX 440 AGP 8x] (rev a2) (prog-if 00 [VGA])

Try patch below. If it does not work, please send a complete dmesg and
lspci -vx.

diff -puN drivers/video/riva/fbdev.c~rivafb-missing-id drivers/video/riva/fbdev.c
--- linux-2.6.8.1/drivers/video/riva/fbdev.c~rivafb-missing-id	2004-08-21 13:05:41.000000000 +0200
+++ linux-2.6.8.1-romieu/drivers/video/riva/fbdev.c	2004-08-21 13:07:31.000000000 +0200
@@ -1836,6 +1836,7 @@ static u32 riva_get_arch(struct pci_dev 
 		case 0x0110:   /* GeForce2 MX */
 		case 0x0150:   /* GeForce2 */
 		case 0x0170:   /* GeForce4 MX */
+		case 0x0171:   /* GeForce4 MX */
 		case 0x0180:   /* GeForce4 MX (8x AGP) */
 		case 0x01A0:   /* nForce */
 		case 0x01F0:   /* nForce2 */

_


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
```

## Re: \[patch\] Re: GeForce 4 MX have no working frame buffer at all..

- From: Antonino A. Daplas \<hidden\>
- Date: 2004-08-21 13:32:48 
- Message: https://ratatoskr.run/linux-fbdev/2004/08/13453582.md

```text
On Saturday 21 August 2004 19:14, Francois Romieu wrote:
> Ploum Ploum [ref] :
> [...]
>
> > Here's the lspci -vvvv output for the card :
> >
> > 0000:02:00.0 VGA compatible controller: nVidia Corporation NV18
> > [GeForce4 MX 440 AGP 8x] (rev a2) (prog-if 00 [VGA])
>
> Try patch below. If it does not work, please send a complete dmesg and
> lspci -vx.
>
> diff -puN drivers/video/riva/fbdev.c~rivafb-missing-id
> drivers/video/riva/fbdev.c ---
> linux-2.6.8.1/drivers/video/riva/fbdev.c~rivafb-missing-id	2004-08-21
> 13:05:41.000000000 +0200 +++
> linux-2.6.8.1-romieu/drivers/video/riva/fbdev.c	2004-08-21
> 13:07:31.000000000 +0200 @@ -1836,6 +1836,7 @@ static u32
> riva_get_arch(struct pci_dev
>  		case 0x0110:   /* GeForce2 MX */
>  		case 0x0150:   /* GeForce2 */
>  		case 0x0170:   /* GeForce4 MX */
> +		case 0x0171:   /* GeForce4 MX */
>  		case 0x0180:   /* GeForce4 MX (8x AGP) */
>  		case 0x01A0:   /* nForce */
>  		case 0x01F0:   /* nForce2 */
>

No, the above won't work.  The GF4 MX 440 is NV18 which should be covered
by the statement 'case 0x0180'.

Try using linux-2.6.8.1 + Andrew's -mm2 patch.  Older 2.6 kernels incorrectly
classified your card as NV_ARCH_20, which should be NV_ARCH_10.

Tony




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
```

## Re: \[patch\] Re: GeForce 4 MX have no working frame buffer at all..

- From: Ploum Ploum \<hidden\>
- Date: 2004-08-21 17:42:36 
- Message: https://ratatoskr.run/linux-fbdev/2004/08/13453593.md

```text
Antonino A. Daplas wrote:

>On Saturday 21 August 2004 19:14, Francois Romieu wrote:
>  
>
>>Ploum Ploum [ref] :
>>[...]
>>
>>    
>>
>>>Here's the lspci -vvvv output for the card :
>>>
>>>0000:02:00.0 VGA compatible controller: nVidia Corporation NV18
>>>[GeForce4 MX 440 AGP 8x] (rev a2) (prog-if 00 [VGA])
>>>      
>>>
>>Try patch below. If it does not work, please send a complete dmesg and
>>lspci -vx.
>>
>>diff -puN drivers/video/riva/fbdev.c~rivafb-missing-id
>>drivers/video/riva/fbdev.c ---
>>linux-2.6.8.1/drivers/video/riva/fbdev.c~rivafb-missing-id	2004-08-21
>>13:05:41.000000000 +0200 +++
>>linux-2.6.8.1-romieu/drivers/video/riva/fbdev.c	2004-08-21
>>13:07:31.000000000 +0200 @@ -1836,6 +1836,7 @@ static u32
>>riva_get_arch(struct pci_dev
>> 		case 0x0110:   /* GeForce2 MX */
>> 		case 0x0150:   /* GeForce2 */
>> 		case 0x0170:   /* GeForce4 MX */
>>+		case 0x0171:   /* GeForce4 MX */
>> 		case 0x0180:   /* GeForce4 MX (8x AGP) */
>> 		case 0x01A0:   /* nForce */
>> 		case 0x01F0:   /* nForce2 */
>>
>>    
>>
>
>No, the above won't work.  The GF4 MX 440 is NV18 which should be covered
>by the statement 'case 0x0180'.
>
>Try using linux-2.6.8.1 + Andrew's -mm2 patch.  Older 2.6 kernels incorrectly
>classified your card as NV_ARCH_20, which should be NV_ARCH_10.
>
>Tony
>  
>

I've applied the mm3 patch from kernel.org and the patch supplied by François Romieu but there's no change at all.

Note, I forget to say that I can enable the framebuffer but only at 800x600.  If I put vga=ash (video=vesafb), it simply won't recognise any number that correspond to a higher resolution. Also, using the framebuffer at 800x600 has a grave bug : once that X is started, I cannot anymore see a console, only a black screen. those console works perfectly (I can "blind" type on it) but I cannot see it.  Even if I kill X, only a black screen remains.

I've put video=rivafb also, but then it simply doesn't work and boot on a non-fb console.

Please find dmesg and lspci -vx as attach.

Thx a lot for your interest in my problem :-)

Ploum


```

## Re: \[patch\] Re: GeForce 4 MX have no working frame buffer at all..

- From: Francois Romieu \<hidden\>
- Date: 2004-08-21 20:01:51 
- Message: https://ratatoskr.run/linux-fbdev/2004/08/13453594.md

```text
Ploum Ploum [ref] :
[...]
> I've applied the mm3 patch from kernel.org and the patch supplied by 
> François Romieu but there's no change at all.

Bug of mine: I did not notice the lower part of the mask.

> Note, I forget to say that I can enable the framebuffer but only at 
> 800x600.  If I put vga=ash (video=vesafb), it simply won't recognise any 
> number that correspond to a higher resolution. Also, using the 
> framebuffer at 800x600 has a grave bug : once that X is started, I 
> cannot anymore see a console, only a black screen. those console works 
> perfectly (I can "blind" type on it) but I cannot see it.  Even if I 
> kill X, only a black screen remains.

X messes with the hardware. You do not want to kill it.

> I've put video=rivafb also, but then it simply doesn't work and boot on 
> a non-fb console.

Can you reproduce this test without nvidia proprietary module loaded at
startup ?

As a minimum there should be some messages prefixed by "rivafb: xxx".

--
Ueimor


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
```
