You are not logged in.
Pages: 1
Hello
I've been trying to connect my laptop to my TV for a while but I can't get it to work. I installed bumblebee and XRANDR, I can't seem to detect my external monitor. I have a NVIDIA 1060GTX GPU.
/etc/bumblebee/xorg.conf.nvidia
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "true"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:01:00:0"
Option "ProbeAllGpus" "false"
Option "AllowEmptyInitialConfiguration" "true"
Option "NoLogo" "true"
Option "UseEDID" "true"
# Option "UseDisplayDevice" "none"
EndSection/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=false
# 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=
# 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=false
# 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
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveauWhen I run intel-virtual-output I get the following:
No VIRTUAL outputs on ":0".Output of lspci:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 05)
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
00:1d.5 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #14 (rev f1)
00:1d.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #15 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile 3GB] (rev a1)
3c:00.0 Non-Volatile memory controller: Toshiba America Info Systems NVMe Controller (rev 01)
3d:00.0 Ethernet controller: Qualcomm Atheros Killer E2500 Gigabit Ethernet Controller (rev 10)
3e:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)I can't seem to tell whats going wrong and why when I plug in my HDMI cable nothing happens.
Last edited by hallak (2018-03-17 16:39:31)
Offline
Try
xrandr --queryWhich in my case gives eDP-1 as my primary laptop display and HDMI-1 as my Tv. So to mirror my laptops display to my Tv
xrandr --output eDP-1 --auto --primary --output HDMI-1 --auto --same-as eDP-1A good place to start is with:
xrandr --helpAlso, a Google search reveals
https://askubuntu.com/questions/461553/ … isplay-gui
https://askubuntu.com/questions/119843/ … or-lightdm
To automaticaly mirror the display when the HDMI cable is plugged in, my chosen solution was to write a Udev rule kept in /etc/udev/rules.d/70-MirrorToTv.rules (Note Udev naming convention for rules is important!)
https://blog.sleeplessbeastie.eu/2013/0 … l-monitor/
https://hackaday.com/2009/09/18/how-to- … dev-rules/
http://www.reactivated.net/writing_udev_rules.html
Last edited by IrvineHimself (2018-03-17 19:18:29)
Et voilà, elle arrive. La pièce, le sous, peut-être qu'il arrive avec vous!
Offline
The thing is xrandr --query doesn't even detect my HDMI cable or anything.
All I get is the following:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
XWAYLAND0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 380mm x 210mm
1920x1080 59.88*+Offline
You're obviously on wayland ...
Offline
How can I remove that? Or is there any workaround for that? I don't recall installing it anyway.
Edit: I can't login to gnome on Xorg for some reason.
Last edited by hallak (2018-03-18 10:25:06)
Offline
I was going to make the same point about Wayland
Again, a quick Google search reveals: https://bbs.archlinux.org/viewtopic.php?id=223692
Around here, we like to help, but we prefer you do your own searches. ![]()
Edit:
You shouldn't need to uninstall Gnome 3, as the Op of linked post did, just install another desktop and edit .xintrinic. For example, mine has a history of all the desktops I've tried since my original Arch install:
# Commented out since I don't use them
# twm &
# xclock -geometry 50x50-1+1 &
# xterm -geometry 80x50+494+51 &
# xterm -geometry 80x20+494-0 &
# exec xterm -geometry 80x66+0+0 -name login
#
## Added to start Xfce
#exec startxfce4
## Added to start Gnome
#exec gnome-session
## Added to start Kde Plasma
#exec startkde
### ### Openbox
# added to fix openbox font size
xrdb -merge ~/.Xresources
# start openbox
exec openbox-sessionLast edited by IrvineHimself (2018-03-18 10:42:03)
Et voilà, elle arrive. La pièce, le sous, peut-être qu'il arrive avec vous!
Offline
Step #1
https://wiki.archlinux.org/index.php/GD … rg_backend
I can't login to gnome on Xorg for some reason.
That's no usable error description. How does it fail? What errors do you get in the journal?
Offline
If I disable wayland just like the GDM docs do and restart the gdm service, I get:
): GLib CRITICAL **: g child watch add full: assertion 'pid > 0' failedNothing highlighted in the journalctl I believe.
Offline
Nothing highlighted in the journalctl I believe.
So you believe there's no problem but "can't login to gnome on Xorg for some reason"?
Paste your journal and you entire pacman log.
Offline
Pacman.log: https://pastebin.com/Ps24xG6p
/var/log/Xorg.8.log: https://pastebin.com/3wSaThH9
Running cat /var/log/journal/91ebb8d0cf614dbda768567763e9cc98/system.journal outputs gibberish in my terminal, encoding in my terminal is set to UTF-8
Last edited by hallak (2018-03-18 11:02:19)
Offline
Xorg.8.log is from a bumblebee invocation...
https://wiki.archlinux.org/index.php/Systemd#Journal
Ok, the xorg-server is installed, but
[2018-03-11 22:10] [PACMAN] Running 'pacman -S yaourt'why do you have the archlinuxfr repo added??
Offline
Here's my journalctl:
-- Logs begin at Sun 2018-03-11 22:05:49 EET, end at Sun 2018-03-18 14:58:06 EET. --
Mar 11 22:05:49 hallak kernel: Linux version 4.15.7-1-ARCH (builduser@heftig-14534) (gcc version 7.3.0 (GCC)) #1 SMP PREEMPT Wed Feb 28 19:01:57 UTC 2018
Mar 11 22:05:49 hallak kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a440d5ff-2297-47ce-a109-bc5b331c01c2 rw quiet
Mar 11 22:05:49 hallak kernel: KERNEL supported cpus:
Mar 11 22:05:49 hallak kernel: Intel GenuineIntel
Mar 11 22:05:49 hallak kernel: AMD AuthenticAMD
Mar 11 22:05:49 hallak kernel: Centaur CentaurHauls
Mar 11 22:05:49 hallak kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Mar 11 22:05:49 hallak kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Mar 11 22:05:49 hallak kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Mar 11 22:05:49 hallak kernel: x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
Mar 11 22:05:49 hallak kernel: x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
Mar 11 22:05:49 hallak kernel: x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
Mar 11 22:05:49 hallak kernel: x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64
Mar 11 22:05:49 hallak kernel: x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64
Mar 11 22:05:49 hallak kernel: x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using 'compacted' format.
Mar 11 22:05:49 hallak kernel: e820: BIOS-provided physical RAM map:
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x0000000000000000-0x0000000000057fff] usable
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x0000000000058000-0x0000000000058fff] reserved
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x0000000000059000-0x000000000009dfff] usable
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x000000000009e000-0x00000000000fffff] reserved
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000064c21fff] usable
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x0000000064c22000-0x0000000064c22fff] ACPI NVS
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x0000000064c23000-0x0000000064c23fff] reserved
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x0000000064c24000-0x0000000069fbcfff] usable
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x0000000069fbd000-0x000000006aa8afff] reserved
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x000000006aa8b000-0x000000006ab00fff] ACPI data
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x000000006ab01000-0x000000006afaefff] ACPI NVS
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x000000006afaf000-0x000000006b383fff] reserved
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x000000006b384000-0x000000006b3fdfff] type 20
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x000000006b3fe000-0x000000006b3fefff] usable
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x000000006b3ff000-0x000000006fffffff] reserved
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x00000000fe000000-0x00000000fe010fff] reserved
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x00000000fed00000-0x00000000fed00fff] reserved
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
Mar 11 22:05:49 hallak kernel: BIOS-e820: [mem 0x0000000100000000-0x000000048effffff] usable
Mar 11 22:05:49 hallak kernel: NX (Execute Disable) protection: active
Mar 11 22:05:49 hallak kernel: efi: EFI v2.50 by American Megatrends
Mar 11 22:05:49 hallak kernel: efi: ACPI 2.0=0x6aaa2000 ACPI=0x6aaa2000 SMBIOS=0x6b2f4000 SMBIOS 3.0=0x6b2f3000 ESRT=0x68eaf218
Mar 11 22:05:49 hallak kernel: random: fast init done
Mar 11 22:05:49 hallak kernel: SMBIOS 3.0.0 present.
Mar 11 22:05:49 hallak kernel: DMI: Micro-Star International Co., Ltd. GS73VR 7RF/MS-17B1, BIOS E17B1IMS.30E 03/08/2017
Mar 11 22:05:49 hallak kernel: e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
Mar 11 22:05:49 hallak kernel: e820: remove [mem 0x000a0000-0x000fffff] usable
Mar 11 22:05:49 hallak kernel: e820: last_pfn = 0x48f000 max_arch_pfn = 0x400000000
Mar 11 22:05:49 hallak kernel: MTRR default type: write-back
Mar 11 22:05:49 hallak kernel: MTRR fixed ranges enabled:
Mar 11 22:05:49 hallak kernel: 00000-9FFFF write-backAs for the archlinuxfr repo, it just made my migration easier, I had to have my software installed asap to continue my studies.
Offline
That's not a journal - that's like the first 30 lines from a week ago ...
Offline
I apologize for the inconvenience. I realized that a few minutes ago before your post I was struggling to upload the full thing on pastebin, firefox kept crashing. The file is too big for pastebin. Here it is on dropbox: https://www.dropbox.com/s/76dlkldley1lo6h/e.txt?dl=0
Thank you for your time!
Offline
So all those X servers failing with errors did not stick out or look suspiciously related to you?
It's likely because of
Mar 18 12:35:37 hallak /usr/lib/gdm/gdm-x-session[6105]: (==) Using config file: "/etc/X11/xorg.conf"Why is there a /etc/X11/xorg.conf and what does it look like?
Offline
I don't know why its there but here's the file:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 390.25 (buildmeister@swio-display-x86-rhel47-03) Wed Jan 24 20:46:04 PST 2018
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
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"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSectionShould I delete it?
Last edited by hallak (2018-03-18 19:56:08)
Offline
Because you generated it and yes and READ THE WIKI ARTICLES.
Offline
Great, some improvements, xrandr now doesn't detect my connected HDMI.
xrandr --query
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 381mm x 214mm
1920x1080 120.00*+ 60.01 59.97 59.96 59.93
1680x1050 59.95 59.88
1400x1050 74.76 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 85.02 75.02 60.02
1400x900 59.96 59.88
1280x960 85.00 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1280x800 59.99 59.97 59.81 59.91
1152x864 75.00
1280x720 60.00 59.99 59.86 59.74
1024x768 85.00 75.05 60.04 85.00 75.03 70.07 60.00
1024x768i 86.96
960x720 85.00 75.00 60.00
928x696 75.00 60.05
896x672 75.05 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
832x624 74.55
960x540 59.96 59.99 59.63 59.82
800x600 85.00 75.00 70.00 65.00 60.00 85.14 72.19 75.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 74.76 59.98
800x450 59.95 59.82
640x512 85.02 75.02 60.02
700x450 59.96 59.88
640x480 85.09 60.00 85.01 72.81 75.00 59.94
720x405 59.51 58.99
720x400 85.04
684x384 59.88 59.85
640x400 59.88 59.98 85.08
576x432 75.00
640x360 59.86 59.83 59.84 59.32
640x350 85.08
512x384 85.00 75.03 70.07 60.00
512x384i 87.06
512x288 60.00 59.92
416x312 74.66
480x270 59.63 59.82
400x300 85.27 72.19 75.12 60.32 56.34
432x243 59.92 59.57
320x240 85.18 72.81 75.00 60.05
360x202 59.51 59.13
360x200 85.04
320x200 85.27
320x180 59.84 59.32
320x175 85.27
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)Any thoughts?
Offline
Pages: 1