• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Solved [SOLVED]FreeBSD 10: Problem with console resolution

sKa

New Member


Messages: 15

#1
Hi,
It's my first post on this forum and… I've got a problem.
I want to set higher resolution in text console and I think, I set it properly, but system restarts hard after log in into graphical environment (Xfce-4.10).

Info about my FreeBSD 10:
Code:
FreeBSD maszynka 10.0-STABLE FreeBSD 10.0-STABLE #1: Mon Feb 17 10:22:04 CET 2014     ska@maszynka:/usr/obj/usr/src/sys/CUSTOM  amd64
Info about graphic card from pciconf -lv:
Code:
vgapci0@pci0:1:0:0:	class=0x030000 card=0x1b421043 chip=0x95531002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices [AMD] nee ATI'
    device     = 'RV710 [Mobility Radeon HD 4500/5100 Series]'
    class      = display
    subclass   = VGA
All need things I've got compiled in kernel, I think.
Code:
options 	VESA		# Add support for VESA BIOS Extensions (VBE)
options 	SC_PIXEL_MODE	# add support for the raster text mode
device		vga		# VGA video card driver
Output from vidcontrol -i adapter and vidcontrol -i mode command:
Code:
fb0:
    vga0, type:VESA VGA (5), flags:0x700ff
    initial mode:24, current mode:24, BIOS mode:3
    frame buffer window:0xb8000, buffer size:0x8000
    window size:0x8000, origin:0x0
    display start address (0, 0), scan line width:80
    reserved:0x0
Code:
    mode#     flags   type    size       font      window      linear buffer
------------------------------------------------------------------------------
  0 (0x000) 0x00000001 T 40x25           8x8   0xb8000 32k 32k 0x00000000 32k
  1 (0x001) 0x00000001 T 40x25           8x8   0xb8000 32k 32k 0x00000000 32k
  2 (0x002) 0x00000001 T 80x25           8x8   0xb8000 32k 32k 0x00000000 32k
  3 (0x003) 0x00000001 T 80x25           8x8   0xb8000 32k 32k 0x00000000 32k
  4 (0x004) 0x00000003 G 320x200x2 C     8x8   0xb8000 32k 32k 0x00000000 32k
  5 (0x005) 0x00000003 G 320x200x2 C     8x8   0xb8000 32k 32k 0x00000000 32k
  6 (0x006) 0x00000003 G 640x200x1 C     8x8   0xb8000 32k 32k 0x00000000 32k
 13 (0x00d) 0x00000003 G 320x200x4 4     8x8   0xa0000 64k 64k 0x00000000 256k
 14 (0x00e) 0x00000003 G 640x200x4 4     8x8   0xa0000 64k 64k 0x00000000 256k
 16 (0x010) 0x00000003 G 640x350x2 2     8x14  0xa0000 64k 64k 0x00000000 128k
 18 (0x012) 0x00000003 G 640x350x4 4     8x14  0xa0000 64k 64k 0x00000000 256k
 19 (0x013) 0x00000001 T 40x25           8x14  0xb8000 32k 32k 0x00000000 32k
 20 (0x014) 0x00000001 T 40x25           8x14  0xb8000 32k 32k 0x00000000 32k
 21 (0x015) 0x00000001 T 80x25           8x14  0xb8000 32k 32k 0x00000000 32k
 22 (0x016) 0x00000001 T 80x25           8x14  0xb8000 32k 32k 0x00000000 32k
 23 (0x017) 0x00000001 T 40x25           8x16  0xb8000 32k 32k 0x00000000 32k
 24 (0x018) 0x00000001 T 80x25           8x16  0xb8000 32k 32k 0x00000000 32k
 26 (0x01a) 0x00000003 G 640x480x4 4     8x16  0xa0000 64k 64k 0x00000000 256k
 27 (0x01b) 0x00000003 G 640x480x4 4     8x16  0xa0000 64k 64k 0x00000000 256k
 28 (0x01c) 0x00000003 G 320x200x8 P     8x8   0xa0000 64k 64k 0x00000000 64k
 30 (0x01e) 0x00000001 T 80x50           8x8   0xb8000 32k 32k 0x00000000 32k
 32 (0x020) 0x00000001 T 80x30           8x16  0xb8000 32k 32k 0x00000000 32k
 34 (0x022) 0x00000001 T 80x60           8x8   0xb8000 32k 32k 0x00000000 32k
 37 (0x025) 0x00000003 G 320x240x8 V     8x8   0xa0000 64k 64k 0x00000000 256k
112 (0x070) 0x00000000 T 80x43           8x8   0xb8000 32k 32k 0x00000000 32k
113 (0x071) 0x00000001 T 80x43           8x8   0xb8000 32k 32k 0x00000000 32k
256 (0x100) 0x0000001f G 640x400x8 P     8x16  0xa0000 64k 64k 0xd0000000 250k
257 (0x101) 0x0000001f G 640x480x8 P     8x16  0xa0000 64k 64k 0xd0000000 300k
259 (0x103) 0x0000001f G 800x600x8 P     8x14  0xa0000 64k 64k 0xd0000000 487k
261 (0x105) 0x0000001f G 1024x768x8 P    8x16  0xa0000 64k 64k 0xd0000000 768k
263 (0x107) 0x0000001f G 1280x1024x8 P   8x16  0xa0000 64k 64k 0xd0000000 1280k
269 (0x10d) 0x0000001f G 320x200x16 D    8x8   0xa0000 64k 64k 0xd0000000 125k
270 (0x10e) 0x0000001f G 320x200x16 D    8x8   0xa0000 64k 64k 0xd0000000 125k
272 (0x110) 0x0000001f G 640x480x16 D    8x16  0xa0000 64k 64k 0xd0000000 600k
273 (0x111) 0x0000001f G 640x480x16 D    8x16  0xa0000 64k 64k 0xd0000000 600k
275 (0x113) 0x0000001f G 800x600x16 D    8x14  0xa0000 64k 64k 0xd0000000 937k
276 (0x114) 0x0000001f G 800x600x16 D    8x14  0xa0000 64k 64k 0xd0000000 937k
278 (0x116) 0x0000001f G 1024x768x16 D   8x16  0xa0000 64k 64k 0xd0000000 1536k
279 (0x117) 0x0000001f G 1024x768x16 D   8x16  0xa0000 64k 64k 0xd0000000 1536k
281 (0x119) 0x0000001f G 1280x1024x16 D  8x16  0xa0000 64k 64k 0xd0000000 2560k
282 (0x11a) 0x0000001f G 1280x1024x16 D  8x16  0xa0000 64k 64k 0xd0000000 2560k
288 (0x120) 0x0000001f G 320x200x32 D    8x8   0xa0000 64k 64k 0xd0000000 250k
289 (0x121) 0x0000001f G 640x480x32 D    8x16  0xa0000 64k 64k 0xd0000000 1200k
290 (0x122) 0x0000001f G 800x600x32 D    8x14  0xa0000 64k 64k 0xd0000000 1875k
291 (0x123) 0x0000001f G 1024x768x32 D   8x16  0xa0000 64k 64k 0xd0000000 3072k
292 (0x124) 0x0000001f G 1280x1024x32 D  8x16  0xa0000 64k 64k 0xd0000000 5120k
307 (0x133) 0x0000001f G 720x400x8 P     8x16  0xa0000 64k 64k 0xd0000000 300k
309 (0x135) 0x0000001f G 720x400x16 D    8x16  0xa0000 64k 64k 0xd0000000 575k
310 (0x136) 0x0000001f G 720x400x32 D    8x16  0xa0000 64k 64k 0xd0000000 1150k
323 (0x143) 0x0000001f G 1400x1050x8 P   8x16  0xa0000 64k 64k 0xd0000000 1443k
325 (0x145) 0x0000001f G 1400x1050x16 D  8x16  0xa0000 64k 64k 0xd0000000 2887k
326 (0x146) 0x0000001f G 1400x1050x32 D  8x16  0xa0000 64k 64k 0xd0000000 5775k
339 (0x153) 0x0000001f G 1152x864x8 P    8x16  0xa0000 64k 64k 0xd0000000 972k
341 (0x155) 0x0000001f G 1152x864x16 D   8x16  0xa0000 64k 64k 0xd0000000 1944k
342 (0x156) 0x0000001f G 1152x864x32 D   8x16  0xa0000 64k 64k 0xd0000000 3888k
355 (0x163) 0x0000001f G 1280x960x8 P    8x16  0xa0000 64k 64k 0xd0000000 1200k
357 (0x165) 0x0000001f G 1280x960x16 D   8x16  0xa0000 64k 64k 0xd0000000 2400k
358 (0x166) 0x0000001f G 1280x960x32 D   8x16  0xa0000 64k 64k 0xd0000000 4800k
371 (0x173) 0x0000001f G 1600x1200x8 P   8x16  0xa0000 64k 64k 0xd0000000 1875k
373 (0x175) 0x0000001f G 1600x1200x16 D  8x16  0xa0000 64k 64k 0xd0000000 3750k
374 (0x176) 0x0000001f G 1600x1200x32 D  8x16  0xa0000 64k 64k 0xd0000000 7500k
387 (0x183) 0x0000001f G 1792x1344x8 P   8x16  0xa0000 64k 64k 0xd0000000 2352k
389 (0x185) 0x0000001f G 1792x1344x16 D  8x16  0xa0000 64k 64k 0xd0000000 4704k
390 (0x186) 0x0000001f G 1792x1344x32 D  8x16  0xa0000 64k 64k 0xd0000000 9408k
403 (0x193) 0x0000001f G 320x240x8 P     8x8   0xa0000 64k 64k 0xd0000000 75k
405 (0x195) 0x0000001f G 320x240x16 D    8x8   0xa0000 64k 64k 0xd0000000 150k
406 (0x196) 0x0000001f G 320x240x32 D    8x8   0xa0000 64k 64k 0xd0000000 300k
435 (0x1b3) 0x0000001f G 512x384x8 P     8x16  0xa0000 64k 64k 0xd0000000 192k
437 (0x1b5) 0x0000001f G 512x384x16 D    8x16  0xa0000 64k 64k 0xd0000000 384k
438 (0x1b6) 0x0000001f G 512x384x32 D    8x16  0xa0000 64k 64k 0xd0000000 768k
451 (0x1c3) 0x0000001f G 640x350x8 P     8x14  0xa0000 64k 64k 0xd0000000 218k
453 (0x1c5) 0x0000001f G 640x350x16 D    8x14  0xa0000 64k 64k 0xd0000000 437k
454 (0x1c6) 0x0000001f G 640x350x32 D    8x14  0xa0000 64k 64k 0xd0000000 875k
467 (0x1d3) 0x0000001f G 1856x1392x8 P   8x16  0xa0000 64k 64k 0xd0000000 2523k
469 (0x1d5) 0x0000001f G 1856x1392x16 D  8x16  0xa0000 64k 64k 0xd0000000 5046k
470 (0x1d6) 0x0000001f G 1856x1392x32 D  8x16  0xa0000 64k 64k 0xd0000000 10092k
483 (0x1e3) 0x0000001f G 1920x1440x8 P   8x16  0xa0000 64k 64k 0xd0000000 2700k
485 (0x1e5) 0x0000001f G 1920x1440x16 D  8x16  0xa0000 64k 64k 0xd0000000 5400k
486 (0x1e6) 0x0000001f G 1920x1440x32 D  8x16  0xa0000 64k 64k 0xd0000000 10800k
File /etc/rc.conf includes:
Code:
allscreens_flags="MODE_278"
No errors, no strange warnings…
When system runs on default text console resolution (big fonts, small screen), I can normal change text console resolution with vidcontrol.
When I set these settings in /etc/rc.conf and reboot FreeBSD, system log in into graphical environment and restarts hard immediately. After that, I must use fsck and repair filesystems on partitions.

What's going on?
Where I made a mistake?

Thanks for help.

PS. Sorry for my bad English grammar and mistakes. It's not my native language, so I don't speak/write well in English.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 6,079
Messages: 26,940

#2
Re: FreeBSD 10: Problem with console resolution

I've never been able to get a high resolution console and X working correctly together. The higher resolution on the console also scrolls pretty slow. I then asked myself, what's the point of a high resolution console if I'm going to start X anyway?
 

sKa

New Member


Messages: 15

#3
Re: FreeBSD 10: Problem with console resolution

SirDice said:
I've never been able to get a high resolution console and X working correctly together. The higher resolution on the console also scrolls pretty slow. I then asked myself, what's the point of a high resolution console if I'm going to start X anyway?
I understand. I'd like to set high resolution in text console as in GNU/Linux.
So, You think it's stupid and useless, yes? High resolution in text console and working Xorg correctly together are possible in FreeBSD?

Well… So, my "problem" is not a problem, yes?
 

kpa

Beastie's Twin

Thanks: 1,679
Messages: 6,084

#4
Re: FreeBSD 10: Problem with console resolution

It hasn't been a problem for many users of FreeBSD because the focus of FreeBSD has been always on servers and embedded systems where a VGA text mode console or a serial console is all that is needed. In those environments a high resolution text console is only an unnecessary complication.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 6,079
Messages: 26,940

#5
Re: FreeBSD 10: Problem with console resolution

There's work being done on a new and improved console driver. It should support more of those fancy graphics features commonly found on Linux installations.

https://wiki.freebsd.org/Newcons
 

sKa

New Member


Messages: 15

#6
Re: FreeBSD 10: Problem with console resolution

@@SirDice
Great. So, I'm waiting when new driver will be finished and stable. Maybe in next FreeBSD's STABLE release, I'll start to use it. I'm patient. I mark topic as SOLVED. Thanks for help and explanations.

@@kpa
Thank You too.
 
Last edited by a moderator:
Top