From nobody Mon Jul 10 08:14:26 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QzxcS4PsVz4dZCL for ; Mon, 10 Jul 2023 08:14:32 +0000 (UTC) (envelope-from yuri@aetern.org) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QzxcS1kpBz48Tk for ; Mon, 10 Jul 2023 08:14:32 +0000 (UTC) (envelope-from yuri@aetern.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=aetern.org header.s=fm2 header.b=jZXOyHw2; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="E KMDWV3"; spf=pass (mx1.freebsd.org: domain of yuri@aetern.org designates 64.147.123.24 as permitted sender) smtp.mailfrom=yuri@aetern.org Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 2673832005C1 for ; Mon, 10 Jul 2023 04:14:30 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 10 Jul 2023 04:14:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aetern.org; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1688976869; x=1689063269; bh=385lsgQojUMlz0v0AeDhEYMKl3DlqRdoWTI lPKCxsjk=; b=jZXOyHw2Xa+d482EB/lP16cBc3EpGYIhMPUfsFBHZ/MuUznf28c GIjbpc3VU5ox83ZFwJQmNIhtlfUQ29izS+hKXnwZzXDxtpRbqRDN+zpF/wNtw1KL oaLnlX/H6KMawokObTu6r96e3ctDSOloZr/ZXJZkxlu6scl6jck2CE6kHrPpvAYn DU6J780KkoyhozH+/urATz6QgaKGQ3rtvU/OqlBtTcO2hXZx9nbtJ4FZcWTTGi1w INAteS11w3yB/YdOksnv0a9Ds+tW1vvtlOmTz4Gy8nBYR/16mTiFToAAM+KZHaWN f3t25MEOCnbsuzrID8Z8MV9xMTFiFy4OgRw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1688976869; x= 1689063269; bh=385lsgQojUMlz0v0AeDhEYMKl3DlqRdoWTIlPKCxsjk=; b=E KMDWV3YjTXJBkCIc9vgU5+99Of8Z7dhpVLnMMkcpb45xqKmbXxBy04ui5He36auX wjpex0ZlW8M4gRR2KCBnyBa5pPaQaOAxkBPz8N8hB6AatuAS8nreC1eoibZSO8nQ gFzUUA7AB8A4f2azUJRUBJdXiywsEGLUdUxo8NT4XzzPgWWBtaG9rsCROl2/Txsv Nf7luD682dUwqheUZ1GNPxNm1IZSJL3ABIHZ2Sn/mLcvssBjP0KDRVQyWJo+7tE6 GRnSmP3OcuzDdzY2gICdcy4XQHZl9wREZX8DOq2nZUtp8MYPdBFbIukTR1L9tvHb sKLWKd58V/DlXPyos5oVQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrvdejgddtudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthejre dttdefjeenucfhrhhomhepjghurhhiuceohihurhhisegrvghtvghrnhdrohhrgheqnecu ggftrfgrthhtvghrnhepjeefudetleefuedvvedtledvuddtudduuedvgfefjeduudejue ehfefhgfffvdeinecuffhomhgrihhnpehnvhhiughirgdrtghomhenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeihuhhrihesrggvthgvrhhnrd horhhg X-ME-Proxy: Feedback-ID: i0d79475b:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 10 Jul 2023 04:14:29 -0400 (EDT) Message-ID: Date: Mon, 10 Jul 2023 10:14:26 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: problems getting the desired resolution in vt and in X Content-Language: en-US To: freebsd-questions@freebsd.org References: <20230710075330.GA8385@jmk1.org> From: Yuri In-Reply-To: <20230710075330.GA8385@jmk1.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4QzxcS1kpBz48Tk X-Spamd-Bar: / X-Spamd-Result: default: False [-0.40 / 15.00]; R_DKIM_ALLOW(-0.20)[aetern.org:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.24]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; local_wl_from(0.00)[yuri@aetern.org]; DKIM_TRACE(0.00)[aetern.org:+,messagingengine.com:+]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: local_wl_from X-ThisMailContainsUnwantedMimeParts: N 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.)