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 79A6B158013 for ; Tue, 12 Dec 2023 22:45:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75DC12BC0DB; Tue, 12 Dec 2023 22:45:09 +0000 (UTC) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (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 B72132BC0C8 for ; Tue, 12 Dec 2023 22:45:08 +0000 (UTC) Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-336356d9092so579294f8f.2 for ; Tue, 12 Dec 2023 14:45:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702421107; x=1703025907; darn=lists.gentoo.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=c6H3ERTnDrk8VXKI71jdMHU0JeLPjKA0t0wQX1xoQjY=; b=Ut5P1Nrc13ReNkTZj4iVnkg+hC4OdnjnTDhrQBtkm/rFmFY4S97HjU4bEOfrPUPVFk yVbshumatL21SZcZT2qYKh/DE1l0GfFnd4y9TbE/2d6y7oJKMauzsOwNRGMtoJJr6u/Z PSeORIeldN0W+GwPqXtrt604FSx6E/9hTzkOZg/JXR7OzrL4bfLnlUoh+6/MTR2GYlxU kT7/e3i52tTgmk4OrwgloOtmi9MtktUQJL4ZGvEn9iLDEw4PlGAjsPsuEaw+z97AImh6 6Ya2zYjmp9iQvoCvsL47G2pWPq+rh5RxrZEJC94ObPS8NXSFzFhhLjB6e+Aob8OKNQqn Ssig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702421107; x=1703025907; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=c6H3ERTnDrk8VXKI71jdMHU0JeLPjKA0t0wQX1xoQjY=; b=mFxfcKy91bsnwA3E5MS3wT5WVW/Ydd86Z7YDjiycT1rp2nWBWWfpTr6cngeTEYy3+s ZSpn5qT/pfoHtXEkHtH8bXZn2EsgzAdN4MWGN/LH8SyzuhQ6j/yggXPzeFGporncpHTn 6X+I6ttafaclgbB0OqAfniLqR35pLb255rxTmIX1CUkJpKO9QYNdbxgAuUexL2oD82Zf OCxH/dqFV5d/lPnbEHKigpnTOZY5YX0aVw7SGotID6OimZyfaHRn6J2wXpD6RLm0dpxk BIXTJH+rCzHPF2dQ4puxw1Zp+nyp3sisUvHgX3TC6c0dRsuGHTjXPM/TY9xPtIMychFG RmHA== X-Gm-Message-State: AOJu0Yw87yeuuBsLhxPc1LRakxa1CvdsOft36b257i90d05tU6L5jLEU JrSH0YcdJg5+GhYhs0BigPEX7xDQx7gGe4heKjpdjkRFM1TPzA== X-Google-Smtp-Source: AGHT+IFJFYOjpFakAzeZqo3OL9eWaD/KVrJMk4EZp8xU+Dg/TlLy15jPJ9dOMO/ruH5OJYUCL6asNp2Yg1gz8myqNkk= X-Received: by 2002:a5d:630f:0:b0:336:2a21:c9bd with SMTP id i15-20020a5d630f000000b003362a21c9bdmr1233743wru.52.1702421106952; Tue, 12 Dec 2023 14:45:06 -0800 (PST) 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 References: <405e0e1486cfddde2c86f8c5e883858b@shitposting.expert> <20231211203004.23de0ac5@coreI5.home> <163e848b5386f0cc7ce88d7ce38ddf14@shitposting.expert> <0a20d2fb629cea752b2bc104db368bbc@shitposting.expert> <4d2bf7537c793f7b15b9bf5e84a612f7@shitposting.expert> <480c92d9db2724d7e7e9681f0e182cab@shitposting.expert> In-Reply-To: From: =?UTF-8?B?VsOtdCBTbW9sw61r?= Date: Tue, 12 Dec 2023 23:44:54 +0100 Message-ID: Subject: Re: [gentoo-user] Wine problems To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="000000000000569087060c57cdfb" X-Archives-Salt: f6ccf878-e4a2-4f02-b043-fb717ac083cd X-Archives-Hash: faf807fc35356da82405637053bfd286 --000000000000569087060c57cdfb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dne =C3=BAt 12. 12. 2023 23:44 u=C5=BEivatel napsal: > On 2023-12-12 22:08, V=C3=ADt Smol=C3=ADk wrote: > > Dne =C3=BAt 12. 12. 2023 22:55 u=C5=BEivatel > > 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=C3=ADt Smol=C3=ADk. > > 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 i see it, may be just your email client. --000000000000569087060c57cdfb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Dne =C3=BAt 12. 12. 2023 2= 3:44 u=C5=BEivatel <stefan11111@shitposting.expert> napsal:
On 2023-12-12 22:08, V=C3=ADt Smol=C3=ADk w= rote:
> Dne =C3=BAt 12. 12. 2023 22:55 u=C5=BEivatel <stefan11111@shitposti= ng.expert>
> 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&= #39;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 mak= e sure to
> take
> a look at the "xorg.conf" chapter so you have X configured r= ight. 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=C3=ADt Smol=C3=ADk.

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 <= br> 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.githubu= sercontent.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:=C2=A0 version 525.147.05

Section "ServerLayout"
=C2=A0 =C2=A0 =C2=A0Identifier=C2=A0 =C2=A0 =C2=A0"Layout0"
=C2=A0 =C2=A0 =C2=A0Screen=C2=A0 =C2=A0 =C2=A0 0=C2=A0 "Screen0"<= br> =C2=A0 =C2=A0 =C2=A0Inactive=C2=A0 =C2=A0 =C2=A0 =C2=A0"InactiveDevice= 1"
=C2=A0 =C2=A0 =C2=A0InputDevice=C2=A0 =C2=A0 "Keyboard0" "Co= reKeyboard"
=C2=A0 =C2=A0 =C2=A0InputDevice=C2=A0 =C2=A0 "Mouse0" "CoreP= ointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
=C2=A0 =C2=A0 =C2=A0# generated from default
=C2=A0 =C2=A0 =C2=A0Identifier=C2=A0 =C2=A0 =C2=A0"Mouse0"
=C2=A0 =C2=A0 =C2=A0Driver=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"mouse&quo= t;
=C2=A0 =C2=A0 =C2=A0Option=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Protocol&= quot; "auto"
=C2=A0 =C2=A0 =C2=A0Option=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Device&qu= ot; "/dev/psaux"
=C2=A0 =C2=A0 =C2=A0Option=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Emulate3B= uttons" "no"
=C2=A0 =C2=A0 =C2=A0Option=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"ZAxisMapp= ing" "4 5"
EndSection

Section "InputDevice"
=C2=A0 =C2=A0 =C2=A0# generated from default
=C2=A0 =C2=A0 =C2=A0Identifier=C2=A0 =C2=A0 =C2=A0"Keyboard0"
=C2=A0 =C2=A0 =C2=A0Driver=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"kbd"=
EndSection

Section "Monitor"
=C2=A0 =C2=A0 =C2=A0Identifier=C2=A0 =C2=A0 =C2=A0"Monitor0"
=C2=A0 =C2=A0 =C2=A0VendorName=C2=A0 =C2=A0 =C2=A0"Unknown"
=C2=A0 =C2=A0 =C2=A0ModelName=C2=A0 =C2=A0 =C2=A0 "Unknown"
=C2=A0 =C2=A0 =C2=A0Option=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"DPMS"= ;
EndSection

Section "Device"
=C2=A0 =C2=A0 =C2=A0Identifier=C2=A0 =C2=A0 =C2=A0"Device0"
=C2=A0 =C2=A0 =C2=A0Driver=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"nvidia&qu= ot;
=C2=A0 =C2=A0 =C2=A0VendorName=C2=A0 =C2=A0 =C2=A0"NVIDIA Corporation&= quot;
=C2=A0 =C2=A0 =C2=A0BusID=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "PCI:1:0:0= "
EndSection

Section "Device"
=C2=A0 =C2=A0 =C2=A0Identifier=C2=A0 =C2=A0 =C2=A0"InactiveDevice1&quo= t;
=C2=A0 =C2=A0 =C2=A0Driver=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"modesetti= ng"
=C2=A0 =C2=A0 =C2=A0VendorName=C2=A0 =C2=A0 =C2=A0"Unknown"
EndSection

Section "Screen"
=C2=A0 =C2=A0 =C2=A0Identifier=C2=A0 =C2=A0 =C2=A0"Screen0"
=C2=A0 =C2=A0 =C2=A0Device=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Device0&q= uot;
=C2=A0 =C2=A0 =C2=A0Monitor=C2=A0 =C2=A0 =C2=A0 =C2=A0 "Monitor0"=
=C2=A0 =C2=A0 =C2=A0DefaultDepth=C2=A0 =C2=A0 24
=C2=A0 =C2=A0 =C2=A0Option=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"AllowEmpt= yInitialConfiguration" "True"
=C2=A0 =C2=A0 =C2=A0SubSection=C2=A0 =C2=A0 =C2=A0"Display"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Depth=C2=A0 =C2=A0 =C2=A0 =C2=A024
=C2=A0 =C2=A0 =C2=A0EndSubSection
EndSection
i see it, may be just your e= mail client.
--000000000000569087060c57cdfb--