Problem with setup screen size

Questions about the installation of FreeBSD
Post Reply
eleutherius
Posts: 4
Joined: Wed Oct 25, 2017 5:37 am
Contact:

Problem with setup screen size

Post by eleutherius »

Hello community! I was install Ghost BSD 18.08 dev release, and have problem - I can't change screen size. Technical date:

Code: Select all

alex% inxi -Fxz output         
System:    Host: alex.ghostbsd-pc.home Kernel: 12.0-CURRENT amd64 (64 bit)
           Desktop: MATE 1.20.1  OS: FreeBSD 12.0-CURRENT
Machine:   No /sys/class/dmi machine data: try newer kernel, or install dmidecode
CPU:       Cores: 8 model: Intel Core i5-8250U (-SMP-) cache: N/A
           flags: (lm nx sse sse2 sse3 ssse3 vmx) speed/max: 1800/1801 MHz
Graphics:  Card-1: Intel UHD Graphics 620 bus-ID: 0:0:2:0
           Card-2: NVIDIA GM108M [GeForce 940MX] bus-ID: 0:1:0:0
           Display Server: X.Org 1.18.4 driver: N/A
           Resolution: 800x600@0.00hz
           GLX Renderer: llvmpipe (LLVM 6.0, 256 bits)
           GLX Version: 3.1 Mesa 18.1.4 Direct Rendering: Yes
Audio:     Card Intel Sunrise Point-LP HD Audio
           driver: hdac bus-ID: 0:0:31:3
Network:   Card: Intel Wireless 8265 / 8275 driver: iwm bus-ID: 0:2:0:0
           IF: iwm0 state: N/A mac: N/A
Drives:    HDD Total Size: 114.5GB (0.5% used)
           ID-1: ada0 model: ADATA SX930 5.9SE size: 114.5GB
           ID-1: / size: 107G used: 5.3G (5%) fs: zfs dev: /dev/zroot/ROOT/initial
           ID-2: /tmp size: 102G used: 352K (0%) fs: zfs raid: zroot/tmp
           ID-3: swap-1 size: 0.54GB used: 0.00GB (0%) fs: swap dev: /dev/label/swap0
RAID:      Device-1: zroot - 1% components: online: ada0p2
           Info: raid: zfs-no-raid size: 111G available: 105G allocated: 5.65G
Sensors:   This feature is not yet supported for BSD systems.
Info:      Processes: 50 Uptime: 21 mins Memory: 2999.7/8010.8MB
           Init: init (bsd) Gcc sys: N/A
           Client: Shell (zsh 5.5.1) inxi: 2.2.31 
alex% 
My default screen size 800x600. I cant change them, my /etc/X11/xorg.conf overwrite to default after rebooting.

Code: Select all

alex% xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 800 x 600, current 800 x 600, maximum 800 x 600
default connected 800x600+0+0 0mm x 0mm
   800x600        0.00* 
My /etc/X11/xorg.conf

Code: Select all

Section "Device"
	Identifier "Card0"
	Driver     "scfb"
EndSection
My /etc/rc.conf

Code: Select all

kldload_nvidia="nvidia-modeset nvidia"
root_rw_mount="NO"
sendmail_enable="NONE"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
devfs_system_ruleset="devfsrules_common"
kld_list="geom_mirror geom_journal geom_eli linux nvidia-modeset"
rc_interactive="YES"
ntpd_enable="YES"
ntpd_sync_on_start="YES"
keymap="us.iso"
hostname="alex.ghostbsd-pc.home"
zfs_enable="YES"
background_dhclient="YES"
wlans_iwm0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP powersave"
ifconfig_wlan0_ipv6="inet6 accept_rtadv"
linux_enable="YES"
My /boot/loader.conf

Code: Select all

loader_brand="gbsd"
loader_logo="gbsd"
hw.psm.synaptics_support="1"
crypto_load="YES"
aesni_load="YES"
geom_eli_load="YES"
zfs_load="YES"
if_iwm_load="YES"
iwm8265fw_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
nvidia-modeset_load="YES"
eleutherius
Posts: 4
Joined: Wed Oct 25, 2017 5:37 am
Contact:

Re: Problem with setup screen size

Post by eleutherius »

Issue was solved with enabling drm-next-kmod https://www.freshports.org/graphics/drm-next-kmod driver for intel GPU (add kld_list=" /boot/modules/i915kms.ko" in /etc/rc.conf).
My /etc/rc.conf

Code: Select all

root_rw_mount="NO"
sendmail_enable="NONE"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
devfs_system_ruleset="devfsrules_common"
linux_enable="YES"
kld_list="geom_mirror geom_journal geom_eli linux nvidia-modeset /boot/modules/i915kms.ko"
rc_interactive="YES"
ntpd_enable="YES"
ntpd_sync_on_start="YES"
keymap="us.iso"
hostname="alex.ghostbsd-pc.home"
zfs_enable="YES"
background_dhclient="YES"
wlans_iwm0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP powersave"
ifconfig_wlan0_ipv6="inet6 accept_rtadv"
My /boot/loader.conf

Code: Select all

loader_brand="gbsd"
loader_logo="gbsd"
hw.psm.synaptics_support="1"
# boot_mute="YES"
crypto_load="YES"
aesni_load="YES"
geom_eli_load="YES"
zfs_load="YES"
if_iwm_load="YES"
iwm8265fw_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
kern.vty=vt
kern.vt.fb.default_mode=1920x1080
hw.usb.xhci.xhci_port_route=-1
Post Reply