You are not logged in.

#26 2017-03-01 10:28:39

loqs
Member
Registered: 2014-03-06
Posts: 2,261

Re: [libglvnd] libglvnd support for mesa is now in testing

shvelven wrote:

I already have those three installed:

warning: lib32-nvidia-utils-378.13-1 is up to date -- reinstalling
warning: lib32-mesa-17.0.0-2 is up to date -- reinstalling
warning: lib32-libglvnd-0.1.1.20161028-1.1 is up to date -- reinstalling

Those packages versions are not the ones in testing.  Do you have the multilib testing repository enabled?

Offline

#27 2017-03-01 11:08:42

gw3rty
Member
From: Ukraine
Registered: 2017-02-28
Posts: 6

Re: [libglvnd] libglvnd support for mesa is now in testing

@loqs
The logs taken from radeon sytem. Xorg crashes with SEGFAULT. Reverting to stable repos solves the issue.
Xorg.0.log

[    14.672] (--) Log file renamed from "/var/log/Xorg.pid-613.log" to "/var/log/Xorg.0.log"
[    14.672] 
X.Org X Server 1.19.1
Release Date: 2017-01-11
[    14.672] X Protocol Version 11, Revision 0
[    14.672] Build Operating System: Linux 4.8.14-1-ARCH x86_64 
[    14.672] Current Operating System: Linux gw3rty 4.10.1-1-ARCH #1 SMP PREEMPT Sun Feb 26 21:08:53 UTC 2017 x86_64
[    14.672] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/sda1 rw scsi_mod.use_blk_mq=y dm_mod.use_blk_mq=y amdgpu.exp_hw_support=1 quiet scsi_mod.use_blk_mq=y dm_mod.use_blk_mq=y amdgpu.exp_hw_support=1
[    14.673] Build Date: 14 February 2017  03:36:07AM
[    14.673]  
[    14.673] Current version of pixman: 0.34.0
[    14.673] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    14.673] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    14.673] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar  1 12:41:46 2017
[    14.673] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    14.673] (==) No Layout section.  Using the first Screen section.
[    14.673] (==) No screen section available. Using defaults.
[    14.673] (**) |-->Screen "Default Screen Section" (0)
[    14.673] (**) |   |-->Monitor "<default monitor>"
[    14.673] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    14.673] (==) Automatically adding devices
[    14.673] (==) Automatically enabling devices
[    14.673] (==) Automatically adding GPU devices
[    14.673] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    14.673] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    14.673] 	Entry deleted from font path.
[    14.673] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[    14.673] (==) ModulePath set to "/usr/lib/xorg/modules"
[    14.673] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    14.673] (II) Loader magic: 0x822d60
[    14.673] (II) Module ABI versions:
[    14.673] 	X.Org ANSI C Emulation: 0.4
[    14.673] 	X.Org Video Driver: 23.0
[    14.673] 	X.Org XInput driver : 24.1
[    14.673] 	X.Org Server Extension : 10.0
[    14.674] (++) using VT number 1

[    14.674] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    14.675] (II) xfree86: Adding drm device (/dev/dri/card0)
[    14.676] (--) PCI:*(0:1:0:0) 1002:67b0:1043:046c rev 0, Mem @ 0xd0000000/268435456, 0xcf800000/8388608, 0xfea80000/262144, I/O @ 0x0000d000/256, BIOS @ 0x????????/131072
[    14.677] (II) Open ACPI successful (/var/run/acpid.socket)
[    14.677] (II) LoadModule: "glx"
[    14.677] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    14.678] (II) Module glx: vendor="X.Org Foundation"
[    14.678] 	compiled for 1.19.1, module version = 1.0.0
[    14.678] 	ABI class: X.Org Server Extension, version 10.0
[    14.678] (==) Matched ati as autoconfigured driver 0
[    14.678] (==) Matched ati as autoconfigured driver 1
[    14.678] (==) Matched modesetting as autoconfigured driver 2
[    14.678] (==) Matched fbdev as autoconfigured driver 3
[    14.679] (==) Matched vesa as autoconfigured driver 4
[    14.679] (==) Assigned the driver to the xf86ConfigLayout
[    14.679] (II) LoadModule: "ati"
[    14.679] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[    14.679] (II) Module ati: vendor="X.Org Foundation"
[    14.679] 	compiled for 1.19.1, module version = 7.8.99
[    14.679] 	Module class: X.Org Video Driver
[    14.679] 	ABI class: X.Org Video Driver, version 23.0
[    14.737] (II) LoadModule: "radeon"
[    14.737] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[    14.737] (II) Module radeon: vendor="X.Org Foundation"
[    14.737] 	compiled for 1.19.1, module version = 7.8.99
[    14.737] 	Module class: X.Org Video Driver
[    14.737] 	ABI class: X.Org Video Driver, version 23.0
[    14.737] (II) LoadModule: "modesetting"
[    14.738] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    14.738] (II) Module modesetting: vendor="X.Org Foundation"
[    14.738] 	compiled for 1.19.1, module version = 1.19.1
[    14.738] 	Module class: X.Org Video Driver
[    14.738] 	ABI class: X.Org Video Driver, version 23.0
[    14.738] (II) LoadModule: "fbdev"
[    14.738] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    14.738] (II) Module fbdev: vendor="X.Org Foundation"
[    14.738] 	compiled for 1.19.0, module version = 0.4.4
[    14.738] 	Module class: X.Org Video Driver
[    14.738] 	ABI class: X.Org Video Driver, version 23.0
[    14.738] (II) LoadModule: "vesa"
[    14.738] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    14.738] (II) Module vesa: vendor="X.Org Foundation"
[    14.738] 	compiled for 1.19.0, module version = 2.3.4
[    14.738] 	Module class: X.Org Video Driver
[    14.738] 	ABI class: X.Org Video Driver, version 23.0
[    14.738] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
	ATI Radeon Mobility X600 (M24), ATI FireMV 2400,
	ATI Radeon Mobility X300 (M24), ATI FireGL M24 GL,
	ATI Radeon X600 (RV380), ATI FireGL V3200 (RV380),
	ATI Radeon IGP320 (A3), ATI Radeon IGP330/340/350 (A4),
	ATI Radeon 9500, ATI Radeon 9600TX, ATI FireGL Z1, ATI Radeon 9800SE,
	ATI Radeon 9800, ATI FireGL X2, ATI Radeon 9600, ATI Radeon 9600SE,
	ATI Radeon 9600XT, ATI FireGL T2, ATI Radeon 9650, ATI FireGL RV360,
	ATI Radeon 7000 IGP (A4+), ATI Radeon 8500 AIW,
	ATI Radeon IGP320M (U1), ATI Radeon IGP330M/340M/350M (U2),
	ATI Radeon Mobility 7000 IGP, ATI Radeon 9000/PRO, ATI Radeon 9000,
	ATI Radeon X800 (R420), ATI Radeon X800PRO (R420),
	ATI Radeon X800SE (R420), ATI FireGL X3 (R420),
	ATI Radeon Mobility 9800 (M18), ATI Radeon X800 SE (R420),
	ATI Radeon X800XT (R420), ATI Radeon X800 VE (R420),
	ATI Radeon X850 (R480), ATI Radeon X850 XT (R480),
	ATI Radeon X850 SE (R480), ATI Radeon X850 PRO (R480),
	ATI Radeon X850 XT PE (R480), ATI Radeon Mobility M7,
	ATI Mobility FireGL 7800 M7, ATI Radeon Mobility M6,
	ATI FireGL Mobility 9000 (M9), ATI Radeon Mobility 9000 (M9),
	ATI Radeon 9700 Pro, ATI Radeon 9700/9500Pro, ATI FireGL X1,
	ATI Radeon 9800PRO, ATI Radeon 9800XT,
	ATI Radeon Mobility 9600/9700 (M10/M11),
	ATI Radeon Mobility 9600 (M10), ATI Radeon Mobility 9600 (M11),
	ATI FireGL Mobility T2 (M10), ATI FireGL Mobility T2e (M11),
	ATI Radeon, ATI FireGL 8700/8800, ATI Radeon 8500, ATI Radeon 9100,
	ATI Radeon 7500, ATI Radeon VE/7000, ATI ES1000,
	ATI Radeon Mobility X300 (M22), ATI Radeon Mobility X600 SE (M24C),
	ATI FireGL M22 GL, ATI Radeon X800 (R423), ATI Radeon X800PRO (R423),
	ATI Radeon X800LE (R423), ATI Radeon X800SE (R423),
	ATI Radeon X800 XTP (R430), ATI Radeon X800 XL (R430),
	ATI Radeon X800 SE (R430), ATI Radeon X800 (R430),
	ATI FireGL V7100 (R423), ATI FireGL V5100 (R423),
	ATI FireGL unknown (R423), ATI Mobility FireGL V5000 (M26),
	ATI Mobility Radeon X700 XL (M26), ATI Mobility Radeon X700 (M26),
	ATI Radeon X550XTX, ATI Radeon 9100 IGP (A5),
	ATI Radeon Mobility 9100 IGP (U3), ATI Radeon XPRESS 200,
	ATI Radeon XPRESS 200M, ATI Radeon 9250, ATI Radeon 9200,
	ATI Radeon 9200SE, ATI FireMV 2200, ATI Radeon X300 (RV370),
	ATI Radeon X600 (RV370), ATI Radeon X550 (RV370),
	ATI FireGL V3100 (RV370), ATI FireMV 2200 PCIE (RV370),
	ATI Radeon Mobility 9200 (M9+), ATI Mobility Radeon X800 XT (M28),
	ATI Mobility FireGL V5100 (M28), ATI Mobility Radeon X800 (M28),
	ATI Radeon X850, ATI unknown Radeon / FireGL (R480),
	ATI Radeon X800XT (R423), ATI FireGL V5000 (RV410),
	ATI Radeon X700 XT (RV410), ATI Radeon X700 PRO (RV410),
	ATI Radeon X700 SE (RV410), ATI Radeon X700 (RV410),
	ATI Radeon X1800, ATI Mobility Radeon X1800 XT,
	ATI Mobility Radeon X1800, ATI Mobility FireGL V7200,
	ATI FireGL V7200, ATI FireGL V5300, ATI Mobility FireGL V7100,
	ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
	ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
	ATI Mobility Radeon X1400, ATI Radeon X1550 64-bit,
	ATI Mobility Radeon X1300, ATI Radeon X1300, ATI FireGL V3300,
	ATI FireGL V3350, ATI Mobility Radeon X1450,
	ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
	ATI FireMV 2250, ATI Radeon X1650, ATI Mobility FireGL V5200,
	ATI Mobility Radeon X1600, ATI Radeon X1300 XT/X1600 Pro,
	ATI FireGL V3400, ATI Mobility FireGL V5250,
	ATI Mobility Radeon X1700, ATI Mobility Radeon X1700 XT,
	ATI FireGL V5200, ATI Radeon X2300HD, ATI Mobility Radeon HD 2300,
	ATI Radeon X1950, ATI Radeon X1900, ATI AMD Stream Processor,
	ATI RV560, ATI Mobility Radeon X1900, ATI Radeon X1950 GT, ATI RV570,
	ATI FireGL V7400, ATI Radeon 9100 PRO IGP,
	ATI Radeon Mobility 9200 IGP, ATI Radeon X1200, ATI RS740,
	ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro,
	ATI Radeon HD 2900 GT, ATI FireGL V8650, ATI FireGL V8600,
	ATI FireGL V7600, ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
	ATI Radeon HD 4850 x2, ATI FirePro V8750 (FireGL),
	ATI FirePro V7760 (FireGL), ATI Mobility RADEON HD 4850,
	ATI Mobility RADEON HD 4850 X2, ATI FirePro RV770,
	AMD FireStream 9270, AMD FireStream 9250, ATI FirePro V8700 (FireGL),
	ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
	ATI FirePro M7750, ATI M98, ATI Mobility Radeon HD 4650,
	ATI Radeon RV730 (AGP), ATI Mobility Radeon HD 4670,
	ATI FirePro M5750, ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
	ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
	ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
	ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
	ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
	ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI RV610,
	ATI Radeon HD 2400 XT, ATI Radeon HD 2400 Pro,
	ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, ATI Radeon HD 2350,
	ATI Mobility Radeon HD 2400 XT, ATI Mobility Radeon HD 2400,
	ATI RADEON E2400, ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
	ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
	ATI Mobility Radeon HD 3850 X2, ATI Mobility Radeon HD 3870,
	ATI Mobility Radeon HD 3870 X2, ATI Radeon HD3870 X2,
	ATI FireGL V7700, ATI Radeon HD3690, AMD Firestream 9170,
	ATI Radeon HD 4550, ATI Radeon RV710, ATI Radeon HD 4350,
	ATI Mobility Radeon 4300 Series, ATI Mobility Radeon 4500 Series,
	ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
	ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
	ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
	ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
	ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
	ATI FireGL V3600, ATI Radeon HD 2600 LE,
	ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
	ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
	ATI Radeon HD 3450, ATI Radeon HD 3430, ATI FirePro V3700,
	ATI FireMV 2450, ATI Radeon HD 3600 Series, ATI Radeon HD 3650 AGP,
	ATI Radeon HD 3600 PRO, ATI Radeon HD 3600 XT,
	ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
	ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
	ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
	ATI Radeon HD 3300 Graphics, ATI Radeon 3000 Graphics, SUMO, SUMO2,
	ATI Radeon HD 4200, ATI Radeon 4100, ATI Mobility Radeon HD 4200,
	ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
	AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics,
	AMD Radeon HD 6300 Series Graphics,
	AMD Radeon HD 6200 Series Graphics, PALM, CYPRESS,
	ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
	AMD Firestream 9350, ATI Radeon HD 5800 Series,
	ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
	ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
	ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
	ATI Radeon HD 5670, ATI Radeon HD 5570, ATI Radeon HD 5500 Series,
	REDWOOD, ATI Mobility Radeon Graphics, CEDAR, ATI FirePro 2270,
	ATI Radeon HD 5450, CAYMAN, AMD Radeon HD 6900 Series,
	AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS,
	AMD Radeon HD 6800 Series, AMD Radeon HD 6700 Series, TURKS, CAICOS,
	ARUBA, TAHITI, PITCAIRN, VERDE, OLAND, HAINAN, BONAIRE, KABINI,
	MULLINS, KAVERI, HAWAII
[    14.739] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    14.739] (II) FBDEV: driver for framebuffer: fbdev
[    14.739] (II) VESA: driver for VESA chipsets: vesa
[    14.740] (II) [KMS] Kernel modesetting enabled.
[    14.740] (WW) Falling back to old probe method for modesetting
[    14.740] (WW) Falling back to old probe method for fbdev
[    14.740] (II) Loading sub module "fbdevhw"
[    14.740] (II) LoadModule: "fbdevhw"
[    14.740] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    14.740] (II) Module fbdevhw: vendor="X.Org Foundation"
[    14.740] 	compiled for 1.19.1, module version = 0.0.2
[    14.740] 	ABI class: X.Org Video Driver, version 23.0
[    14.740] (WW) Falling back to old probe method for vesa
[    14.740] (II) RADEON(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    14.740] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
[    14.740] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    14.740] (==) RADEON(0): Default visual is TrueColor
[    14.740] (==) RADEON(0): RGB weight 888
[    14.740] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[    14.740] (--) RADEON(0): Chipset: "HAWAII" (ChipID = 0x67b0)
[    14.741] (II) Loading sub module "fb"
[    14.741] (II) LoadModule: "fb"
[    14.741] (II) Loading /usr/lib/xorg/modules/libfb.so
[    14.741] (II) Module fb: vendor="X.Org Foundation"
[    14.741] 	compiled for 1.19.1, module version = 1.0.0
[    14.741] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    14.741] (II) Loading sub module "dri2"
[    14.741] (II) LoadModule: "dri2"
[    14.741] (II) Module "dri2" already built-in
[    14.741] (II) Loading sub module "glamoregl"
[    14.741] (II) LoadModule: "glamoregl"
[    14.741] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    14.748] (II) Module glamoregl: vendor="X.Org Foundation"
[    14.748] 	compiled for 1.19.1, module version = 1.0.0
[    14.748] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    14.748] (II) glamor: OpenGL accelerated X.org driver based.
[    14.820] (II) glamor: EGL version 1.4 (DRI2):
[    14.825] (II) RADEON(0): glamor detected, initialising EGL layer.
[    14.825] (II) RADEON(0): KMS Color Tiling: enabled
[    14.825] (II) RADEON(0): KMS Color Tiling 2D: enabled
[    14.825] (==) RADEON(0): TearFree property default: auto
[    14.825] (II) RADEON(0): KMS Pageflipping: enabled
[    14.850] (II) RADEON(0): Output DisplayPort-0 has no monitor section
[    14.851] (II) RADEON(0): Output HDMI-0 has no monitor section
[    14.852] (II) RADEON(0): Output DVI-0 has no monitor section
[    14.853] (II) RADEON(0): Output DVI-1 has no monitor section
[    14.883] (II) RADEON(0): EDID for output DisplayPort-0
[    14.883] (II) RADEON(0): Manufacturer: AUS  Model: 27a1  Serial#: 66320
[    14.883] (II) RADEON(0): Year: 2016  Week: 25
[    14.883] (II) RADEON(0): EDID Version: 1.4
[    14.883] (II) RADEON(0): Digital Display Input
[    14.883] (II) RADEON(0): 10 bits per channel
[    14.883] (II) RADEON(0): Digital interface is DisplayPort
[    14.883] (II) RADEON(0): Max Image Size [cm]: horiz.: 60  vert.: 34
[    14.883] (II) RADEON(0): Gamma: 2.20
[    14.883] (II) RADEON(0): DPMS capabilities: Off
[    14.883] (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 YCrCb 4:2:2
[    14.883] (II) RADEON(0): First detailed timing is preferred mode
[    14.883] (II) RADEON(0): Preferred mode is native pixel format and refresh rate
[    14.883] (II) RADEON(0): Display is continuous-frequency
[    14.883] (II) RADEON(0): redX: 0.653 redY: 0.332   greenX: 0.292 greenY: 0.614
[    14.883] (II) RADEON(0): blueX: 0.144 blueY: 0.056   whiteX: 0.313 whiteY: 0.329
[    14.883] (II) RADEON(0): Supported established timings:
[    14.883] (II) RADEON(0): 720x400@70Hz
[    14.883] (II) RADEON(0): 640x480@60Hz
[    14.883] (II) RADEON(0): 800x600@56Hz
[    14.883] (II) RADEON(0): 800x600@60Hz
[    14.883] (II) RADEON(0): 832x624@75Hz
[    14.883] (II) RADEON(0): 1024x768@60Hz
[    14.883] (II) RADEON(0): Manufacturer's mask: 0
[    14.883] (II) RADEON(0): Supported standard timings:
[    14.883] (II) RADEON(0): #0: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
[    14.883] (II) RADEON(0): #1: hsize: 1280  vsize 960  refresh: 60  vid: 16513
[    14.883] (II) RADEON(0): #2: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    14.883] (II) RADEON(0): #3: hsize: 1440  vsize 900  refresh: 60  vid: 149
[    14.883] (II) RADEON(0): #4: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[    14.883] (II) RADEON(0): #5: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[    14.883] (II) RADEON(0): #6: hsize: 1280  vsize 800  refresh: 60  vid: 129
[    14.883] (II) RADEON(0): Supported detailed timing:
[    14.883] (II) RADEON(0): clock: 533.2 MHz   Image Size:  596 x 335 mm
[    14.883] (II) RADEON(0): h_active: 3840  h_sync: 3888  h_sync_end 3920 h_blank_end 4000 h_border: 0
[    14.883] (II) RADEON(0): v_active: 2160  v_sync: 2163  v_sync_end 2168 v_blanking: 2222 v_border: 0
[    14.883] (II) RADEON(0): Supported detailed timing:
[    14.883] (II) RADEON(0): clock: 262.8 MHz   Image Size:  596 x 335 mm
[    14.883] (II) RADEON(0): h_active: 3840  h_sync: 3888  h_sync_end 3920 h_blank_end 4000 h_border: 0
[    14.883] (II) RADEON(0): v_active: 2160  v_sync: 2163  v_sync_end 2168 v_blanking: 2191 v_border: 0
[    14.883] (II) RADEON(0): Ranges: V min: 35 V max: 60 Hz, H min: 135 H max: 135 kHz, PixClock max 605 MHz
[    14.883] (II) RADEON(0): Monitor name: ASUS PB27U
[    14.883] (II) RADEON(0): Supported detailed timing:
[    14.883] (II) RADEON(0): clock: 241.5 MHz   Image Size:  596 x 335 mm
[    14.883] (II) RADEON(0): h_active: 2560  h_sync: 2608  h_sync_end 2640 h_blank_end 2720 h_border: 0
[    14.883] (II) RADEON(0): v_active: 1440  v_sync: 1443  v_sync_end 1448 v_blanking: 1481 v_border: 0
[    14.883] (II) RADEON(0): Supported detailed timing:
[    14.883] (II) RADEON(0): clock: 268.5 MHz   Image Size:  596 x 335 mm
[    14.883] (II) RADEON(0): h_active: 2560  h_sync: 2608  h_sync_end 2640 h_blank_end 2720 h_border: 0
[    14.883] (II) RADEON(0): v_active: 1600  v_sync: 1603  v_sync_end 1609 v_blanking: 1646 v_border: 0
[    14.883] (II) RADEON(0): Supported detailed timing:
[    14.883] (II) RADEON(0): clock: 25.2 MHz   Image Size:  596 x 335 mm
[    14.883] (II) RADEON(0): h_active: 640  h_sync: 688  h_sync_end 784 h_blank_end 800 h_border: 0
[    14.883] (II) RADEON(0): v_active: 350  v_sync: 409  v_sync_end 411 v_blanking: 449 v_border: 0
[    14.883] (II) RADEON(0): Number of EDID sections to follow: 1
[    14.883] (II) RADEON(0): EDID (in hex):
[    14.883] (II) RADEON(0): 	00ffffffffffff0006b3a12710030100
[    14.883] (II) RADEON(0): 	191a0104b53c22783b4dd5a7554a9d24
[    14.883] (II) RADEON(0): 	0e5054a32800d1c0814081809500b300
[    14.883] (II) RADEON(0): 	81c0810001014dd000a0f0703e803020
[    14.883] (II) RADEON(0): 	3500544f2100001aa36600a0f0701f80
[    14.884] (II) RADEON(0): 	30203500544f2100001a000000fd0023
[    14.884] (II) RADEON(0): 	3c87873c010a202020202020000000fc
[    14.884] (II) RADEON(0): 	00415355532050423237550a202001c1
[    14.884] (II) RADEON(0): 	020319714c0203111213041f900e0f1d
[    14.884] (II) RADEON(0): 	1e2309170783010000565e00a0a0a029
[    14.884] (II) RADEON(0): 	5030203500544f2100001ee26800a0a0
[    14.884] (II) RADEON(0): 	402e6030203600544f2100001ad60980
[    14.884] (II) RADEON(0): 	a0205e63103060b20c544f2100001a00
[    14.884] (II) RADEON(0): 	00000000000000000000000000000000
[    14.884] (II) RADEON(0): 	00000000000000000000000000000000
[    14.884] (II) RADEON(0): 	000000000000000000000000000000c5
[    14.884] (II) RADEON(0): Printing probed modes for output DisplayPort-0
[    14.884] (II) RADEON(0): Modeline "3840x2160"x60.0  533.25  3840 3888 3920 4000  2160 2163 2168 2222 +hsync -vsync (133.3 kHz eP)
[    14.884] (II) RADEON(0): Modeline "3840x2160"x30.0  262.75  3840 3888 3920 4000  2160 2163 2168 2191 +hsync -vsync (65.7 kHz e)
[    14.884] (II) RADEON(0): Modeline "2560x1600"x60.0  268.50  2560 2608 2640 2720  1600 1603 1609 1646 +hsync -vsync (98.7 kHz e)
[    14.884] (II) RADEON(0): Modeline "2560x1440"x60.0  241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync +vsync (88.8 kHz e)
[    14.884] (II) RADEON(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 -hsync -vsync (67.5 kHz e)
[    14.884] (II) RADEON(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[    14.884] (II) RADEON(0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    14.884] (II) RADEON(0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[    14.884] (II) RADEON(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[    14.884] (II) RADEON(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    14.884] (II) RADEON(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[    14.884] (II) RADEON(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[    14.884] (II) RADEON(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz e)
[    14.884] (II) RADEON(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    14.884] (II) RADEON(0): Modeline "1280x720"x50.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[    14.884] (II) RADEON(0): Modeline "1280x720"x59.9   74.18  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    14.884] (II) RADEON(0): Modeline "1440x576"x50.0   54.00  1440 1464 1592 1728  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    14.884] (II) RADEON(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    14.884] (II) RADEON(0): Modeline "1440x480"x60.0   54.05  1440 1472 1596 1716  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    14.884] (II) RADEON(0): Modeline "1440x480"x59.9   54.00  1440 1472 1596 1716  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    14.884] (II) RADEON(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[    14.884] (II) RADEON(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    14.884] (II) RADEON(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    14.884] (II) RADEON(0): Modeline "720x576"x50.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    14.884] (II) RADEON(0): Modeline "720x480"x60.0   27.03  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    14.884] (II) RADEON(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    14.884] (II) RADEON(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    14.884] (II) RADEON(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    14.884] (II) RADEON(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    14.884] (II) RADEON(0): Modeline "640x350"x70.1   25.18  640 688 784 800  350 409 411 449 +hsync -vsync (31.5 kHz e)
[    14.885] (II) RADEON(0): EDID for output HDMI-0
[    14.886] (II) RADEON(0): EDID for output DVI-0
[    14.887] (II) RADEON(0): EDID for output DVI-1
[    14.887] (II) RADEON(0): Output DisplayPort-0 connected
[    14.887] (II) RADEON(0): Output HDMI-0 disconnected
[    14.887] (II) RADEON(0): Output DVI-0 disconnected
[    14.887] (II) RADEON(0): Output DVI-1 disconnected
[    14.887] (II) RADEON(0): Using exact sizes for initial modes
[    14.887] (II) RADEON(0): Output DisplayPort-0 using initial mode 3840x2160 +0+0
[    14.887] (II) RADEON(0): mem size init: gart size :7fb69000 vram size: s:100000000 visible:d93b000
[    14.887] (++) RADEON(0): DPI set to (163, 163)
[    14.887] (==) RADEON(0): Using gamma correction (1.0, 1.0, 1.0)
[    14.887] (II) Loading sub module "ramdac"
[    14.887] (II) LoadModule: "ramdac"
[    14.887] (II) Module "ramdac" already built-in
[    14.887] (II) UnloadModule: "modesetting"
[    14.887] (II) Unloading modesetting
[    14.887] (II) UnloadModule: "fbdev"
[    14.887] (II) Unloading fbdev
[    14.888] (II) UnloadSubModule: "fbdevhw"
[    14.888] (II) Unloading fbdevhw
[    14.888] (II) UnloadModule: "vesa"
[    14.888] (II) Unloading vesa
[    14.888] (--) Depth 24 pixmap format is 32 bpp
[    14.888] (II) RADEON(0): [DRI2] Setup complete
[    14.888] (II) RADEON(0): [DRI2]   DRI driver: radeonsi
[    14.888] (II) RADEON(0): [DRI2]   VDPAU driver: radeonsi
[    14.888] (II) RADEON(0): Front buffer size: 32640K
[    14.888] (II) RADEON(0): VRAM usage limit set to 170737K
[    14.888] (II) RADEON(0): SYNC extension fences enabled
[    14.888] (II) RADEON(0): Present extension enabled
[    14.888] (==) RADEON(0): DRI3 enabled
[    14.888] (==) RADEON(0): Backing store enabled
[    14.888] (II) RADEON(0): Direct rendering enabled
[    15.013] (II) RADEON(0): Use GLAMOR acceleration.
[    15.013] (II) RADEON(0): Acceleration enabled
[    15.013] (==) RADEON(0): DPMS enabled
[    15.013] (==) RADEON(0): Silken mouse enabled
[    15.013] (II) RADEON(0): Set up textured video (glamor)
[    15.013] (II) RADEON(0): [XvMC] Associated with GLAMOR Textured Video.
[    15.013] (II) RADEON(0): [XvMC] Extension initialized.
[    15.013] (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    15.014] (--) RandR disabled
[    15.020] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    15.020] (II) AIGLX: enabled GLX_ARB_create_context
[    15.020] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    15.020] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[    15.020] (II) AIGLX: enabled GLX_INTEL_swap_event
[    15.020] (II) AIGLX: enabled GLX_SGI_swap_control
[    15.020] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    15.020] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    15.020] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[    15.020] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    15.020] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[    15.021] (II) AIGLX: Loaded and initialized radeonsi
[    15.021] (II) GLX: Initialized DRI2 GL provider for screen 0
[    15.022] XXX fail to create fbo.
[    15.022] (EE) 
[    15.022] (EE) Backtrace:
[    15.022] (EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x139) [0x59bdb9]
[    15.022] (EE) 1: /usr/lib/libpthread.so.0 (__restore_rt+0x0) [0x7f513e23907f]
[    15.023] (EE) 2: /usr/lib/xorg/modules/libglamoregl.so (glamor_set_screen_pixmap+0x53) [0x7f5138af7193]
[    15.023] (EE) 3: /usr/lib/xorg/modules/libglamoregl.so (glamor_egl_create_textured_screen+0x46) [0x7f5138af55f6]
[    15.023] (EE) 4: /usr/lib/xorg/modules/drivers/radeon_drv.so (_init+0x4a826) [0x7f5139a19c06]
[    15.023] (EE) 5: /usr/lib/xorg/modules/drivers/radeon_drv.so (_init+0x3d4f8) [0x7f51399ff378]
[    15.023] (EE) 6: /usr/lib/xorg-server/Xorg (InitExtensions+0x5be) [0x4ab4be]
[    15.024] (EE) 7: /usr/lib/xorg-server/Xorg (InitFonts+0x2c5) [0x43a775]
[    15.024] (EE) 8: /usr/lib/libc.so.6 (__libc_start_main+0xf1) [0x7f513deaa291]
[    15.024] (EE) 9: /usr/lib/xorg-server/Xorg (_start+0x2a) [0x42457a]
[    15.025] (EE) 10: ? (?+0x2a) [0x2a]
[    15.025] (EE) 
[    15.025] (EE) Segmentation fault at address 0x4
[    15.025] (EE) 
Fatal server error:
[    15.025] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    15.025] (EE) 
[    15.025] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    15.025] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    15.025] (EE) 
[    15.025] (II) AIGLX: Suspending AIGLX clients for VT switch
[    15.040] (EE) Server terminated with error (1). Closing log file.

All configs/logs in dropbox

Offline

#28 2017-03-01 14:02:10

lonaowna
Member
Registered: 2013-03-25
Posts: 28

Re: [libglvnd] libglvnd support for mesa is now in testing

@gw3rty, are you using radeon or amdgpu? Your kernel command line contains "amdgpu.exp_hw_support=1", but the rest of the logs seem to point to radeon. What happens when you remove amdgpu.exp_hw_support=1, and not blacklist radeon if you're doing that.

Offline

#29 2017-03-01 21:23:04

presianbg
Member
Registered: 2016-04-18
Posts: 12

Re: [libglvnd] libglvnd support for mesa is now in testing

Dear All,

Before doing any changes my working setup was without bumblebee, just xrandr commands in xinitrc and lightdm.conf:


https://wiki.archlinux.org/index.php/NV … ing_nvidia

Somehow I ended up with KERNEL PANIC right before X start.

What I did :

1. Uncommented following in pacman.conf:

 
[testing]
Include = /etc/pacman.d/mirrorlist

[multilib-testing]
Include = /etc/pacman.d/mirrorlist

2. Commented in .xinitrc :

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

and in /etc/lightdm/lightdm.conf:

display-setup-script=/etc/lightdm/display_setup.sh

Where /etc/lightdm/display_setup.sh:

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

3. Removed my xorg.conf and copied 10-nvidia-drm-outputclass.conf  in /etc/X11/:

Section "OutputClass"
    Identifier "intel"
    MatchDriver "i915"
    Driver "modesetting"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    Option "PrimaryGPU" "yes"
    ModulePath "/usr/lib/nvidia/xorg"
EndSection

4. Updated with

 pacman -Syyu 

, where some packages (mesa, nvidia and kernel related) were updated / replaced.

My question is - what I have missed?

I'm on nvidia optimus laptop - (ASUS G551JM).

Many thanks in advance!

Last edited by presianbg (2017-03-01 21:26:30)

Offline

#30 2017-03-01 21:38:36

loqs
Member
Registered: 2014-03-06
Posts: 2,261

Re: [libglvnd] libglvnd support for mesa is now in testing

@presianbg copying 10-nvidia-drm-outputclass.conf  to /etc/X11/ should have no effect as Xorg should read it in its original location as well.
Did you reboot after the kernel upgrade so the modules matched the running kernel?
Did you capture any output from the kernel panic?

Offline

#31 2017-03-01 21:55:43

shvelven
Member
Registered: 2017-03-01
Posts: 3

Re: [libglvnd] libglvnd support for mesa is now in testing

loqs wrote:

Those packages versions are not the ones in testing.  Do you have the multilib testing repository enabled?

Whoops. After enabling the correct repositories, pacman -Syu removed lib32-nvidia-libgl as expected.

sddm still hangs unless I comment out the Driver line in 20-nvidia.conf. Should I even worry about it? I only ask because the config file generated by nvidia-settings includes it so I assume it's supposed to be there:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 378.13  (builduser@anthraxx)  Thu Feb 16 23:29:17 CET 2017

Section "Device"
    Identifier     "Device0"
    #Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 960M"
    
    Option         "DPI" "96 x 96"
    Option         "Coolbits" "12"
    Option         "TripleBuffer" "1"
EndSection

(this is the entire contents of the only file in /etc/X11/xorg.conf.d/)


Here are some more possibly relevant packages:

pacman -Qs libgl
local/lib32-libglvnd 0.2.999+g4ba53457-1
    The GL Vendor-Neutral Dispatch library
local/lib32-mesa 17.0.0-3
    an open-source implementation of the OpenGL specification (32-bit)
local/lib32-nvidia-utils 378.13-2
    NVIDIA drivers utilities (32-bit)
local/libglade 2.6.4-5
    Allows you to load glade interface files in a program at runtime
local/libglvnd 0.2.999+g4ba53457-1
    The GL Vendor-Neutral Dispatch library
local/mesa 17.0.0-3
    an open-source implementation of the OpenGL specification
local/nvidia-utils 378.13-5
    NVIDIA drivers utilities
pacman -Qs nvidia
local/lib32-nvidia-utils 378.13-2
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.1.1-2
    Nvidia VDPAU library
local/libxnvctrl 378.13-1
    NVIDIA NV-CONTROL X extension
local/nvidia 378.13-3
    NVIDIA drivers for linux
local/nvidia-settings 378.13-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 378.13-5
    NVIDIA drivers utilities
local/xf86-video-nouveau 1.0.13-2 (xorg-drivers)
    Open Source 2D acceleration driver for nVidia cards
pacman -Qs intel
local/intel-tbb 2017_20161128-1
    High level abstract threading library
local/intel-ucode 20161104-1
    Microcode update files for Intel CPUs
local/lib32-mesa 17.0.0-3
    an open-source implementation of the OpenGL specification (32-bit)
local/mesa 17.0.0-3
    an open-source implementation of the OpenGL specification
local/xf86-video-intel 1:2.99.917+760+ge9cd8c21-1 (xorg-drivers)
    X.org Intel i810/i830/i915/945G/G965+ video drivers

Offline

#32 2017-03-01 22:50:11

gw3rty
Member
From: Ukraine
Registered: 2017-02-28
Posts: 6

Re: [libglvnd] libglvnd support for mesa is now in testing

lonaowna wrote:

@gw3rty, are you using radeon or amdgpu? Your kernel command line contains "amdgpu.exp_hw_support=1", but the rest of the logs seem to point to radeon. What happens when you remove amdgpu.exp_hw_support=1, and not blacklist radeon if you're doing that.

I was using radeon for quite a long time without blacklisting (I was tired to recompile kernel with SI support enabled).
However, it's been enabled by default in recent versions. So, I blacklisted radeon, and tried to boot with amdgpu.
Nope. Same issue. I see only amdgpu's resolution changing artifacts for 1 seconds and getting the SEGFAULT.

Here is dmesg/Xorg logs with amdgpu and radeon. Both gave me same effect - Xorg is unable to start.
Let me know if other configs/logs are required.

And I'm using kde-unstable as well. But I think, that can't be an issue.

Last edited by gw3rty (2017-03-01 22:53:55)

Offline

#33 2017-03-02 00:10:32

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,751
Website

Re: [libglvnd] libglvnd support for mesa is now in testing

shvelven wrote:

I only ask because the config file generated by nvidia-settings includes it

Though not a specific answer to your question, the nVidia-generated xorg.conf is usually not much worth using.


Matt

"It is very difficult to educate the educated."

Offline

#34 2017-03-02 05:59:05

presianbg
Member
Registered: 2016-04-18
Posts: 12

Re: [libglvnd] libglvnd support for mesa is now in testing

loqs wrote:

@presianbg copying 10-nvidia-drm-outputclass.conf  to /etc/X11/ should have no effect as Xorg should read it in its original location as well.
Did you reboot after the kernel upgrade so the modules matched the running kernel?
Did you capture any output from the kernel panic?

Hi,

What do you mean by "original location" ? What package should create this 10-nvidia-drm-outputclass.conf and where?
Should /etc/X11 and /etc/X11/xorg.conf.d/  be empty?

Yep, I rebooted the machine after the kernel upgrade (4.10).


Nope, I couldn't capture anything besides usual boot log after the GRUB. My screen went pitch black (even backlight wasn't working).
I said KERNEL PANIC, because my laptop and mouse started blinking like a X-mass tree, also couldn't switch to different TTY smile

Somehow I managed  to bring my machine back to life - booted in linux-ck-haswell kernel which was not affected by the changes (I deleted nvidia-ck-haswell package before that).

I have two questions regarding this mesa (libglvnd) update:

1. What bare minimum of packages I need to run it properly? If it's possible to provide names and versions of the packages, because now i have complete mess on this system.

2. Also what "out-of-the-box" optimus should mean with this changes? Is it expected to work like in Windows (driver controlled switch between integrated and discrete) or
we still need something  lile optirun/primusrun + bbswitch or DRI_PRIME=1?


Many thanks in advance!

Have a good day smile

Last edited by presianbg (2017-03-02 06:01:05)

Offline

#35 2017-03-02 09:41:54

cotko
Member
Registered: 2010-02-10
Posts: 16

Re: [libglvnd] libglvnd support for mesa is now in testing

presianbg wrote:

...
What do you mean by "original location" ? What package should create this 10-nvidia-drm-outputclass.conf and where?
Should /etc/X11 and /etc/X11/xorg.conf.d/  be empty?
...

check in /usr/share/X11/xorg.conf.d, nvidia-utils contains it: https://www.archlinux.org/packages/extr … dia-utils/

Last edited by cotko (2017-03-02 09:42:27)

Offline

#36 2017-03-02 17:15:06

pedrogabriel
Member
Registered: 2014-08-17
Posts: 27

Re: [libglvnd] libglvnd support for mesa is now in testing

With bumblebee/bbswitch my Plasma lost transparency and is tearing a lot.

Then I tried the following:
-Adding the /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass file
-Removing bbswitch and bumblebee
-Tried support for nvidia-drm
-Added xrandr lines to /usr/share/sddm/scripts/Xsetup
-Reboot.
After that my X started to freeze with seconds of use.

Last edited by pedrogabriel (2017-03-02 17:16:40)

Offline

#37 2017-03-02 18:37:17

loqs
Member
Registered: 2014-03-06
Posts: 2,261

Re: [libglvnd] libglvnd support for mesa is now in testing

@pedrogabriel Is there a core dump for the crash?  Core_dump#Examining_a_core_dump
If there is please post the backtrace for the core dump along with the output of `coredumpctl info` for the core dump.
Does the issue also occurr if you use startx in place of sddm?
/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf should already contain the contents you added to /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass it should not have any effect but is unneeded.

Offline

#38 2017-03-02 18:54:55

pedrogabriel
Member
Registered: 2014-08-17
Posts: 27

Re: [libglvnd] libglvnd support for mesa is now in testing

No, there is no coredump.
It just freezes forever even for switch tty, so  I can nott even dmesg.
To try startx I should put the xrandr lines in the .xinitrc as I did in the SDDM?
Should I enable the nvidia drm as in NVIDIA#DRM_kernel_mode_setting ?

Edit 1:
It worked with the startx (withouth the nvidia DRM, will try with it next).
The transparency is still not working through, and the tearing is so bad as before.

Edit 2:
Cannot make it work with the nvidia drm thing, it just hangs forever in the plasma init screen.

Edit 3:
Withouth the NVIDIA#DRM_kernel_mode_setting , SDDM worked just fine.

Edit 4:
I think the transparency thing is a kwin problem, trying to do:

 kwin_x11 --replace & 

results in:

 
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setWindow: Painter not active
QPainter::setClipRect: Painter not active
QPainter::save: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setClipRect: Painter not active
QPainter::drawRects: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::save: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::save: Painter not active
QPainter::translate: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::save: Painter not active
QPainter::translate: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::translate: Painter not active
QPainter::scale: Painter not active
QPainter::translate: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::save: Painter not active
QPainter::translate: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::translate: Painter not active
QPainter::scale: Painter not active
QPainter::translate: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setPen: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::save: Painter not active
QPainter::translate: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::translate: Painter not active
QPainter::scale: Painter not active
QPainter::translate: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::save: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setBrush: Painter not active
QPainter::setPen: Painter not active
QPainter::drawRects: Painter not active
QPainter::restore: Unbalanced save/restore
OpenGL vendor string:                   NVIDIA Corporation
OpenGL renderer string:                 GeForce GT 720M/PCIe/SSE2
OpenGL version string:                  3.1.0 NVIDIA 378.13
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver:                                 NVIDIA
Driver version:                         378.13
GPU class:                              Unknown
OpenGL version:                         3.1
GLSL version:                           1.40
X server version:                       1.19.1
Linux kernel version:                   4.10.1
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
kwin_core: Failed to initialize compositing, compositing disabled
QXcbConnection: XCB error: 3 (BadWindow), sequence: 1401, resource id: 707, major code: 3 (GetWindowAttributes), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1402, resource id: 707, major code: 14 (GetGeometry), minor code: 0
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/home/pedro/.local/share", "/usr/share", "/usr/local/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/home/pedro/.local/share", "/usr/share", "/usr/local/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/home/pedro/.local/share", "/usr/share", "/usr/local/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/home/pedro/.local/share", "/usr/share", "/usr/local/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/home/pedro/.local/share", "/usr/share", "/usr/local/share")
QXcbConnection: XCB error: 3 (BadWindow), sequence: 3879, resource id: 62914565, major code: 18 (ChangeProperty), minor code: 0

Edit 5:
Wayland plasma session works pretty well (which I consider pretty strange, since wayland is not suppose to work with nvidia proprietary driver yet), withouth any tearing  and with transparency working. Maybe kwin_X11 needs a patch to work under libglvnd?

Last edited by pedrogabriel (2017-03-02 21:04:33)

Offline

#39 2017-03-03 07:41:23

QuartzDragon
Member
Registered: 2012-12-24
Posts: 15

Re: [libglvnd] libglvnd support for mesa is now in testing

pedrogabriel wrote:

Edit 5:
Wayland plasma session works pretty well (which I consider pretty strange, since wayland is not suppose to work with nvidia proprietary driver yet), withouth any tearing  and with transparency working. Maybe kwin_X11 needs a patch to work under libglvnd?

This means that Plasma is using your Intel iGPU. Your Xrandr and other Xorg settings won't apply to the Wayland session.

pedrogabriel wrote:

With bumblebee/bbswitch my Plasma lost transparency and is tearing a lot.

Then I tried the following:
-Adding the /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass file
-Removing bbswitch and bumblebee
-Tried support for nvidia-drm
-Added xrandr lines to /usr/share/sddm/scripts/Xsetup
-Reboot.
After that my X started to freeze with seconds of use.

Revert these changes ~ your Plasma session isn't broken. Compositing was merely disabled. With the Intel iGPU, to reenable, go to System Settings -> Display and Monitor -> Compositor, and you should see a dialog asking to reenable the compositor and desktop effects.

Offline

#40 2017-03-03 13:14:41

loqs
Member
Registered: 2014-03-06
Posts: 2,261

Re: [libglvnd] libglvnd support for mesa is now in testing

QuartzDragon wrote:

Revert these changes ~ your Plasma session isn't broken. Compositing was merely disabled. With the Intel iGPU, to reenable, go to System Settings -> Display and Monitor -> Compositor, and you should see a dialog asking to reenable the compositor and desktop effects.

Would it not be enough just to reenable the compositor?

Offline

#41 2017-03-03 16:33:55

presianbg
Member
Registered: 2016-04-18
Posts: 12

Re: [libglvnd] libglvnd support for mesa is now in testing

Anyone?

presianbg wrote:

2. Also what "out-of-the-box" optimus should mean with this changes? Is it expected to work like in Windows (driver controlled switch between integrated and discrete) or
we still need something  lile optirun/primusrun + bbswitch or DRI_PRIME=1?

Offline

#42 2017-03-04 01:11:32

gnox
Member
Registered: 2013-05-18
Posts: 32

Re: [libglvnd] libglvnd support for mesa is now in testing

Laptop Haswell iGPU , dGPU NVidia 860M, i3 + bbswitch-dkms + bumblebeed + nvidia-dkms

Changed to testing repos, packages upgraded "-Syu" , copied  :

cp /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf /etc/X11/xorg.conf.d

reboot and almost everything runs fine.

The only issue was primusrun, I dont use it too much but for testing now I have to run it with: (fish)

env PRIMUS_libGLa="/usr/lib/libGL.so.1" primusrun glxgears

Or modifying the bash script /usr/bin/primusrun to uncomment and modify the line for PRIMUS_libGLa.

optirun works with virtualgl, nvidia-xrun no problems, now I can run steam/games without setting LD_PRELOAD.

Offline

#43 2017-03-04 08:47:50

nasedo
Member
Registered: 2012-02-16
Posts: 11

Re: [libglvnd] libglvnd support for mesa is now in testing

I'd like to report that everything is working great on my Optimus laptop.

1. Out of the box, Intel and Mesa get used if nvidia modules are blacklisted, black screen otherwise.
2. After adding the needed xrandr commands to my xinitrc, Nvidia PRIME gets used. To also get vsync, you just need to make sure that the nvidia-drm module is loaded with modeset=1 option.

No additional xorg.conf configuration needed on my part.

Last edited by nasedo (2017-03-04 10:18:04)

Offline

#44 2017-03-04 14:58:34

Homp
Member
Registered: 2017-03-04
Posts: 1

Re: [libglvnd] libglvnd support for mesa is now in testing

With Kernel 4.10 I had some problems as soon as I used the modeset=1 parameter for the nvidia-drm module.
After I started X it didn't take long and the whole system hung up. The only chance to recover was a power button override.
Without modeset=1 everything worked fine but I had a lot of tearing.

Now I installed the new Linux-LTS kernel based on version 4.9 and everything works perfectly.
During boot I blacklisted the nvidia module so Intel will be used by default.

As soon as I want to play some games I execute a script which does the following:
1) Logout from XFCE.
2) Stop Lightdm.
3) Switch the Nvidia card on via bbswitch.
4) Load Nvidia modules.
5) Start Lightdm with the xrandr commands.
When I finished gaming I can execute the same script to switch back to Intel and switch off the Nvidia card via bbswitch.

Libglvnd makes this much more enjoyable. No more special prefixes needed for Steam etc. :-)
Finally I'm happy with my Optimus laptop. With Bumblebee the performance was noticeably worse.

Offline

#45 2017-03-04 15:20:03

nasedo
Member
Registered: 2012-02-16
Posts: 11

Re: [libglvnd] libglvnd support for mesa is now in testing

Homp wrote:

With Kernel 4.10 I had some problems as soon as I used the modeset=1 parameter for the nvidia-drm module.
After I started X it didn't take long and the whole system hung up. The only chance to recover was a power button override.

I can confirm this. Soon after starting X on 4.10 I also get a system hang up. (Or graphics hang up, SysRq shortcuts still work but nothing else including switching to a TTY.) I was going to wait with reporting this until Nvidia drivers officially support 4.10.

My workaround was downgrading linux and nvidia packages to their respective versions in core and extra. I haven't thought about using linux-lts and nvidia-lts, it's a better solution.

Offline

#46 2017-03-04 18:23:41

pedrogabriel
Member
Registered: 2014-08-17
Posts: 27

Re: [libglvnd] libglvnd support for mesa is now in testing

QuartzDragon wrote:

Revert these changes ~ your Plasma session isn't broken. Compositing was merely disabled. With the Intel iGPU, to reenable, go to System Settings -> Display and Monitor -> Compositor, and you should see a dialog asking to reenable the compositor and desktop effects.

That dialog does not appear.

Offline

#47 2017-03-04 18:32:41

pedrogabriel
Member
Registered: 2014-08-17
Posts: 27

Re: [libglvnd] libglvnd support for mesa is now in testing

Homp wrote:

With Kernel 4.10 I had some problems as soon as I used the modeset=1 parameter for the nvidia-drm module.
After I started X it didn't take long and the whole system hung up. The only chance to recover was a power button override.
Without modeset=1 everything worked fine but I had a lot of tearing.

I can also confirm that.

Offline

#48 2017-03-05 11:29:26

cotko
Member
Registered: 2010-02-10
Posts: 16

Re: [libglvnd] libglvnd support for mesa is now in testing

gnox wrote:

...
The only issue was primusrun, I dont use it too much but for testing now I have to run it with: (fish)

env PRIMUS_libGLa="/usr/lib/libGL.so.1" primusrun glxgears

Or modifying the bash script /usr/bin/primusrun to uncomment and modify the line for PRIMUS_libGLa.

optirun works with virtualgl, nvidia-xrun no problems, now I can run steam/games without setting LD_PRELOAD.

Did you check /etc/bumblebee for bumblebee.conf.pacnew ? I had same issue with libGL.so.1 but this solution should be related to nouveau drivers, not nvidia (written somewhere in the wikis). After moving bumblebee.conf.pacnew to default bumblebee.conf (I had no custom configs) and bumblebee service restart I didn't need to set the PRIMUS_libGLa env any more.

Offline

#49 2017-03-11 08:40:48

gw3rty
Member
From: Ukraine
Registered: 2017-02-28
Posts: 6

Re: [libglvnd] libglvnd support for mesa is now in testing

The package moved to stable, but SEGFAULT is NOT fixed!!!
It crashes my system, why it was moved to stable?/

Last edited by gw3rty (2017-03-11 10:31:56)

Offline

#50 2017-03-11 10:29:43

gw3rty
Member
From: Ukraine
Registered: 2017-02-28
Posts: 6

Re: [libglvnd] libglvnd support for mesa is now in testing

Fixed my Xserver. It actually was bug with /usr/lib/libGL.so.1 symlink, which was pointed to libGL.so.1.2
Removing the libGL files, and reinstalling mesa solved the issue. Interesting, that the package was not complaining while upgrade.

Last edited by gw3rty (2017-03-11 10:32:22)

Offline

Board footer

Powered by FluxBB