Port-macppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: G5 powermacs
>> Some things to try:
...
>> - in genfb.c, comment out the RI_8BIT_IS_RGB and RI_ENABLE_ALPHA flags.
>> This will prompt genfb to setup a traditional 16 colour ANSI palette
>> instead of an R3G3B2 one suitable for anti-aliased fonts. The colours
>> may look wrong ( since we inherit whatever OF set up ), but should be
>> readable.
I've now tried that as well, and it produced the same result as
the previous version: screen goes all-black, video signal is
still there, but nothing is visible. The difff I tried with is
attached.
Regards,
- Håvard
Index: genfb.c
===================================================================
RCS file: /cvsroot/src/sys/dev/wsfb/genfb.c,v
retrieving revision 1.61
diff -u -r1.61 genfb.c
--- genfb.c 1 Jun 2017 02:45:12 -0000 1.61
+++ genfb.c 10 Jun 2017 13:51:18 -0000
@@ -556,9 +556,11 @@
if (ri->ri_depth == 32 || ri->ri_depth == 24) {
bool is_bgr = false;
+#if 0
if (ri->ri_depth == 32) {
ri->ri_flg |= RI_ENABLE_ALPHA;
}
+#endif
prop_dictionary_get_bool(device_properties(sc->sc_dev),
"is_bgr", &is_bgr);
if (is_bgr) {
@@ -580,8 +582,10 @@
}
}
+#if 0
if (ri->ri_depth == 8 && sc->sc_cmcb != NULL)
ri->ri_flg |= RI_ENABLE_ALPHA | RI_8BIT_IS_RGB;
+#endif
rasops_init(ri, 0, 0);
Home |
Main Index |
Thread Index |
Old Index