Dne st 13. 12. 2023 20:45 uživatel <stefan11111@shitposting.expert> napsal:

> On 2023-12-13 19:35, Vít Smolík wrote:
> > Dne st 13. 12. 2023 20:30 uživatel <stefan11111@shitposting.expert>
> > napsal:
> >
> >> On 2023-12-13 19:21, Vít Smolík wrote:
> >> > st 13. 12. 2023 v 19:51 odesílatel <stefan11111@shitposting.expert>
> >> > napsal:
> >> >>
> >> >> On 2023-12-13 18:46, stefan11111@shitposting.expert wrote:
> >> >> > On 2023-12-13 16:23, Vít Smolík wrote:
> >> >> >> st 13. 12. 2023 v 16:58 odesílatel <stefan11111@shitposting.expert
> >
> >> >> >> napsal:
> >> >> >>>
> >> >> >>> On 2023-12-13 14:55, Vít Smolík wrote:
> >> >> >>> > st 13. 12. 2023 v 9:28 odesílatel
> <stefan11111@shitposting.expert
> >> >
> >> >> >>> > napsal:
> >> >> >>> >>
> >> >> >>> >> On 2023-12-13 05:34, Vít Smolík wrote:
> >> >> >>> >> > okay, then dont worry about this.
> >> >> >>> >> > chceck the xorg log it should be in /var/log/Xorg.<some
> >> number>.log.
> >> >> >>> >> > also check if both the nvidia and intel drivers are loaded
> >> correctly.
> >> >> >>> >> >
> >> >> >>> >> > May the Force be with you,
> >> >> >>> >> > Vít Smolík.
> >> >> >>> >> >
> >> >> >>> >>
> >> >> >>> >> I added the Xorg.0.log from optimus as an attachment.
> >> >> >>> > okay, i checked and i saw these lines:
> >> >> >>> >
> >> >> >>> >> [ 32496.682] (**) modeset(1): claimed PCI slot 0@0:2:0
> >> >> >>> >> [ 32496.682] (II) modeset(1): using default device
> >> >> >>> >> [ 32496.682] (EE) Screen 1 deleted because of no matching
> config
> >> >> >>> >> section.
> >> >> >>> >> [ 32496.682] (II) UnloadModule: "modesetting"
> >> >> >>> >
> >> >> >>> > i think the third line from this citation may be the concern,
> make
> >> >> >>> > sure you installed the proprietary nvidia drivers, and disabled
> >> >> >>> > nouveau (pretty sure you already did that)
> >> >> >>> > could you send your xorg.conf? it seems to me that the config
> that
> >> >> >>> > nvidia-xconfig made is faulty.
> >> >> >>> >
> >> >> >>> > --
> >> >> >>> > May the Force be with you,
> >> >> >>> > Vít Smolík.
> >> >> >>> I added my xorg.conf as an attachment
> >> >> >> okay, try adding this line right after the "Device" line in the
> >> >> >> "Screen" section:
> >> >> >>
> >> >> >> GPUDevice         "InactiveDevice1"
> >> >> >>
> >> >> >> The config should then look like this:
> >> >> >>
> >> >> >>> Section "Screen"
> >> >> >>>     Identifier     "Screen0"
> >> >> >>>     Device         "Device0"
> >> >> >>>     GPUDevice         "InactiveDevice1"
> >> >> >>>     Monitor        "Monitor0"
> >> >> >>>     DefaultDepth    24
> >> >> >>>     Option         "AllowEmptyInitialConfiguration" "True"
> >> >> >>>     SubSection     "Display"
> >> >> >>>         Depth       24
> >> >> >>>     EndSubSection
> >> >> >>> EndSection
> >> >> >> (i don't know how the formating will look in this email, but the
> >> >> >> "GPUDevice" line will be indented the same as the "Device" line)
> >> >> >>
> >> >> >> after that, save the config file and start X
> >> >> > Doing this did have an effect, but not the desired effect.
> >> >> > I still don't see xorg's display on the laptop screen, but if I
> >> >> > connect an hdmi cable to the laptop, I get output on an external
> >> >> > monitor.
> >> >> Good news, proton works.
> >> >> I don't get sound with proton though, but that is a known issues with
> >> >> steam's runtime that can be fixed.
> >> >> Thanks for helping me so far. Maybe I can even get the display to
> work
> >> >> on the laptop's screen.
> >> >>
> >> > i think the fix for your problem will be adding the second monitor to
> >> > the xorg.conf, you only have 1 monitor configured.
> >> > would you mind sending me your original xorg config if you still have
> >> > it?
> >> >
> >>
> >> The xorg config I sent is the only one I had on this laptop.
> >> Before trying this, I didn't have an xorg config on this laptop.
> >>
> >> > also try running xrandr (after starting X), then see all of the
> >> > outputs and add something like this to your X config
> >> >>
> >> >> Section "Monitor"
> >> >>     Identifier     "THE THING XRANDR OUTPUTS"
> >> >>     Option         "DPMS"
> >> >> EndSection
> >> >
> >> > the xrandr output should look something like this:
> >> >> Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 8192 x 8192
> >> >> VGA-1 disconnected (normal left inverted right x axis y axis)
> >> >> HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x
> >> >> axis y axis) 531mm x 299mm
> >> >>    1920x1080     59.93 +  60.00*   50.00    59.94
> >> >>    1920x1080i    60.00    50.00    59.94
> >> >>    1680x1050     59.88
> >> >> …
> >> >
> >> > if you can't figure it out, send the output, i will help you write the
> >> > config ;D
> >> This is the output of xrandr:
> >>
> >> $ xrandr
> >> Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
> >> HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x
> >> axis y axis) 698mm x 392mm
> >>     1920x1080     60.00*+  60.00    59.94    50.00
> >>     1680x1050     59.95
> >>     1600x900      60.00
> >>     1440x900      59.89
> >>     1440x576      50.00
> >>     1400x1050     59.98
> >>     1280x1024     60.02
> >>     1280x800      59.81
> >>     1280x720      60.00    59.96    50.00
> >>     1024x768      60.00
> >>     800x600       60.32    56.25
> >>     720x576       50.00
> >>     720x480       59.94
> >>     640x480       59.94
> >>
> > add this to your config:
> >
> > Section "Monitor"
> >    Identifier "HDMI-0"
> >    Option "DPMS"
> > EndSection
> >
> > Make sure the indentation is correct, see the rest of the config file,
> > and
> > indent the same as in the other sections.
> >
> > if it doesn't work, in the next email, include your xorg.conf and the
> > xorg
> > log
> >
> >
> > May the Force be with you,
> > Vít Smolík.
>
> Tried it, didn't work.
> I added the config file and the log as attachments.
>
Added the modified config as an attachment, i configured another screen
section at the bottom of the config, its identifier is "Screen1", also
added it to the server layout on top of the config.

rename your old xorg.conf and download this, then restart X, and report if
it was successfull :)

May the Force be with you,
Vít Smolík.

Attachment: xorg.conf
Description: Binary data

Reply via email to