VT and kms is broken on a Lenovo Thinkpad E530

2014-07-18 Thread Daniel Peyrolon
Hello there, I have both and a end-of-June installed kernels (the second at
/boot/kernel.old), and somehow, the console stops working when it changes
its mode.
I'm using the most recent one, I installed xdm and I'm running xorg over
here, without problems.

The problems arise when I try to use the console, the screen just shows a
static image of the last xorg frame, with some weird colors.
What info do you need to fix this?

-- 
Daniel
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: VT and kms is broken on a Lenovo Thinkpad E530

2014-07-18 Thread Ed Maste
On 18 July 2014 10:32, Daniel Peyrolon tucha...@gmail.com wrote:
 The problems arise when I try to use the console, the screen just shows a
 static image of the last xorg frame, with some weird colors.

I presume you mean you try to access the console by pressing
Ctrl-Alt-F1 (for example), and then see the static odd-coloured image.
This behaviour is consistent with syscons(4), which cannot properly
switch back to a vty.

Can you describe how you tried to enable a vt(4) kernel?
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: VT and kms is broken on a Lenovo Thinkpad E530

2014-07-18 Thread Daniel Peyrolon
I basically installed from a FreeBSD VT enabled ISO. You presume correctly.
On Jul 18, 2014 3:42 PM, Ed Maste ema...@freebsd.org wrote:

 On 18 July 2014 10:32, Daniel Peyrolon tucha...@gmail.com wrote:
  The problems arise when I try to use the console, the screen just shows a
  static image of the last xorg frame, with some weird colors.

 I presume you mean you try to access the console by pressing
 Ctrl-Alt-F1 (for example), and then see the static odd-coloured image.
 This behaviour is consistent with syscons(4), which cannot properly
 switch back to a vty.

 Can you describe how you tried to enable a vt(4) kernel?

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: VT and kms is broken on a Lenovo Thinkpad E530

2014-07-18 Thread Ed Maste
On 18 July 2014 12:36, Daniel Peyrolon tucha...@gmail.com wrote:
 I basically installed from a FreeBSD VT enabled ISO.

Ok, it seems those are not available any longer.

To confirm that you're actually using vt, check sysctl kern.vty.  It
will report either sc, vt, or an error.  If you get an error the
kernel predates the addition of that entry, so check sysctl
hw.syscons and sysctl kern.vt.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: VT and kms is broken on a Lenovo Thinkpad E530

2014-07-18 Thread Daniel Peyrolon
Allright, it seems that the kernel switched back to sysconsole. (kern.vty:
sc)

The wiki says that I should add this to the loader:
To enable Newcons on i386 or amd64, set the loader tunable kern.vty=vt.

I guess that I should do:
# echo kern.vty=\vt\  /boot/loader.conf



2014-07-18 18:58 GMT+02:00 Ed Maste ema...@freebsd.org:

 On 18 July 2014 12:36, Daniel Peyrolon tucha...@gmail.com wrote:
  I basically installed from a FreeBSD VT enabled ISO.

 Ok, it seems those are not available any longer.

 To confirm that you're actually using vt, check sysctl kern.vty.  It
 will report either sc, vt, or an error.  If you get an error the
 kernel predates the addition of that entry, so check sysctl
 hw.syscons and sysctl kern.vt.




-- 
Daniel
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: VT and kms is broken on a Lenovo Thinkpad E530

2014-07-18 Thread Daniel Peyrolon
 I guess that I should do:
 # echo kern.vty=\vt\  /boot/loader.conf

That did the trick. Thanks Ed!


2014-07-19 0:57 GMT+02:00 Daniel Peyrolon tucha...@gmail.com:

 Allright, it seems that the kernel switched back to sysconsole. (kern.vty:
 sc)

 The wiki says that I should add this to the loader:
 To enable Newcons on i386 or amd64, set the loader tunable kern.vty=vt.

 I guess that I should do:
 # echo kern.vty=\vt\  /boot/loader.conf



 2014-07-18 18:58 GMT+02:00 Ed Maste ema...@freebsd.org:

 On 18 July 2014 12:36, Daniel Peyrolon tucha...@gmail.com wrote:
  I basically installed from a FreeBSD VT enabled ISO.

 Ok, it seems those are not available any longer.

 To confirm that you're actually using vt, check sysctl kern.vty.  It
 will report either sc, vt, or an error.  If you get an error the
 kernel predates the addition of that entry, so check sysctl
 hw.syscons and sysctl kern.vt.




 --
 Daniel




-- 
Daniel
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org