<div dir="ltr"><div dir="ltr">First of all, hello to all members and the XOrg staff. First time here, I'm bruno, a FreeBSD addicted (but also to other BSDs and micro-kernel architectures like Minix, and hybrid microkernel-BSD likes such as MacOsX), and a software programmer unemployed at the moment.<br><br>That said,<br>I run FreeBSD 11.2-RELEASE #0 r335510<br>If I don-t use X, e.g. in text mode, I can switch between ttyvs as expected (using ALT+CTRL+F<1-8>).<br>But if I start X server (manually using startx or through xdm configured for login session) on any virtual terminal, then when I try to switch back to any other virtual terminal (using ALT+CTRL]+F<1-8>), I get a blank screen (tested also with an external VGA monitor, it reports no video signal).<br>Anyway, when I try to switch back to the virtual terminal where X is running (set to ttyv8, so ALT+CTRL+F9), I get back normally to my working X session. In addition, my gmplayer (run under root at the moment just for solving issues), but also tested vlc player, don't manage to output video streams, but manage audio stream, but before I opened a related issue, I will test if this post may eventually be related also to problems in playing streams.<br><br>I use Xorg auto-configuration, without any Xorg.conf file. The only workaround that I tried was to put in /usr/local/etc/X11/xorg.conf.d/ a file 'driver-intel.conf' as I've read on the handbook (<a href="https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html">https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html</a>), with the following content:<br>    Section "Device"<br>        Identifier "Card0"<br>        Driver     "intel"<br>        #BusID    "pci0:0:2:0" (I tried with various parameters here, and either commented out or not)<br>        #BusID   "PCI:1:0:0"   <br>    EndSection<br>without success.<br><br>This is more than just an annoyance I'd like to correct, because I have the habit to switch to a root text console to do administration/maintenance/installation tasks, and being FreeBSD quite conservative about security, it doesn't allow to su to root from a user that is not included in the wheel (root) group (and with me being paranoid about security, I don't add any 'normal' user to the root's group :)<br><br>*********************************************** USEFUL INFO INCLUDED ***********************************************************<br><br>FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 04:32:14 UTC 2018<br>    root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64<br><br>Laptop ACER Aspire 5720 (this model came out in 2007)<br>System BIOS Version: V1.19<br>VGA BIOS Version: Intel V518<br><br>VT(vga): resolution 640x480<br>Video Memory: 8 Mb<br><br>CPU: Intel(R) Core(TM)2 Duo CPU     T5250  @ 1.50GHz (1496.28-MHz K8-class CPU)<br>  Origin="GenuineIntel"  Id=0x6fd  Family=0x6  Model=0xf  Stepping=13<br>real memory  = 2147483648 (2048 MB)<br>avail memory = 2025234432 (1931 MB)<br>FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs<br>FreeBSD/SMP: 1 package(s) x 2 core(s)<br>module_register_init: MOD_LOAD (vesa, 0xffffffff80ff4550, 0) error 19<br>nexus0<br>vtvga0: <VT VGA driver> on motherboard<br>pcib0: _OSC failed: AE_BUFFER_OVERFLOW<br>pci0: <ACPI PCI bus> on pcib0<br>vgapci0: <VGA-compatible display> port 0x5110-0x5117 mem 0x94000000-0x940fffff,0x80000000-0x8fffffff irq 16 at device 2.0 on pci0<br>agp0: <Intel GM965 SVGA controller> on vgapci0<br>agp0: aperture size is 256M, detected 7676k stolen memory<br>vgapci0: Boot video device<br>vgapci1: <VGA-compatible display> at device 2.1 on pci0<br><br>Configuring vt: keymap blanktime.<br><br>WARNING:<br>New keymap: In /etc/rc.conf replace 'keymap=it.iso.kbd' by 'keymap=it'.<br><br>ugen4.2: <Logitech USB Optical Mouse> at usbus4<br>ums0 on uhub4<br>ums0: <Logitech USB Optical Mouse, class 0/0, rev 2.00/53.00, addr 2> on usbus4<br>ums0: 3 buttons and [XYZ] coordinates ID=0<br>---------------------------------------------------------------------------------<br><br>Here is included output from pciconf command, related to the display class<br><br>vgapci0@pci0:0:2:0:    class=0x030000 card=0x011e1025 chip=0x2a028086 rev=0x03 hdr=0x00<br>    vendor     = 'Intel Corporation'<br>    device     = 'Mobile GM965/GL960 Integrated Graphics Controller (primary)'<br>    class      = display<br>    subclass   = VGA<br>vgapci1@pci0:0:2:1:    class=0x038000 card=0x011e1025 chip=0x2a038086 rev=0x03 hdr=0x00<br>    vendor     = 'Intel Corporation'<br>    device     = 'Mobile GM965/GL960 Integrated Graphics Controller (secondary)'<br>    class      = display<br>---------------------------------------------------------------------------------<br><br>I include /var/log/Xorg.0.log that you can view here:<br><a href="https://pastebin.com/EBebXx3r">https://pastebin.com/EBebXx3r</a><br>---------------------------------------------------------------------------------<br><br>I generated an xorg.conf.new with 'Xorg -configure', but leave it to be xorg.conf.new <br>(that's equivalent to Xorg not using that file, right?), you can view it here:<br><a href="https://pastebin.com/Fg13YPU9">https://pastebin.com/Fg13YPU9</a><br>---------------------------------------------------------------------------------<br><br>and this is a keyboard mapping of ALT-CTRL-F1/ALT-CTRL-F9 press from 'xev':<br><br>/root/~$ xev -event keyboard<br>Outer window is 0x1c00001, inner window is 0x1c00002<br><br>KeymapNotify event, serial 24, synthetic NO, window 0x0,<br>    keys:  0   0   0   0   16  0   0   0   0   0   0   0   0   0   0   0   <br>           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   <br><br>KeyRelease event, serial 25, synthetic NO, window 0x1c00001,<br>    root 0x34d, subw 0x0, time 3533855, (233,586), root:(303,634),<br>    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,<br>"   XLookupString gives 1 bytes: (0d) "<br>    XFilterEvent returns: False<br><br>KeyPress event, serial 28, synthetic NO, window 0x1c00001,<br>    root 0x34d, subw 0x0, time 3541791, (233,586), root:(303,634),<br>    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,<br>    XLookupString gives 0 bytes: <br>    XmbLookupString gives 0 bytes: <br>    XFilterEvent returns: False<br><br>KeyPress event, serial 28, synthetic NO, window 0x1c00001,<br>    root 0x34d, subw 0x0, time 3542671, (233,586), root:(303,634),<br>    state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,<br>    XLookupString gives 0 bytes: <br>    XmbLookupString gives 0 bytes: <br>    XFilterEvent returns: False<br><br>KeyRelease event, serial 28, synthetic NO, window 0x1c00001,<br>    root 0x34d, subw 0x0, time 3544010, (233,586), root:(303,634),<br>    state 0xc, keycode 67 (keysym 0x1008fe01, XF86Switch_VT_1), same_screen YES,<br>    XLookupString gives 0 bytes: <br>    XFilterEvent returns: False<br><br>KeyRelease event, serial 28, synthetic NO, window 0x1c00001,<br>    root 0x34d, subw 0x0, time 3544010, (233,586), root:(303,634),<br>    state 0xc, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,<br>    XLookupString gives 0 bytes: <br>    XFilterEvent returns: False<br><br>KeyRelease event, serial 28, synthetic NO, window 0x1c00001,<br>    root 0x34d, subw 0x0, time 3544010, (233,586), root:(303,634),<br>    state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,<br>    XLookupString gives 0 bytes: <br>    XFilterEvent returns: False<br><br>MappingNotify event, serial 28, synthetic NO, window 0x0,<br>    request MappingKeyboard, first_keycode 8, count 248<br><br>KeyPress event, serial 28, synthetic NO, window 0x1c00001,<br>    root 0x34d, subw 0x0, time 3551830, (233,586), root:(303,634),<br>    state 0x0, keycode 75 (keysym 0xffc6, F9), same_screen YES,<br>    XLookupString gives 0 bytes: <br>    XmbLookupString gives 0 bytes: <br>    XFilterEvent returns: False<br><br>KeyRelease event, serial 29, synthetic NO, window 0x1c00001,<br>    root 0x34d, subw 0x0, time 3551912, (233,586), root:(303,634),<br>    state 0x0, keycode 75 (keysym 0xffc6, F9), same_screen YES,<br>    XLookupString gives 0 bytes: <br>    XFilterEvent returns: False<br><br>ClientMessage event, serial 29, synthetic YES, window 0x1c00001,<br>    message_type 0xf5 (WM_PROTOCOLS), format 32, message 0xf8 (WM_DELETE_WINDOW)<br>---------------------------------------------------------------------------------<br><br>Every suggestion is highly appreciated, thank you.<br><br></div></div>