From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 394F4158013 for ; Tue, 12 Dec 2023 22:42:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49C9B2BC0D6; Tue, 12 Dec 2023 22:42:48 +0000 (UTC) Received: from mail.pissmail.com (mail.pissmail.com [173.249.47.55]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2FE22BC087 for ; Tue, 12 Dec 2023 22:42:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shitposting.expert; s=dkim; t=1702420966; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sqKB+EaJfSogsi4lpBx4wVgqb+90OwpUXarTtc+PhD4=; b=R1lMAsRVw1WQ9TZ7jagp9wT8ErTYI5NuxUr5klvI1rgDATqQnHOu77QgL0gipRC5Myy7xK j4e89eb8O/3l30mQu9p5e41q87T6+CGF2KqEJrQ9fw/RxWLCicW5riP1HqMVzVe1qjffew 4OlQIgaft+1lhZS+lLBmES0sQopW2RFq+Mh8bsmI/3eGelLQU/Onpt+iiEorTaYoGx6BcF m1cxULQdbKLX7MQ8q6isbJO5Y+qxf6REcxKM/j+xKMpInh/mkf7DhrfTYa1odRmSVFh76R 5/SbXFxAQviqcB+5+RtS5/TvzkzLTNjmlc9ZTW6rDASkEJfjG0y8gfT0rxwm7Q== Date: Tue, 12 Dec 2023 22:42:46 +0000 From: stefan11111@shitposting.expert To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Wine problems In-Reply-To: References: <405e0e1486cfddde2c86f8c5e883858b@shitposting.expert> <20231211203004.23de0ac5@coreI5.home> <163e848b5386f0cc7ce88d7ce38ddf14@shitposting.expert> <0a20d2fb629cea752b2bc104db368bbc@shitposting.expert> <4d2bf7537c793f7b15b9bf5e84a612f7@shitposting.expert> <480c92d9db2724d7e7e9681f0e182cab@shitposting.expert> Message-ID: X-Sender: stefan11111@shitposting.expert Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Authentication-Results: mail.pissmail.com; auth=pass smtp.mailfrom=stefan11111@shitposting.expert X-Spam-Level: *** X-Spamd-Bar: +++ X-Archives-Salt: 9206f769-33d5-4f2a-9d00-ebf4037b9188 X-Archives-Hash: d3df5636efa3f67e83151bbc524336db On 2023-12-12 22:08, Vít Smolík wrote: > Dne út 12. 12. 2023 22:55 uživatel > napsal: > >> Tried doing the optimus thing. Just like without optimus, I start xorg >> but I see nothing. >> Xorg and dwm properly start, I tried typing in a terminal >> 'speaker-test' >> and it worked. >> So the problem there isn't that xorg freezes or something, it's that I >> can't see the x server. >> > i am truly sorry, but i cannot understand you. so are you saying that > you > can't start xorg at all, and see some kinf of black screen? > if so, make sure to follow the "Before starting X", also make sure to > take > a look at the "xorg.conf" chapter so you have X configured right. and > also > see the configuration for your display manager (sddm, light-dm etc.) > >> > if you can loadup xorg, try switching back to the igpu by using > "optimus-manager --switch integrated" > it will log you out, so be careful. > > May the Force be with you, > Vít Smolík. I tried to add an attachment, but it seems it didn't go through. I can start xorg via startx/xinit. All I see is it's startup text and nothing else. I do not have any package installed that provides the command optimus-manager, which you reference in your post. Here is my .xinitrc: #!/bin/sh xrandr --setprovideroutputsource modesetting NVIDIA-0 & xrandr --auto & slstatus & xcompmgr & /usr/bin/feh --bg-fill '/home/stefan/images/wallpapers/2.jpg' & doas chown -R root:audio /dev/snd/* & doas chmod 660 /dev/snd/* & #curl https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts > /etc/hosts & exec dwm Here is the xorg.conf generated by nvidia-xconfig --prime: # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 525.147.05 Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" Inactive "InactiveDevice1" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "Files" EndSection Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Unknown" Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BusID "PCI:1:0:0" EndSection Section "Device" Identifier "InactiveDevice1" Driver "modesetting" VendorName "Unknown" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "AllowEmptyInitialConfiguration" "True" SubSection "Display" Depth 24 EndSubSection EndSection