You are not logged in.
Hello everyone, first of all, English is not my native language, sorry if I have typing errors.
Well, when I type xrandr in the terminal, it doesn't detect the HDMI output:
$ xrandr
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
LVDS1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1366x768 60.00*+ 40.00
1280x720 60.00
1024x768 60.00
1024x576 60.00
960x540 60.00
800x600 60.32 56.25
864x486 60.00
640x480 59.94
720x405 60.00
680x384 60.00
640x360 60.00
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
This is my lspci output:
$ lspci|grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 525M] (rev a1)
Yes, I have installed the nvidia package, the thing is when I'm going to create the xorg.conf I don't know how to make it work properly because when I try to create the file automatically:
$ sudo nvidia-xconfig
This is the result,
/etc/X11/xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 355.11 (buildmeister@swio-display-x86-rhel47-07) Wed Aug 26 17:15:49 PDT 2015
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"
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
EndSection
And if I leave the xorg.conf like this, when I reboot or just turning it down and then turning it on again, Arch doesn't boot, I have to delete the xorg.conf and after that Arch can boot without problems.
Any advice is appreciated.
Last edited by Dan14 (2015-11-15 05:59:51)
Offline
X should detect/use nvidia card + proprietary driver without any xorg.conf present (recent change) .
Please post full /var.log/Xorg0.log (if absent or almost empty , look in ~/.local/share/xorg/ ) and dmesg or "journalctl -b" .
(those logs tend to be large, consider using a pastebin client, check wiki)
Last edited by Lone_Wolf (2015-11-07 15:09:22)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
X should detect/use nvidia card + proprietary driver without any xorg.conf present (recent change) .
Please post full /var.log/Xorg0.log (if absent or almost empty , look in ~/.local/share/xorg/ ) and dmesg or "journalctl -b" .
(those logs tend to be large, consider using a pastebin client, check wiki)
~/.local/share/xorg/Xorg.0.log: http://pastebin.com/VLQFs29G
dmesg: https://ptpb.pw/NFen
journalctl -b: https://ptpb.pw/Yq7i
Last edited by Dan14 (2015-11-07 17:28:58)
Offline
[ 0.069747] perf_event_intel: PEBS disabled due to CPU errata, please upgrade microcode
Please implement intel early microcode updates, see Microcode page in wiki.
-----------------------------------------
[ 28.655] (--) PCI:*(0:0:2:0) 8086:0116:1028:04ca rev 9, Mem @ 0xf6400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[ 28.655] (--) PCI: (0:1:0:0) 10de:0df5:1028:04ca rev 161, Mem @ 0xf5000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
This indicates linux/X see the videocard at 0:0:2:0 as default card, lspci output tells us that's the intel card.
Your xorg.conf only mentions nvidia, if you want everythying to use the nvidia card , go into bios/uefi and set the nvidia card as primary card.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Please implement intel early microcode updates, see Microcode page in wiki.
Done:
$ dmesg | grep microcode
[ 0.000000] microcode: CPU0 microcode updated early to revision 0x29, date = 2013-06-12
[ 0.110876] microcode: CPU1 microcode updated early to revision 0x29, date = 2013-06-12
[ 0.134423] microcode: CPU2 microcode updated early to revision 0x29, date = 2013-06-12
[ 0.158073] microcode: CPU3 microcode updated early to revision 0x29, date = 2013-06-12
[ 0.698490] microcode: CPU0 sig=0x206a7, pf=0x10, revision=0x29
[ 0.698499] microcode: CPU1 sig=0x206a7, pf=0x10, revision=0x29
[ 0.698508] microcode: CPU2 sig=0x206a7, pf=0x10, revision=0x29
[ 0.698518] microcode: CPU3 sig=0x206a7, pf=0x10, revision=0x29
[ 0.698528] microcode: CPU4 sig=0x206a7, pf=0x10, revision=0x29
[ 0.698538] microcode: CPU5 sig=0x206a7, pf=0x10, revision=0x29
[ 0.698547] microcode: CPU6 sig=0x206a7, pf=0x10, revision=0x29
[ 0.698554] microcode: CPU7 sig=0x206a7, pf=0x10, revision=0x29
[ 0.698608] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
-----------------------------------------
Your xorg.conf only mentions nvidia, if you want everythying to use the nvidia card , go into bios/uefi and set the nvidia card as primary card.
I don't have that option in my Bios setup
---------------------------------------------------------------
Well, after reading again NVIDIA article (and the related articles) in the wiki, I edited my xorg.conf:
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "Yes"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
Option "AccelMethod" "sna"
Option "TearFree" "True"
Option "Tiling" "True"
Option "SwapbuffersWait" "True"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
Section "Files"
EndSection
And added these two lines in /usr/share/sddm/scripts/Xsetup (because I have SDDM)
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
After that, now I can view my laptop screen and my second monitor!
But... there's a problem, my second monitor displays its screen and my laptop screen together.
There is a screenshot:
http://s42.photobucket.com/user/danykar … u.png.html
PD: My xrandr output shows a VGA-0 connected and I don't have VGA cable connected
Screen 0: minimum 8 x 8, current 3286 x 1080, maximum 16384 x 16384
VGA-0 connected (normal left inverted right x axis y axis)
1024x768 60.00 +
800x600 72.19 60.32 56.25
640x480 59.94
512x384 60.00
400x300 72.19
320x240 60.05
HDMI-0 connected 1920x1080+1188+0 (normal left inverted right x axis y axis) 521mm x 293mm panning 3286x1080+0+0
1920x1080 60.00*+ 59.94 50.00 29.97 25.00 23.97 60.05 60.00 50.04
1680x1050 59.95
1600x900 60.00
1440x900 59.89
1366x768 59.79
1280x1024 75.02 60.02
1280x800 59.81
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32
720x576 50.00 50.08
720x480 59.94 60.05
640x480 75.00 72.81 59.94
LVDS-1-0 connected primary 1366x768+1920+0 (normal left inverted right x axis y axis) 344mm x 194mm
1366x768 60.00*+ 40.00
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
800x600 60.00 60.32 56.25
700x525 59.98
640x512 60.02
640x480 60.00 59.94
512x384 60.00
400x300 60.32 56.34
320x240 60.05
VGA-1-0 disconnected (normal left inverted right x axis y axis)
1024x768 (0x47) 65.000MHz
h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.36KHz
v: height 768 start 771 end 777 total 806 clock 60.00Hz
800x600 (0x4c) 40.000MHz
h: width 800 start 840 end 968 total 1056 skew 0 clock 37.88KHz
v: height 600 start 601 end 605 total 628 clock 60.32Hz
800x600 (0x4d) 36.000MHz
h: width 800 start 824 end 896 total 1024 skew 0 clock 35.16KHz
v: height 600 start 601 end 603 total 625 clock 56.25Hz
640x480 (0x51) 25.175MHz
h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz
v: height 480 start 490 end 492 total 525 clock 59.94Hz
512x384 (0x52) 32.500MHz
h: width 512 start 524 end 592 total 672 skew 0 clock 48.36KHz
v: height 384 start 385 end 388 total 403 clock 60.00Hz
320x240 (0x55) 12.587MHz
h: width 320 start 328 end 376 total 400 skew 0 clock 31.47KHz
v: height 240 start 245 end 246 total 262 clock 60.05Hz
Last edited by Dan14 (2015-11-10 18:35:54)
Offline
The xorg.conf is based on "Discrete Card as Primary GPU" section from the PRIME wiki page ?
VGA-0 appears to be a virtual screen that for some reason uses panning to combine both HDMI and LVDS output on 1 screen.
you'll prob have to define a specific output setup using Xrandr.
the first example on man xrandr looks like it could be useful for that,with a bit of tweaking.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
The xorg.conf is based on "Discrete Card as Primary GPU" section from the PRIME wiki page ?
It was from "NVIDIA Optimus" wiki page.
------------------------------------------------------------------
you'll prob have to define a specific output setup using Xrandr.
the first example on man xrandr looks like it could be useful for that,with a bit of tweaking.
Yes, that's right,
xrandr --output LVDS-1-0 --auto --rotate normal --pos 0x0 --output HDMI-0 --auto --rotate normal --left-of LVDS-1-0 --output VGA-0 --right-of LVDS-1-0
And finally it's working, thank you so much Lone_Wolf!
By the way, before put this thread as "[SOLVED]", if there is something wrong in my configuration or another way to make it work better, let me know please.
---------------------------------------------------------------------
This is my final configuration:
/etc/X11/xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 355.11 (buildmeister@swio-display-x86-rhel47-07) Wed Aug 26 17:15:49 PDT 2015
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Inactive "intel"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
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 "Samsung T24C301"
HorizSync 15.0 - 81.0
VertRefresh 24.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 525M"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
Option "AccelMethod" "sna"
Option "TearFree" "True"
Option "Tiling" "True"
Option "SwapbuffersWait" "True"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "HDMI-0: nvidia-auto-select +0+0, VGA-0: nvidia-auto-select @0x0 +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
Monitor "Monitor1"
EndSection
/usr/share/sddm/scripts/Xsetup:
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --dpi 96
xrandr --output LVDS-1-0 --auto --rotate normal --pos 0x0 --output HDMI-0 --auto --rotate normal --left-of LVDS-1-0 --output VGA-0 --right-of LVDS-1-0
Xrandr output:
Screen 0: minimum 8 x 8, current 4310 x 1096, maximum 16384 x 16384
VGA-0 connected 1024x768+3286+328 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 75.03*+ 70.07 60.00
1600x1200 65.00 60.00
1400x1050 74.76 59.98
1280x1024 75.02 60.02
1280x960 60.00
1152x864 75.00
832x624 74.55
800x600 75.00 72.19 60.32 56.25
700x525 74.76 59.98
640x480 75.00 72.81 59.94
512x384 70.07 60.00
400x300 72.19
320x240 72.81 60.05
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 521mm x 293mm
1920x1080 60.00*+ 59.94 50.00 29.97 25.00 23.97 60.05 60.00 50.04
1680x1050 59.95
1600x900 60.00
1440x900 59.89
1366x768 59.79
1280x1024 75.02 60.02
1280x800 59.81
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32
720x576 50.00 50.08
720x480 59.94 60.05
640x480 75.00 72.81 59.94
LVDS-1-0 connected primary 1366x768+1920+328 (normal left inverted right x axis y axis) 344mm x 194mm
1366x768 60.00*+ 40.00
1024x768 60.00
800x600 60.00 60.32 56.25
700x525 59.98
640x512 60.02
640x480 60.00 59.94
512x384 60.00
400x300 60.32 56.34
320x240 60.05
VGA-1-0 disconnected (normal left inverted right x axis y axis)
1024x768 (0x46) 65.000MHz
h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.36KHz
v: height 768 start 771 end 777 total 806 clock 60.00Hz
800x600 (0x48) 40.000MHz
h: width 800 start 840 end 968 total 1056 skew 0 clock 37.88KHz
v: height 600 start 601 end 605 total 628 clock 60.32Hz
800x600 (0x49) 36.000MHz
h: width 800 start 824 end 896 total 1024 skew 0 clock 35.16KHz
v: height 600 start 601 end 603 total 625 clock 56.25Hz
700x525 (0x4a) 61.000MHz
h: width 700 start 744 end 820 total 940 skew 0 clock 64.89KHz
v: height 525 start 526 end 532 total 541 clock 59.98Hz
640x480 (0x4d) 25.175MHz
h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz
v: height 480 start 490 end 492 total 525 clock 59.94Hz
512x384 (0x4e) 32.500MHz
h: width 512 start 524 end 592 total 672 skew 0 clock 48.36KHz
v: height 384 start 385 end 388 total 403 clock 60.00Hz
320x240 (0x51) 12.587MHz
h: width 320 start 328 end 376 total 400 skew 0 clock 31.47KHz
v: height 240 start 245 end 246 total 262 clock 60.05Hz
Last edited by Dan14 (2015-11-12 05:36:25)
Offline
Looking good, but there's 1 possible caveat :
Your setup is using Xinerama .
There have been reports that compositing WMs (Mutter/Gnome , Kwin/KDE , compton etc) don't work if Xinerama is used.
Would that be a problem for you ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thanks for the caveat, I just tried without Xinerama and it's working (of course with the same configuration in /usr/share/sddm/scripts/Xsetup)
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "Yes"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
Option "AccelMethod" "sna"
Option "TearFree" "True"
Option "Tiling" "True"
Option "SwapbuffersWait" "True"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
No problems for the moments, thanks for all Lone_Wolf!
Last edited by Dan14 (2015-11-15 06:01:26)
Offline