You are not logged in.

#1 2019-05-26 01:02:32

FenixGhost
Member
Registered: 2019-05-25
Posts: 3

HDMI / VIRTUAL Not working Bumblebeed+bbswitch+nvidia

Hello! I'm running Arch Linux on a Asus Laptop (N46VM). My problem is my HDMI port is not working correctly, does not detect the monitor. I've tried everything I've found on archlinux wiki about bumblebee and it's functionalities but nothing seems to work. After reading tons of pages haven't found a working solution.

I manage to activate Virtual1 output with optirun intel-virtual-output but nothing happens when i connect the monitor to the HDMI port. When virtual1 is connect i can see it at the display manager but at the monitor i get a flat black screen nothing shows up and on the monitor the usual text "no signal".

Diplay Manager ScreenShot


This is some info about my Arch Linux and hardware, if you need more info just tell me, Thank you for your help!

[user ~]$ uname -a
Linux Ghost-Pc 5.1.4-arch1-1-ARCH #1 SMP PREEMPT Wed May 22 08:06:56 UTC 2019 x86_64 GNU/Linux
[user ~]$ hwdetect --show-modules
find: ‘/sys/kernel/debug’: Permission denied
find: ‘/sys/fs/pstore’: Permission denied
find: ‘/sys/fs/bpf’: Permission denied
AGP      : agpgart intel-gtt 
ACPI     : ac battery 
BLOCK    : scsi_mod sd_mod sr_mod ahci libahci libata uvcvideo ehci-hcd ehci-pci xhci-hcd xhci-pci 
BLUETOOTH: btbcm btintel btrtl btusb bluetooth 
CDROM    : cdrom 
CPUFREQ  : acpi-cpufreq pcc-cpufreq 
CRYPTO   : aesni-intel aes-x86_64 crc32c-intel crc32-pclmul crct10dif-pclmul ghash-clmulni-intel glue_helper cryptd crypto_simd ecdh_generic 
DRM      : drm_kms_helper drm i915 
HWMON    : coretemp 
I2C      : i2c-algo-bit i2c-i801 
INPUT    : evdev input-leds joydev atkbd mousedev psmouse i8042 libps2 serio serio_raw sparse-keymap hid-generic hid usbhid 
KVM      : kvm-intel kvm 
MEDIA    : videobuf2-common videobuf2-memops videobuf2-v4l2 videobuf2-vmalloc media uvcvideo videodev 
NET      : r8169 fjes libphy iwlwifi bluetooth rfkill cfg80211 
SOUND    : pcspkr snd-hwdep snd snd-pcm snd-timer snd-hda-core snd-hda-codec-generic snd-hda-codec snd-hda-codec-realtek snd-hda-intel soundcore 
WATCHDOG : iTCO_vendor_support iTCO_wdt 
OTHER    : intel-cstate intel-rapl-perf intel-uncore ledtrig-audio mac_hid memstick rtsx_pci_ms lpc_ich rtsx_pci mei_hdcp mei mmc_core rtsx_pci_sdmmc asus-nb-wmi asus-wireless asus-wmi mxm-wmi wmi-bmof wmi intel_rapl intel_powerclamp x86_pkg_temp_thermal fb_sys_fops syscopyarea sysfillrect sysimgblt crc16 irqbypass

Bumblebee configuration /etc/bumblebee/bumblebee.conf

# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.·
KeepUnusedXServer=true
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
# driver= (original
Driver=nvidia
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=true


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau

Bumblebee Xorg-Nvidia configuration /etc/bumblebee/xorg.conf.nvidia

Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "true"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "nvidiaGPU"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   If the X server does not automatically detect your VGA device,
#   you can manually set it here.
#   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
#   as you see in the commented example.
#   This Setting may be needed in some platforms with more than one
#   nvidia card, which may confuse the proprietary driver (e.g.,
#   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
#   BusID "PCI:01:00:0"

#   Setting ProbeAllGpus to false prevents the new proprietary driver
#   instance spawned to try to control the integrated graphics card,
#   which is already being managed outside bumblebee.
#   This option doesn't hurt and it is required on platforms running
#   more than one nvidia graphics card with the proprietary driver.
#   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
#   If this option is not set, the new Xorg may blacken the screen and
#   render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"

    Option "NoLogo" "true"
    Option "UseEDID" "true"
    #Option "UseDisplayDevice" "none"
EndSection

Section "Screen"
    Identifier "Default Screen"
    Device "DiscreteNvidia"
EndSection

Bumblebee Intel configuration /etc/bumblebee/xorg.conf.d/20-intel.conf

Section "Device"
  Identifier "IntelGPU"
  Driver     "intel"
  Option     "TearFree" "true"
  Option     "VirtualHeads" "1"
  BusID      "PCI:00:02:0"
EndSection

Bumblebee Nvidia configuration /etc/bumblebee/xorg.conf.d/20-nvidia.conf

Section "Device"
  Identifier "nvidiaGPU"
  Driver     "nvidia"
  VendorName "NVIDIA Corporation"
  BoardName  "GeForce GT 630M"
  BusID      "PCI:01:00:0"
EndSection

lspci

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 4 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 620M/630M/635M/640M LE] (rev a1)
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411 PCI Express Card Reader (rev 01)
04:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0a)

xrandr

Screen 0: minimum 8 x 8, current 1600 x 1668, maximum 32767 x 32767
LVDS1 connected primary 1366x768+0+900 (normal left inverted right x axis y axis) 310mm x 170mm
   1366x768      60.10*+
   1280x720      59.74  
   1024x768      60.00  
   1024x576      60.00    59.90    59.82  
   960x540       60.00    59.63    59.82  
   800x600       60.32    56.25  
   864x486       60.00    59.92    59.57  
   640x480       59.94  
   720x405       59.51    60.00    58.99  
   680x384       60.00  
   640x360       59.84    59.32    60.00  
VGA1 connected 1440x900+0+0 (normal left inverted right x axis y axis) 410mm x 270mm
   1440x900      59.89*+
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08  
VIRTUAL1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      60.00  
   VIRTUAL1.638-1600x900  59.82* 
   VIRTUAL1.639-1400x900  59.88  
   VIRTUAL1.640-1368x768  59.88  
   VIRTUAL1.641-1368x768  59.85  
   VIRTUAL1.642-1280x800  59.91  
   VIRTUAL1.643-1280x800  59.81  
   VIRTUAL1.644-1280x720  59.86  
   1280x720      59.74  
   1024x576      59.90    59.82  
   960x540       59.82    59.63  
   864x486       59.92    59.57  
   800x600       72.19    60.32    56.25  
   VIRTUAL1.655-800x450  59.82  
   VIRTUAL1.656-700x450  59.88  
   VIRTUAL1.657-684x384  59.88  
   VIRTUAL1.658-684x384  59.85  
   640x480       59.94  
   VIRTUAL1.660-640x400  59.98  
   VIRTUAL1.661-640x400  59.88  
   VIRTUAL1.662-640x360  59.86  
   VIRTUAL1.663-640x360  59.83  
   VIRTUAL1.664-512x384  60.00  
   VIRTUAL1.665-512x288  60.00  
   VIRTUAL1.666-512x288  59.92  
   VIRTUAL1.667-480x270  59.82  
   VIRTUAL1.668-480x270  59.63  
   VIRTUAL1.669-432x243  59.92  
   VIRTUAL1.670-432x243  59.57  
   VIRTUAL1.671-400x300  72.19  
   VIRTUAL1.672-320x240  60.05  
VIRTUAL2 disconnected (normal left inverted right x axis y axis)
VIRTUAL3 disconnected (normal left inverted right x axis y axis)

Last edited by FenixGhost (2019-05-26 01:15:30)

Offline

#2 2019-05-26 01:06:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: HDMI / VIRTUAL Not working Bumblebeed+bbswitch+nvidia

Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB