paradox said:you can use only the
Code:allscreens_flags="MODE_277"
Now it works, thank you!
paradox said:you can use only the
Code:allscreens_flags="MODE_277"
[bas@gw /usr/ports/misc/vesa-kmod]# make
===> Building for vesa-kmod-20090921
===> dpms (all)
Warning: Object directory not changed from original /usr/ports/misc/vesa-kmod/work/vesa-20090921/dpms
===> s3 (all)
Warning: Object directory not changed from original /usr/ports/misc/vesa-kmod/work/vesa-20090921/s3
===> vesa (all)
Warning: Object directory not changed from original /usr/ports/misc/vesa-kmod/work/vesa-20090921/vesa
/usr/local/libexec/ccache/cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer -mcmodel=kernel
-mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign
-fformat-extensions -c vesa.c
vesa.c: In function 'vesa_map_buffer':
vesa.c:858: error: 'PAT_WRITE_COMBINING' undeclared (first use in this function)
vesa.c:858: error: (Each undeclared identifier is reported only once
vesa.c:858: error: for each function it appears in.)
*** Error code 1
Stop in /usr/ports/misc/vesa-kmod/work/vesa-20090921/vesa.
*** Error code 1
Stop in /usr/ports/misc/vesa-kmod/work/vesa-20090921.
*** Error code 1
Stop in /usr/ports/misc/vesa-kmod.
[bas@gw /usr/home/bas]# uname -a
FreeBSD gw.*.ru 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Sat Sep 26 17:02:24 PETST 2009 bas@gw.*.ru:/usr/src/sys/amd64/compile/GW amd64
.if ${OSVERSION} < 702106
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-vesa.c
.endif
Great job, man! Tnx. Now all work properly.john_doe said:Can you redownload vesa-kmod.diff and try again?
HUNTERok said:
283 (0x11b) 0x0000000f G 1280x1024x32 1 8x16 0xa0000 64k 64k 0xe8000000 8000k
Id Refs Address Size Name
1 5 0xc0400000 b70ec4 kernel
2 1 0xc0f71000 6a9c vesa.ko
3 2 0xc0f78000 1026c x86bios.ko
module_path="/boot/modules;/boot/kernel"
vesa_load="YES"
hint.sc.0.flags="0x11b0180"
sc0: <System console> at flags 0x11b0180 on isa0
sc0: VGA <16 virtual consoles, flags=0x11b0380>
vgapci0: <VGA-compatible display> port 0xed98-0xed9f mem 0xe8000000-0xefffffff,0xfeb80000-0xfebfffff irq 16 at device 2.0 on pci0
agp0: <Intel 82865G (865G GMCH) SVGA controller> on vgapci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
See #28 post in this thread. Ping delphij@ for MFC in 7.x/8.x.aragon said:What is the status of this being committed to the project's source? Has it been PR'd or reviewed by any FreeBSD committers yet?
Do you have vesa_load=YES in loader.conf? allscreen_flags basically does same thing as vidcontrol MODE_280. It won't change mode to a graphic one unless vesa.ko is loaded.bigwillyg said:it wont take it in the allscreens_flags in rc.conf
# set this mode for all virtual screens
#
if [ -n "${allscreens_flags}" ]; then
sc_init
echo -n ' allscreens'
for ttyv in /dev/ttyv*; do
vidcontrol ${allscreens_flags} < ${ttyv} > ${ttyv} 2>&1
done
fi