From: "Vít Smolík" <vit.smolik2@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Wine problems
Date: Tue, 12 Dec 2023 23:49:08 +0100 [thread overview]
Message-ID: <CAPGO1bOqq_QzrtYGmY4Qz6jCGpDviLd_TKyr4BVJfDagesPoHw@mail.gmail.com> (raw)
In-Reply-To: <824c5e3e2e84816be6ab004519c04e20@shitposting.expert>
[-- Attachment #1: Type: text/plain, Size: 3673 bytes --]
Dne út 12. 12. 2023 23:28 uživatel <stefan11111@shitposting.expert> napsal:
> On 2023-12-12 22:08, Vít Smolík wrote:
> > Dne út 12. 12. 2023 22:55 uživatel <stefan11111@shitposting.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'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'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ít Smolík.
[-- Attachment #2: Type: text/html, Size: 5407 bytes --]
next prev parent reply other threads:[~2023-12-12 22:49 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-11 18:31 [gentoo-user] Wine problems stefan11111
2023-12-11 19:01 ` stefan11111
2023-12-11 19:30 ` netfab
2023-12-11 20:01 ` stefan11111
2023-12-12 5:47 ` Vít Smolík
2023-12-12 14:46 ` Vít Smolík
2023-12-12 19:09 ` stefan11111
2023-12-12 19:15 ` Vít Smolík
2023-12-12 20:30 ` stefan11111
2023-12-12 20:49 ` Vít Smolík
2023-12-12 21:16 ` stefan11111
2023-12-12 21:22 ` Vít Smolík
2023-12-12 21:55 ` stefan11111
2023-12-12 22:08 ` Vít Smolík
2023-12-12 22:25 ` stefan11111
2023-12-12 22:49 ` Vít Smolík [this message]
2023-12-12 22:54 ` stefan11111
2023-12-12 22:59 ` Vít Smolík
2023-12-12 23:31 ` stefan11111
2023-12-13 5:34 ` Vít Smolík
2023-12-13 8:27 ` stefan11111
2023-12-13 14:55 ` Vít Smolík
2023-12-13 15:57 ` stefan11111
2023-12-13 16:23 ` Vít Smolík
2023-12-13 18:46 ` stefan11111
2023-12-13 18:50 ` stefan11111
2023-12-13 19:21 ` Vít Smolík
2023-12-13 19:26 ` Vít Smolík
2023-12-13 19:29 ` stefan11111
2023-12-13 19:35 ` Vít Smolík
2023-12-13 19:44 ` stefan11111
2023-12-13 19:58 ` Vít Smolík
2023-12-13 20:05 ` stefan11111
2023-12-13 20:13 ` Vít Smolík
2023-12-13 20:25 ` stefan11111
2023-12-13 20:32 ` Vít Smolík
2023-12-13 22:19 ` stefan11111
2023-12-14 9:31 ` Vít Smolík
2023-12-14 13:49 ` Vít Smolík
2023-12-19 10:27 ` stefan11111
2024-01-23 14:54 ` stefan11111
2023-12-12 22:42 ` stefan11111
2023-12-12 22:44 ` Vít Smolík
2023-12-12 22:10 ` Jack
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPGO1bOqq_QzrtYGmY4Qz6jCGpDviLd_TKyr4BVJfDagesPoHw@mail.gmail.com \
--to=vit.smolik2@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox