You are not logged in.

#1 2019-07-23 12:44:14

shak
Member
Registered: 2009-03-16
Posts: 405

Help with nvidia-xrun ?

Hi guys

I need some help to use nvidia-xrun. Currently i am using the first solution of the wiki which basically installs the proprietary nvidia drivers and just enabled drm to avoid tearing.

I have tried to use nvidia-xrun by using this guide https://www.devpy.me/nvidia-xrun/ but it doesn't work for me. Are there any changes that i have made using the proprietary drivers which might affect the nvidia-xrun?

I was thinking of using optimus-manager but the fact that it doesn't save the session and logs you out is a bit of a drawback for me

Booting to intel desktop works ok but when i run nvidia-xrun on tt2 i get the message

NO screens found

Here is my xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 430.34

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 "Module"
	Load "modesetting"
EndSection

Section "Device"
     Identifier     "Device0"
     Driver         "nvidia"
     VendorName     "NVIDIA Corporation"
     BusID	   "PCI:1:0:0"
     Option	   "AllowEmptyInitialConfiguration"
EndSection

Section "Device"
 Identifier	"Intel"
Driver	"intel"
EndSection

Section "Screen"
Identifier "Screen0"
Device "intel"
EndSection

Section "Screen"
Identifier "Screen1"
Device "nvidia"
EndSection

#Section "Screen"
 #   Identifier     "Screen0"
  #  Device         "Device0"
   # Monitor        "Monitor0"
   # DefaultDepth    24
   # SubSection     "Display"
   #     Depth       24
   # EndSubSection
#EndSection

ANd here is my nvidia conf for the nvidia desktop

Section "Files"
  ModulePath "/usr/lib/nvidia"
  ModulePath "/usr/lib32/nvidia"
  ModulePath "/usr/lib32/nvidia/xorg/modules"
  ModulePath "/usr/lib32/xorg/modules"
  ModulePath "/usr/lib64/nvidia/xorg/modules"
  ModulePath "/usr/lib64/nvidia/xorg"
  ModulePath "/usr/lib64/xorg/modules"
EndSection

Section "ServerLayout"
  Identifier "layout"
  Screen 1  "Screen0"
  Inactive "intel"
EndSection

Section "Device"
  Identifier "nvidia"
  Driver "nvidia"
  BusID "PCI:1:0:0"
EndSection

Section "Screen"
  Identifier "Screen0"
  Device "nvidia"
  Option "AllowEmptyInitialConfiguration" "Yes"
  Option "UseDisplayDevice" "none"
EndSection

Section "Device"
  Identifier "intel"
  Driver "modesetting"
  Option "AccelMethod" "none"
EndSection

Section "Screen"
  Identifier "intel"  
  Device "intel"
EndSection

Last edited by shak (2019-07-23 14:13:21)

Offline

#2 2019-07-23 12:49:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,520
Website

Re: Help with nvidia-xrun ?

"it doesn't work" is not an error message.

As far as knowing if any changes you made may prevent nvidia-xrun from working, you'd need to tell us something about the changes you've made!

But overall, don't follow unsupported guides when there is a complete page on our wiki:
https://wiki.archlinux.org/index.php/Nvidia-xrun


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2019-07-23 14:13:59

shak
Member
Registered: 2009-03-16
Posts: 405

Re: Help with nvidia-xrun ?

Trilby wrote:

"it doesn't work" is not an error message.

As far as knowing if any changes you made may prevent nvidia-xrun from working, you'd need to tell us something about the changes you've made!

But overall, don't follow unsupported guides when there is a complete page on our wiki:
https://wiki.archlinux.org/index.php/Nvidia-xrun

I have updated my post. The intel desktop works ok but the nvidia one won't boot. I get the mesasge no screens found. SOmething is probably wrong with my nvidia xorg conf file

Offline

#4 2019-07-23 14:33:29

shak
Member
Registered: 2009-03-16
Posts: 405

Re: Help with nvidia-xrun ?

I am also getting an error of could not resolve keysym xf86 brightness cycle .

Offline

Board footer

Powered by FluxBB