From owner-freebsd-x11@freebsd.org Fri Feb 5 21:13:57 2016 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D530AA9E2D6 for ; Fri, 5 Feb 2016 21:13:57 +0000 (UTC) (envelope-from adaugherity@tamu.edu) Received: from os-mail-6.tamu.edu (os-mail-6.tamu.edu [165.91.22.21]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (Client CN "smtp-relay.tamu.edu", Issuer "InCommon RSA Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B5F09C3E for ; Fri, 5 Feb 2016 21:13:57 +0000 (UTC) (envelope-from adaugherity@tamu.edu) X-TAMU-Auth-ID: None X-TAMU-SenderIP: 165.91.22.240 Received: from exchange.tamu.edu (exch-2p-snat-pool.tamu.edu [165.91.22.240]) by os-mail-6.itio.tamu.edu (8.15.0.59/8.15.0.59) with ESMTPS id u15KgSGS000872 (version=TLSv1 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 5 Feb 2016 14:42:28 -0600 Received: from MB03.ads.tamu.edu ([169.254.3.40]) by caex01.ads.tamu.edu ([128.194.147.20]) with mapi id 14.03.0266.001; Fri, 5 Feb 2016 14:42:28 -0600 From: Andrew Daugherity To: "freebsd-x11@FreeBSD.org" Subject: radeonkms console is grayscale Thread-Topic: radeonkms console is grayscale Thread-Index: AQHRYFW5hXy6EIhAPUadUqLAwU0qIA== Date: Fri, 5 Feb 2016 20:42:27 +0000 Message-ID: <392725FF-3B98-4526-A431-3974E0568D2B@tamu.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.194.89.247] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.15.21, 1.0.33, 0.0.0000 definitions=2016-02-05_08:2016-02-05,2016-02-05,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 urlsuspectscore=0.9 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1601100000 definitions=main-1602050349 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 21:13:58 -0000 I decided to try out the new VT framebuffer console on a 10.2/amd64 server.= It works properly with VT+VGA, but after loading radeonkms all colored te= xt (e.g. in vim, 'ls -G', etc.) is now just various shades of gray. It doe= s switch to a higher resolution and seems plenty fast, so the lack of color= seems to be the only problem. Loading radeonkms after boot vs. in loader.= conf does not affect this problem. Video hardware is the onboard ES1000 (aka RV100/Radeon 7000) on a Dell Powe= rEdge SC1435; the firmware loaded is radeonkmsfw_R100_cp. pciconf output: vgapci0@pci0:0:4:0: class=3D0x030000 card=3D0x01eb1028 chip=3D0x515e1002 re= v=3D0x02 hdr=3D0x00 vendor =3D 'Advanced Micro Devices [AMD] nee ATI' device =3D 'ES1000' class =3D display subclass =3D VGA bar [10] =3D type Prefetchable Memory, range 32, base 0xe0000000, siz= e 134217728, enabled bar [14] =3D type I/O Port, range 32, base 0xcc00, size 256, enabled bar [18] =3D type Memory, range 32, base 0xef9f0000, size 65536, enab= led cap 01[50] =3D powerspec 2 supports D0 D1 D2 D3 current D0 I also tried an 11.0-current (r294912) live USB, which aside from using VT = by default even in BIOS mode, has the same problem. It boots in VGA mode w= ith color, then after 'kldload radeonkms' everything is grayscale. I do not have xorg installed at all, so apologies if this is the wrong list= , but this seemed to be the place for kms issues. -Andrew dmesg: Copyright (c) 1992-2015 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.2-RELEASE-p9 #0: Thu Jan 14 01:32:46 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 VT: running with driver "vga". info: [drm] Initialized drm 1.1.0 20060810 CPU: Quad-Core AMD Opteron(tm) Processor 2360 SE (2493.81-MHz K8-class CPU) Origin=3D"AuthenticAMD" Id=3D0x100f23 Family=3D0x10 Model=3D0x2 Stepp= ing=3D3 Features=3D0x178bfbff Features2=3D0x802009 AMD Features=3D0xee500800 AMD Features2=3D0x7ff SVM: NP,NAsids=3D64 TSC: P-state invariant real memory =3D 6442450944 (6144 MB) avail memory =3D 6188843008 (5902 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 ioapic0: Changing APIC ID to 4 ioapic1: Changing APIC ID to 5 ioapic2: Changing APIC ID to 6 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-15 on motherboard ioapic1 irqs 32-47 on motherboard ioapic2 irqs 64-79 on motherboard ispfw: registered firmware ispfw: registered firmware ispfw: registered firmware ispfw: registered firmware ispfw: registered firmware ispfw: registered firmware ispfw: registered firmware ispfw: registered firmware ispfw: registered firmware ispfw: registered firmware ispfw: registered firmware ispfw: registered firmware ispfw: registered firmware ispfw: registered firmware random: initialized module_register_init: MOD_LOAD (vesa, 0xffffffff80db8ea0, 0) error 19 kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 attimer0: port 0x40-0x5f irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x7f irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci3: on pcib1 pcib2: at device 13.0 on pci3 pci4: on pcib2 atapci0: port 0xecb0-0xecb7,0xeca0-= 0xeca3,0xecb8-0xecbf,0xeca4-0xeca7,0xece0-0xecef mem 0xefbfe000-0xefbfffff = irq 11 at device 14.0 on pci3 ata2: at channel 0 on atapci0 ata3: at channel 1 on atapci0 ata4: at channel 2 on atapci0 ata5: at channel 3 on atapci0 atapci1: port 0x1f0-0x1f7,0x3f6,0x1= 70-0x177,0x376,0x8c0-0x8cf at device 2.1 on pci0 ata0: at channel 0 on atapci1 ata1: at channel 1 on atapci1 isab0: at device 2.2 on pci0 isa0: on isab0 ohci0: port 0xc000-0xc0ff mem 0xef9ed000-0x= ef9edfff irq 11 at device 3.0 on pci0 usbus0 on ohci0 ohci1: port 0xc400-0xc4ff mem 0xef9ee000-0x= ef9eefff irq 11 at device 3.1 on pci0 usbus1 on ohci1 ehci0: port 0xc800-0xc8ff mem 0xef9ef00= 0-0xef9effff irq 11 at device 3.2 on pci0 usbus2: EHCI version 1.0 usbus2 on ehci0 vgapci0: port 0xcc00-0xccff mem 0xe0000000-0xe7fff= fff,0xef9f0000-0xef9fffff irq 44 at device 4.0 on pci0 drmn0: on vgapci0 info: [drm] RADEON_IS_PCI info: [drm] initializing kernel modesetting (RV100 0x1002:0x515E 0x1028:0x0= 1EB). info: [drm] register mmio base: 0xEF9F0000 info: [drm] register mmio size: 65536 info: [drm] radeon_atrm_get_bios: =3D=3D=3D> Try ATRM... info: [drm] radeon_atrm_get_bios: pci_find_class() found: 0:0:4:0, vendor= =3D1002, device=3D515e info: [drm] radeon_atrm_get_bios: Get ACPI device handle info: [drm] radeon_acpi_vfct_bios: =3D=3D=3D> Try VFCT... info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND info: [drm] igp_read_bios_from_vram: =3D=3D=3D> Try IGP's VRAM... info: [drm] igp_read_bios_from_vram: VRAM base address: 0xe0000000 info: [drm] igp_read_bios_from_vram: Map address: 0xfffff800e0000000 (26214= 4 bytes) info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x0000 info: [drm] radeon_read_bios: =3D=3D=3D> Try PCI Expansion ROM... info: [drm] radeon_read_bios: Map address: 0xfffff800000c0000 (131072 bytes= ) drmn0: info: VRAM: 128M 0x00000000E0000000 - 0x00000000E7FFFFFF (16M used) drmn0: info: GTT: 512M 0x00000000C0000000 - 0x00000000DFFFFFFF info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). info: [drm] Driver supports precise vblank timestamp query. info: [drm] radeon: irq initialized. info: [drm] Detected VRAM RAM=3D128M, BAR=3D128M info: [drm] RAM width 64bits SDR [TTM] Zone kernel: Available graphics memory: 3129244 kiB [TTM] Zone dma32: Available graphics memory: 2097152 kiB [TTM] Initializing pool allocator info: [drm] radeon: 16M of VRAM memory ready info: [drm] radeon: 512M of GTT memory ready. info: [drm] GART: num cpu pages 131072, num gpu pages 131072 info: [drm] PCI GART of 512M enabled (table at 0x0000000002234000). drmn0: info: WB disabled drmn0: info: fence driver on ring 0 use gpu addr 0x00000000c0000000 and cpu= addr 0x0xfffff800050bc000 info: [drm] Loading R100 Microcode info: [drm] radeon: ring at 0x00000000C0001000 info: [drm] ring test succeeded in 2 usecs info: [drm] ib test succeeded in 0 usecs info: [drm] radeon_device_init: Taking over the fictitious range 0xe0000000= -0xe4000000 iicbus0: on iicbb0 addr 0xff iic0: on iicbus0 iicbus1: on iicbb1 addr 0x0 iic1: on iicbus1 iicbus2: on iicbb2 addr 0x0 iic2: on iicbus2 iicbus3: on iicbb3 addr 0x0 iic3: on iicbus3 info: [drm] Radeon Display Connectors info: [drm] Connector 0: info: [drm] VGA-1 info: [drm] DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60 info: [drm] Encoders: info: [drm] CRT1: INTERNAL_DAC1 info: [drm] Connector VGA-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.VGA-1 info: [drm] - kern.vt.fb.default_mode info: [drm] fb mappable at 0xE0040000 info: [drm] vram apper at 0xE0000000 info: [drm] size 786432 info: [drm] fb depth is 8 info: [drm] pitch is 1024 fbd0 on drmn0 VT: Replacing driver "vga" with new "fb". info: [drm] Initialized radeon 2.29.0 20080528 for drmn0 on minor 0 vgapci0: Boot video device pcib3: irq 32 at device 7.0 on pci0 ACPI Warning: \134_SB_.PCI0.EXB0._PRT: Return Package has no elements (empt= y) (20150515/nsprepkg-137) pci5: on pcib3 pcib4: irq 33 at device 8.0 on pci0 pci1: on pcib4 bge0: = mem 0xefcf0000-0xefcfffff irq 33 at device 0.0 on pci1 bge0: CHIP ID 0x00004201; ASIC REV 0x04; CHIP REV 0x42; PCI-E miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000ba= seT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: Ethernet address: 00:1e:c9:52:43:33 pcib5: irq 37 at device 9.0 on pci0 pci2: on pcib5 bge1: = mem 0xefdf0000-0xefdfffff irq 37 at device 0.0 on pci2 bge1: CHIP ID 0x00004201; ASIC REV 0x04; CHIP REV 0x42; PCI-E miibus1: on bge1 brgphy1: PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000ba= seT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge1: Ethernet address: 00:1e:c9:52:43:34 pcib6: irq 35 at device 10.0 on pci0 pci6: on pcib6 isp0: port 0xdc00-0xdcff mem 0xefffc000= -0xefffffff irq 35 at device 0.0 on pci6 pcib7: irq 36 at device 11.0 on pci0 ACPI Warning: \134_SB_.PCI0.EXB4._PRT: Return Package has no elements (empt= y) (20150515/nsprepkg-137) pci7: on pcib7 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 orm0: at iomem 0xc0000-0xc8fff,0xec000-0xeffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: cannot reserve I/O port range hwpstate0: on cpu0 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec random: unblocking device. usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 ugen2.1: <0x1166> at usbus2 uhub0: <0x1166 EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2 ugen1.1: <0x1166> at usbus1 uhub1: <0x1166 OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 ugen0.1: <0x1166> at usbus0 uhub2: <0x1166 OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 uhub2: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered da0 at isp0 bus 0 scbus6 target 0 lun 0 da0: Fixed Direct Access SPC-3 SCSI device da0: Serial Number WD-WMC5K0D08F80 da0: 400.000MB/s transfers WWNN 0x20000004d960cd95 WWPN 0x21000004d960cd95 = PortID 0x2 da0: Command Queueing enabled da0: 953869MB (1953525168 512 byte sectors: 255H 63S/T 121601C) [ snipped a bunch of other SAN disks listed here... ] ada0 at ata2 bus 0 scbus0 target 0 lun 0 ada0: ATA8-ACS SATA 2.x device ada0: Serial Number WD-WCAS25059041 ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) ada0: 152587MB (312500000 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ada1 at ata3 bus 0 scbus1 target 0 lun 0 ada1: ATA8-ACS SATA 2.x device ada1: Serial Number GEK854RS0PL38G ada1: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) ada1: 152587MB (312500000 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad6 cd0 at ata0 bus 0 scbus4 target 0 lun 0 cd0: Removable CD-ROM SCSI device cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - t= ray closed SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #1 Launched! Timecounter "TSC-low" frequency 1246902571 Hz quality 800 Root mount waiting for: usbus2 uhub0: 4 ports with 4 removable, self powered Root mount waiting for: usbus2 ugen0.2: at usbus0 ukbd0: on usbus0 kbd2 at ukbd0 ugen2.2: at usbus2 uhub3: on = usbus2 uhub3: MTT enabled uhub3: 2 ports with 2 removable, self powered Trying to mount root from zfs:zroot/ROOT/default []... ums0: on usbus0 ums0: 5 buttons and [XYZ] coordinates ID=3D1=