Skip to contentSkip to conversation

Rivafb not working properly in kernel 2.5.15.

DISCUSSION Miles Lane 3 participants 6 messages May 11, 2002 – May 13, 2002 Framebuffer layer

lore
Share & tools
lore

Miles Lane

author
#0 lore raw

I am running development kernel 2.5.15 and am having some trouble getting rivafb to display in the correct mode.

After booting with "video=riva:1600x1200-16", fbset says:

mode "1600x1200-60"

    # D: 162.022 MHz, H: 75.010 kHz, V: 60.008 Hz
    geometry 1600 1200 1600 1200 16
    timings 6172 304 64 46 1 192 3
    hsync high
    vsync high
    accel true
    rgba 5/11,6/5,5/0,0/0

endmode

But the Tux logo is all purple. After running fbset -a "1600x1200-76", I seem to have the correct mode:

mode "1600x1200-76"

    # D: 197.981 MHz, H: 95.183 kHz, V: 76.146 Hz
    geometry 1600 1200 1600 1200 8
    timings 5051 304 40 42 3 136 5
    accel true
    rgba 8/0,8/0,8/0,0/0

endmode

What do I need to change about my append= line in order to get the corrent mode set at boot time or is this a bug in the rivafb code in 2.5.15?

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]

#1 lore raw
Quoted 2 lines · Miles Lane

I am running development kernel 2.5.15 and am having some trouble getting rivafb to display in the correct mode.

Does 2.4.19-pre8 work for you?

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]

author
#2 lore raw
Quoted 6 lines · Jeff Garzik
Quoted 2 lines · Miles Lane

I am running development kernel 2.5.15 and am having some trouble getting rivafb to display in the correct mode.

Does 2.4.19-pre8 work for you?

Yes, 2.4.19-pre8-ac2 fails in exactly the same way.

Miles

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]

#3 lore raw
In reply to Miles Lane

What video board and arch (i'm assuming i386)?

ani

Quoted 31 lines · Miles Lane

I am running development kernel 2.5.15 and am having some trouble getting rivafb to display in the correct mode.

After booting with "video=riva:1600x1200-16", fbset says:

mode "1600x1200-60"

     # D: 162.022 MHz, H: 75.010 kHz, V: 60.008 Hz
     geometry 1600 1200 1600 1200 16
     timings 6172 304 64 46 1 192 3
     hsync high
     vsync high
     accel true
     rgba 5/11,6/5,5/0,0/0

endmode

But the Tux logo is all purple. After running fbset -a "1600x1200-76", I seem to have the correct mode:

mode "1600x1200-76"

     # D: 197.981 MHz, H: 95.183 kHz, V: 76.146 Hz
     geometry 1600 1200 1600 1200 8
     timings 5051 304 40 42 3 136 5
     accel true
     rgba 8/0,8/0,8/0,0/0

endmode

What do I need to change about my append= line in order to get the corrent mode set at boot time or is this a bug in the rivafb code in 2.5.15?

Quoted 9 lines

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]
_______________________________________________
Linux-fbdev-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]

author
#4 lore raw
Quoted 1 line · Ani Joshi

What video board and arch (i'm assuming i386)?

May 12 07:08:53 turbulence kernel: Linux version 2.4.19-pre8-ac2
([email protected]) (gcc version 2.96 20000731 (Red Hat
Linux 7.1 2.96-98)) #1 Sun May 12 00:41:02 PDT 2002
May 12 07:08:54 turbulence kernel: Kernel command line: ro
root=/dev/hda6 hdd=ide-scsi console=ttyS0,38400 console=tty0
video=riva:1600x1200-16
May 12 07:08:54 turbulence kernel: Local APIC disabled by BIOS --
reenabling.
May 12 07:08:54 turbulence kernel: Found and enabled local APIC!
May 12 07:08:54 turbulence kernel: Initializing CPU#0
May 12 07:08:54 turbulence kernel: CPU: Before vendor init, caps:
0183fbff c1c3fbff 00000000, vendor = 2
May 12 07:08:54 turbulence kernel: CPU: L1 I Cache: 64K (64 bytes/line),
D cache 64K (64 bytes/line)
May 12 07:08:54 turbulence kernel: CPU: L2 Cache: 512K (64 bytes/line)
May 12 07:08:54 turbulence kernel: CPU: After vendor init, caps:
0183fbff c1c3fbff 00000000 00000000
May 12 07:08:54 turbulence kernel: Intel machine check architecture
supported.
May 12 07:08:54 turbulence kernel: Intel machine check reporting enabled
on CPU#0.
May 12 07:08:54 turbulence kernel: CPU:     After generic, caps:
0183fbff c1c3fbff 00000000 00000000
May 12 07:08:54 turbulence kernel: CPU:             Common caps:
0183fbff c1c3fbff 00000000 00000000
May 12 07:08:56 turbulence kernel: rivafb: RIVA MTRR set to ON
May 12 07:08:57 turbulence kernel: rivafb: PCI nVidia NV10 framebuffer

ver 0.9.3 (GeForce-DDR, 32MB @ 0xE8000000)

01:05.0 VGA compatible controller: nVidia Corporation GeForce 256 DDR (rev 10) (prog-if 00 [VGA])
Subsystem: VISIONTEK: Unknown device 000b
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: 64 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M] Region 1: Memory at e8000000 (32-bit, prefetchable) [size=128M] Expansion ROM at feaf0000 [disabled] [size=64K]
Capabilities: [60] Power Management version 1
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 2.0
		Status: RQ=31 SBA- 64bit- FW+ Rate=x1,x2
		Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>
Quoted 47 lines

ani

Quoted 40 lines · Miles Lane

I am running development kernel 2.5.15 and am having some trouble getting rivafb to display in the correct mode.

After booting with "video=riva:1600x1200-16", fbset says:

mode "1600x1200-60"

     # D: 162.022 MHz, H: 75.010 kHz, V: 60.008 Hz
     geometry 1600 1200 1600 1200 16
     timings 6172 304 64 46 1 192 3
     hsync high
     vsync high
     accel true
     rgba 5/11,6/5,5/0,0/0

endmode

But the Tux logo is all purple. After running fbset -a "1600x1200-76", I seem to have the correct mode:

mode "1600x1200-76"

     # D: 197.981 MHz, H: 95.183 kHz, V: 76.146 Hz
     geometry 1600 1200 1600 1200 8
     timings 5051 304 40 42 3 136 5
     accel true
     rgba 8/0,8/0,8/0,0/0

endmode

What do I need to change about my append= line in order to get the corrent mode set at boot time or is this a bug in the rivafb code in 2.5.15?

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]
_______________________________________________
Linux-fbdev-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]

author
#5 lore raw
In reply to Miles Lane

Hmm. I just realised may still not have given enough information. Here is a bit more.

vendor_id : AuthenticAMD
cpu family : 6
model

	: 2

model name : AMD Athlon(tm) Processor
cpu MHz : 848.383

00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller (rev 25)
Flags: bus master, medium devsel, latency 64
Memory at f8000000 (32-bit, prefetchable) [size=64M]
Memory at fc9ff000 (32-bit, prefetchable) [size=4K]
I/O ports at ffe4 [disabled] [size=4]
Capabilities: <available only to root>

00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP Bridge (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: fca00000-feafffff
Prefetchable memory behind bridge: e4800000-f48fffff

00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ISA (rev 01)
Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-756 [Viper] IDE (rev 03) (prog-if 8a [Master SecP PriP])

	Flags: bus master, medium devsel, latency 64
	I/O ports at cb00 [size=16]

00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ACPI (rev 03)
Flags: medium devsel

00:07.4 USB Controller: Advanced Micro Devices [AMD] AMD-756 [Viper] USB (rev 06) (prog-if 10 [OHCI])

	Flags: bus master, medium devsel, latency 16, IRQ 10
	Memory at febfe000 (32-bit, non-prefetchable) [size=4K]

00:0f.0 SCSI storage controller: Adaptec AHA-2930CU (rev 03)
Subsystem: Adaptec: Unknown device 3869
Flags: bus master, medium devsel, latency 64, IRQ 11 I/O ports at f800 [disabled] [size=256] Memory at febff000 (32-bit, non-prefetchable) [size=4K] Expansion ROM at febe0000 [disabled] [size=64K]
Capabilities: <available only to root>

00:11.0 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
Subsystem: NEC Corporation USB
Flags: bus master, medium devsel, latency 40, IRQ 11 Memory at febfb000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <available only to root>

00:11.1 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
Subsystem: NEC Corporation USB
Flags: bus master, medium devsel, latency 40, IRQ 5 Memory at febfc000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <available only to root>

00:11.2 USB Controller: NEC Corporation: Unknown device 00e0 (rev 01) (prog-if 20)
Subsystem: NEC Corporation: Unknown device 00e0
Flags: bus master, medium devsel, latency 64, IRQ 9
Memory at febfdf00 (32-bit, non-prefetchable) [size=256]
Capabilities: <available only to root>

00:12.0 Multimedia audio controller: Creative Labs SB Live! EMU10000 (rev 07)
Subsystem: Creative Labs CT4831 SBLive! Value
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at ff80 [size=32]
Capabilities: <available only to root>

00:12.1 Input device controller: Creative Labs SB Live! (rev 07)
Subsystem: Creative Labs Gameport Joystick
Flags: bus master, medium devsel, latency 64 I/O ports at fff0 [size=8]
Capabilities: <available only to root>

00:13.0 Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink] (rev 78)
Subsystem: 3Com Corporation 3C905C-TX Fast Etherlink for PC Management NIC
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at fc00 [size=128]
Memory at febfde80 (32-bit, non-prefetchable) [size=128] Expansion ROM at febc0000 [disabled] [size=128K]
Capabilities: <available only to root>

00:14.0 CardBus bridge: Ricoh Co Ltd RL5c478 (rev 03)

	Flags: medium devsel
	Memory at 10000000 (32-bit, non-prefetchable) [disabled] [size=4K]
	Bus: primary=00, secondary=02, subordinate=05, sec-latency=0
	I/O window 0: 00000000-00000003 [disabled]
	I/O window 1: 00000000-00000003 [disabled]
	16-bit legacy interface ports at 0001

00:14.1 CardBus bridge: Ricoh Co Ltd RL5c478 (rev 03)

	Flags: medium devsel
	Memory at 10001000 (32-bit, non-prefetchable) [disabled] [size=4K]
	Bus: primary=00, secondary=06, subordinate=09, sec-latency=0
	I/O window 0: 00000000-00000003 [disabled]
	I/O window 1: 00000000-00000003 [disabled]
	16-bit legacy interface ports at 0001

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]