#[SOLVED] i have issues getting x11+nvidia using my main screen on laptop

34 messages · Page 1 of 1 (latest)

split sentinel
#

i've had this issue for a while (basically since i set my os up) but i've been using my Igpu
When trying to create a Xorg.conf using nvidia-xconfig it'll try to use the hdmi port but i'm on a laptop so i would like it to detect my laptop's screen but it won't, even if i try and manually change my xorg.conf
so
when i have a xorg.conf, the nvidia card is used but tries to output on hdmi
but when i don't have one, the nvidia rtx card is not used but it shows an output on my main screen

here are a few more informations (without a xorg.conf):

  • glxinfo | grep OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Vega 10 Graphics (radeonsi, raven, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.2.2-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.2.2-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.2.2-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:```

lspci -k | grep -A 2 -E "(VGA|3D)"

01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 140f
Kernel driver in use: nvidia

05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] (rev c1)
Subsystem: ASUSTeK Computer Inc. Device 18f1
Kernel driver in use: amdgpu```

xrandr --listmonitors

Monitors: 1
 0: +*eDP 1920/344x1080/194+0+0  eDP
#

xrandr

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080    144.00*+  60.00  
   1680x1050    144.00  
   1280x1024    144.00  
   1440x900     144.00  
   1280x800     144.00  
   1280x720     144.00  
   1024x768     144.00  
   800x600      144.00  
   640x480      144.00  
HDMI-1-0 disconnected (normal left inverted right x axis y axis)```


and here's the xorg.conf generated by `nvidia-xconfig`

nvidia-xconfig: X configuration file generated by nvidia-xconfig

nvidia-xconfig: version 560.35.03

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
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 "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection

grave pilot
#

Why use x11, its outdated

split sentinel
grave pilot
#

I know, but x11 is not working great with newer gpus

split sentinel
#

and that's not my issue

#

it's not the gpu i have an issue with but the screen

grave pilot
#

Oh ok now i understand

dense spade
#

And are you using a display setting gui?

split sentinel
split sentinel
#

and i might have a UI app for xrandr but i'm not sure
and still it's just xrandr

dense spade
#

Install envycontrol

#

And switch to Nvidia

split sentinel
#

kay imma try that

split sentinel
wintry templeBOT
#

imafilfthykeyboardtoucher received a thank you cookie!

split sentinel
#

i'll tell u

dense spade
#

Also use Nvidia-open or nvidia-open-dkms

#

If you're using more than lts

#

Your GPU is Turing +

split sentinel
#

yeh i was using open and not beta mb

dense spade
#

Okok

#

Just making sure

#

Lmk how it goes

split sentinel
#

yeh, going back home then i'll try

split sentinel
wintry templeBOT
#

imafilfthykeyboardtoucher received a thank you cookie!

split sentinel
#

i missed my good 'ol display glitches

dense spade
#

Mark it as solved pls