Dne st 13. 12. 2023 20:21 uživatel Vít Smolík <vit.smol...@gmail.com> napsal:
> 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? > > 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 > > -- > May the Force be with you, > Vít Smolík. > forgot to clarify, by "the thing xrandr outputs" i mean something like "Monitor0" or "VGA-1" - you can see it in the example output also. May the Force be with you, Vít Smolík.