Re: problems getting the desired resolution in vt and in X
Date: Mon, 10 Jul 2023 08:14:26 UTC
Johannes-Maria Kaltenbach wrote: > > Hello, > > I've problems getting the same resolution (in vt and in X) on a new PC > as in my old one. > I'm used to a resolution of 1600x1200 (the LCD has just this number > of pixels), but on the new PC I only get 1024x768. > > On the new PC I've installed 13.2 > |# freebsd-version -kru > |13.2-RELEASE-p1 > |13.2-RELEASE-p1 > |13.2-RELEASE-p1 > > 1) vt > > kern.vt.fb.default_mode="1600x1200" > in loader.conf doesn't change anything. > Neither does vidcontrol (it only produces always the > "Inappropriate ioctl for device" message). > > > 2) Xorg > > I started without a separate graphics card using the hdmi output > of the motherboard. > > vgapci1@pci0:0:2:0: class=0x030000 rev=0x04 hdr=0x00 vendor=0x8086 \ > device=0xa780 subvendor=0x1458 subdevice=0xd000 > vendor = 'Intel Corporation' > device = 'Raptor Lake-S GT1 [UHD Graphics 770]' > class = display > subclass = VGA > > With default configuration X didn't start using 'modesetting': > |(EE) open /dev/dri/card0: No such file or directory > |(WW) Falling back to old probe method for modesetting > |(EE) open /dev/dri/card0: No such file or directory > |(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support > |(EE) Screen 0 deleted because of no matching config section. > |(II) UnloadModule: "modesetting" > |(EE) Device(s) detected, but none match those in the config file. > > I tried installing graphics/drm-kmod and loading i915kms.ko > but no success. > > I changed > Driver "modesetting" > to > Driver "scfb" > > [. e. the configuration I use on my old PC with resolution 1600x1200] > > Then X started but only with the resolution of 1024x768 and I > cannot change it to 1600x1200. > > I installed x11-drivers/xf86-video-intel and used > Driver "intel" > but then X didn't start: from Xorg.0.log: > > | (II) LoadModule: "intel" > | (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so > | (II) Module intel: vendor="X.Org Foundation" > | compiled for 1.21.1.8, module version = 2.99.917 > | Module class: X.Org Video Driver > | ABI class: X.Org Video Driver, version 25.2 > | (II) intel: Driver for Intel(R) Integrated Graphics Chipsets: > | i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, > | E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, > | iew G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, > | 4 Series, G45/G43, Q45/Q43, G41, B43 > | (II) intel: Driver for Intel(R) HD Graphics > | (II) intel: Driver for Intel(R) Iris(TM) Graphics > | (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics > | (--) Using syscons driver with X support (version 2.0) > | (--) using VT number 9 > | (EE) No devices detected. > | (EE) no screens found(EE) > > > I tried using xrandr to set a resolution, but > xrandr -fb 1600x1200 > only leads to the error message > | xrandr: screen cannot be larger than 1024x768 (desired size 1600x1200) > > xrandr without option gives > | Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768 > > > I thought that perhaps the hardware is too new for the available drivers > and added a nvidia gaphics card > > vgapci0@pci0:1:0:0: class=0x030000 rev=0xa1 hdr=0x00 vendor=0x10de \ > device=0x1287 subvendor=0x1462 subdevice=0x8a9f > vendor = 'NVIDIA Corporation' > device = 'GK208B [GeForce GT 730]' > class = display > subclass = VGA > > and installed x11/nvidia-driver. > > Changed to 'Driver "nvidia"' in xorg.conf, but X didn't start. > I tried it also with xorg.conf created by 'Xorg -configure' and > also installed an tried x11/nvidia-xconfig. > > | (WW) NVIDIA(0): The NVIDIA GeForce GT 730 GPU installed in this system is > | (WW) NVIDIA(0): supported through the NVIDIA 470.xx Legacy drivers. Please Install x11/nvidia-driver-470 instead of x11/nvidia-driver. > | (WW) NVIDIA(0): visit http://www.nvidia.com/object/unix.html for more > | (WW) NVIDIA(0): information. The 525.116.03 NVIDIA driver will ignore > | (WW) NVIDIA(0): this GPU. Continuing probe... > | (EE) open /dev/dri/card0: No such file or directory > | (WW) Falling back to old probe method for modesetting > | (EE) open /dev/dri/card0: No such file or directory > | (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support > | (EE) Screen 0 deleted because of no matching config section. > | (II) UnloadModule: "modesetting" > | (EE) Device(s) detected, but none match those in the config file. > | (EE) > | error: > | (EE) no screens found(EE) > > I can only successfully start X with > Driver "scfb" > with both the Intel and with the Nvidia > but not with the desired resolution of 1600x1200, only with 1024x768. > > > I ran out of ideas. > > Can anybody please help? > > (Correct resolution in X would suffice; > in vt I could accept it but would also prefer a higher resolution.)