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 8825C158013 for ; Tue, 12 Dec 2023 22:49:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2AD3E2BC0E3; Tue, 12 Dec 2023 22:49:23 +0000 (UTC) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (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 9EEBA2BC079 for ; Tue, 12 Dec 2023 22:49:22 +0000 (UTC) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40c55872d80so5383475e9.1 for ; Tue, 12 Dec 2023 14:49:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702421361; x=1703026161; 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=4NkU2hjiqOPBxQzD7t0inVT13zV3iNHyMLESdkzoj9M=; b=P5jKMvpZeefinSO9PUjCZQH0CP1DaeTYApRqrStKBusyWQxf2SdEPObhQCvuLLgqn3 mdBzjagz6Z5Si18K3WF9nmsOJlXqqiXbkLRHl9GZGNXtqDPMgOeHe5/LQ9AV0yHTOjVq Iuq349KOsdQqke5MRJLSrtD/96YcoxS0k4BBqdT8wvGq3rOBodqir3GBrmMIKy5ETwTh zDEPT4zyo3mXva+mMU4L4iuVVK7S3uxdf1zNL0buOSFntSA4vAV/O0GfGSDXlz92NxfR 4rdnGmFw7BuGn2k8SZaZXN5ChKvYljjCYoC1YywI8hWXljO/DQykryDhappXGFzkyUV3 2YTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702421361; x=1703026161; 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=4NkU2hjiqOPBxQzD7t0inVT13zV3iNHyMLESdkzoj9M=; b=kddtY8qhOat9bFv0pXHv4cvYI7GyUSV4ArK9yIwY7Ci05n8oxM0TaOV9h/jKJNwiL+ cje/sGmpVRKEFNexUr7OjFaLFGPSk051kWfw9hoV3VyLgjNY8nAwwRwZ436GKtlcyfgb 5yU00SFvl0PQ2fpPAUltq2zWdUNd5dgyHCeHI8bvY9y7X7w0eirwT3Yoe2PCGpnjkAEQ C6x+ZmmGPcXFpjxk3nUEviFBL2mgjOgfU1dGkeLRZD3EkHAS8Fr0ZOeW6DZ75wbKglLL zHqq7al5++PoXXqdOihVLkK46rHyJUHz6Mojhc8Fl385ss7mlH8Rg8eMWF4dZ0ArcwZS i7tQ== X-Gm-Message-State: AOJu0YzLgjrcPNKKIAfpNbzEF6eYwBTQk/xprx6cwDzYt3C1OtGNcvxH 8+ibaco+BB2EWnHLkkoM0G/EY32gwLcRDwFA/Uilma7F/jL0gw== X-Google-Smtp-Source: AGHT+IHVEsiaRwHO2r3lU5tarjO8sHAEjxhE24FTd8ZuB2GNxSOzHSPDMjG1yWDjBVklO0SGVf1MfDC7ZqB3TLNZRts= X-Received: by 2002:a05:600c:4301:b0:40c:25d1:ca29 with SMTP id p1-20020a05600c430100b0040c25d1ca29mr3159556wme.173.1702421360781; Tue, 12 Dec 2023 14:49:20 -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> <824c5e3e2e84816be6ab004519c04e20@shitposting.expert> In-Reply-To: <824c5e3e2e84816be6ab004519c04e20@shitposting.expert> From: =?UTF-8?B?VsOtdCBTbW9sw61r?= Date: Tue, 12 Dec 2023 23:49:08 +0100 Message-ID: Subject: Re: [gentoo-user] Wine problems To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="00000000000077afec060c57dc0c" X-Archives-Salt: ea6558ae-c8f7-4ae7-a2c1-c9794b5e03cb X-Archives-Hash: 1542489e6b79bf1ee3fb90e90ba21853 --00000000000077afec060c57dc0c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dne =C3=BAt 12. 12. 2023 23:28 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'll add an attachment to make things hopefully a bit more clear. > 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 > in your .xinitrc, try to drop the "&" in both of the xrandr commands, then start X May the Force be with you, V=C3=ADt Smol=C3=ADk. --00000000000077afec060c57dc0c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dne =C3=BAt 12. 12. 2023 23:28 u=C5=BEi= vatel <stefan11111@shitposting.expert> 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 <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'll add an attachment to make things hopefully a bit more clear.
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
in your .xinitrc, try to= drop the "&" in both of the xrandr commands, then start X

May the Force be with you,=
V=C3=ADt Smol=C3=ADk.

--00000000000077afec060c57dc0c--