Re: [gentoo-user] XOrg / XRanR segfault starting X

2016-08-18 Thread David Haller
Hello,

On Thu, 18 Aug 2016, james wrote:
>other tools:: 'lshw'

or sys-apps/hwinfo

HTH,
-dnh

-- 
"I'm nobody's puppet!"-- Rygel XIV



Re: [gentoo-user] XOrg / XRanR segfault starting X

2016-08-18 Thread james

On 08/18/2016 02:07 AM, J. Roeleveld wrote:

On August 18, 2016 6:59:53 AM GMT+02:00, Dave Trombley 
 wrote:

Hi all!

New to Gentoo, just followed the handbook install for amd64 and then
for
XOrg.

   I'm seeing the server segfault on 'startx'.   Here is the console
output (and I've attached the logfile).

   X.Org X Server 1.17.4
Release Date: 2015-10-28
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.6-gentoo x86_64 Gentoo
Current Operating System: Linux snow 4.4.6-gentoo #3 SMP PREEMPT Thu
Aug 18
04:18:24 Local time zone must be set-- x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.4.6-gentoo
root=UUID=8cb564c3-38fb-4b05-bc60-eaccf543e3ab ro
Build Date: 17 August 2016  07:13:48PM

Current version of pixman: 0.32.8
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 18 04:53:29 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] drm report modesetting isn't supported.
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x56) [0x58c856]
(EE) 1: /usr/bin/X (0x40+0x190b09) [0x590b09]
(EE) 2: /lib64/libc.so.6 (0x7f34667ed000+0x33370) [0x7f3466820370]
(EE) 3: /usr/bin/X (RRSetChanged+0x50) [0x4f0c50]
(EE) 4: /usr/bin/X (RRScreenSetSizeRange+0x54) [0x4f5184]
(EE) 5: /usr/bin/X (xf86RandR12CreateScreenResources+0x295) [0x4b7d65]
(EE) 6: /usr/bin/X (0x40+0xab130) [0x4ab130]
(EE) 7: /usr/bin/X (0x40+0x3bff4) [0x43bff4]
(EE) 8: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7f346680d620]
(EE) 9: /usr/bin/X (_start+0x29) [0x426639]
(EE)
(EE) Segmentation fault at address 0xa0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting


  Any ideas?   I can't figure out why kernel modesetting isn't working
(the newer versions of Linux don't have explicit modesetting config
items
and the framebuffer drivers are totally disabled, as per the install
docs),
but the larger problem is that segfault.   Any ideas on how to even
start
to address this?

  -David


Few extra missing details.

Which GPU are you using? I see both Intel and ATI.
Can you provide your kernel config.
Which Video drivers did you build with xorg?



lspci and 'lspci -v' among other hardware discovery tools might help you
get the firmware and exact kernel options needed for your kernel
built correctly.

I always put the video codes into the kernel, but some have success with
setting up those codes, via a loadable modules.

other tools:: 'lshw'

hth,
James




Re: [gentoo-user] XOrg / XRanR segfault starting X

2016-08-18 Thread J. Roeleveld
On August 18, 2016 6:59:53 AM GMT+02:00, Dave Trombley 
 wrote:
>Hi all!
>
>New to Gentoo, just followed the handbook install for amd64 and then
>for
>XOrg.
>
>I'm seeing the server segfault on 'startx'.   Here is the console
>output (and I've attached the logfile).
>
>X.Org X Server 1.17.4
>Release Date: 2015-10-28
>X Protocol Version 11, Revision 0
>Build Operating System: Linux 4.4.6-gentoo x86_64 Gentoo
>Current Operating System: Linux snow 4.4.6-gentoo #3 SMP PREEMPT Thu
>Aug 18
>04:18:24 Local time zone must be set-- x86_64
>Kernel command line: BOOT_IMAGE=/vmlinuz-4.4.6-gentoo
>root=UUID=8cb564c3-38fb-4b05-bc60-eaccf543e3ab ro
>Build Date: 17 August 2016  07:13:48PM
>
>Current version of pixman: 0.32.8
>Before reporting problems, check http://wiki.x.org
>to make sure that you have the latest version.
>Markers: (--) probed, (**) from config file, (==) default setting,
>(++) from command line, (!!) notice, (II) informational,
>(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
>(==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 18 04:53:29 2016
>(==) Using system config directory "/usr/share/X11/xorg.conf.d"
>(II) [KMS] drm report modesetting isn't supported.
>(EE)
>(EE) Backtrace:
>(EE) 0: /usr/bin/X (xorg_backtrace+0x56) [0x58c856]
>(EE) 1: /usr/bin/X (0x40+0x190b09) [0x590b09]
>(EE) 2: /lib64/libc.so.6 (0x7f34667ed000+0x33370) [0x7f3466820370]
>(EE) 3: /usr/bin/X (RRSetChanged+0x50) [0x4f0c50]
>(EE) 4: /usr/bin/X (RRScreenSetSizeRange+0x54) [0x4f5184]
>(EE) 5: /usr/bin/X (xf86RandR12CreateScreenResources+0x295) [0x4b7d65]
>(EE) 6: /usr/bin/X (0x40+0xab130) [0x4ab130]
>(EE) 7: /usr/bin/X (0x40+0x3bff4) [0x43bff4]
>(EE) 8: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7f346680d620]
>(EE) 9: /usr/bin/X (_start+0x29) [0x426639]
>(EE)
>(EE) Segmentation fault at address 0xa0
>(EE)
>Fatal server error:
>(EE) Caught signal 11 (Segmentation fault). Server aborting
>
>
>   Any ideas?   I can't figure out why kernel modesetting isn't working
>(the newer versions of Linux don't have explicit modesetting config
>items
>and the framebuffer drivers are totally disabled, as per the install
>docs),
>but the larger problem is that segfault.   Any ideas on how to even
>start
>to address this?
>
>   -David

Few extra missing details.

Which GPU are you using? I see both Intel and ATI.
Can you provide your kernel config.
Which Video drivers did you build with xorg?

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] XOrg / XRanR segfault starting X

2016-08-18 Thread Adam Carter
On Thu, Aug 18, 2016 at 2:59 PM, Dave Trombley 
wrote:

> Hi all!
>
>New to Gentoo, just followed the handbook install for amd64 and then
> for XOrg.
>
> I'm seeing the server segfault on 'startx'.   Here is the console
> output (and I've attached the logfile).
>
> X.Org X Server 1.17.4
> Release Date: 2015-10-28
> X Protocol Version 11, Revision 0
> Build Operating System: Linux 4.4.6-gentoo x86_64 Gentoo
> Current Operating System: Linux snow 4.4.6-gentoo #3 SMP PREEMPT Thu Aug
> 18 04:18:24 Local time zone must be set-- x86_64
> Kernel command line: BOOT_IMAGE=/vmlinuz-4.4.6-gentoo
> root=UUID=8cb564c3-38fb-4b05-bc60-eaccf543e3ab ro
> Build Date: 17 August 2016  07:13:48PM
>
> Current version of pixman: 0.32.8
> Before reporting problems, check http://wiki.x.org
> to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (==) default setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 18 04:53:29 2016
> (==) Using system config directory "/usr/share/X11/xorg.conf.d"
> (II) [KMS] drm report modesetting isn't supported.
> (EE)
> (EE) Backtrace:
> (EE) 0: /usr/bin/X (xorg_backtrace+0x56) [0x58c856]
> (EE) 1: /usr/bin/X (0x40+0x190b09) [0x590b09]
> (EE) 2: /lib64/libc.so.6 (0x7f34667ed000+0x33370) [0x7f3466820370]
> (EE) 3: /usr/bin/X (RRSetChanged+0x50) [0x4f0c50]
> (EE) 4: /usr/bin/X (RRScreenSetSizeRange+0x54) [0x4f5184]
> (EE) 5: /usr/bin/X (xf86RandR12CreateScreenResources+0x295) [0x4b7d65]
> (EE) 6: /usr/bin/X (0x40+0xab130) [0x4ab130]
> (EE) 7: /usr/bin/X (0x40+0x3bff4) [0x43bff4]
> (EE) 8: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7f346680d620]
> (EE) 9: /usr/bin/X (_start+0x29) [0x426639]
> (EE)
> (EE) Segmentation fault at address 0xa0
> (EE)
> Fatal server error:
> (EE) Caught signal 11 (Segmentation fault). Server aborting
>

My log has;
# grep -i kms /var/log/Xorg.0.log
[   303.319] (II) [KMS] Kernel modesetting enabled.
[   303.393] (II) AMDGPU(0): KMS Pageflipping: enabled

# zgrep -i kms /proc/config.gz
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_KMS_FB_HELPER=y

So try enabling those and rebuild and reinstall your kernel.

Other than that, when you update xorg you also need to 'emerge
@x11-module-rebuild' afterwards, but unless you've been emerging things out
of order that's probably not this issue this time. If you're not sure, just
do it anyway if its still broken after the kernel update.

I have had a single instance where I needed to rebuild xorg due to suit a
new kernel, but that was a long time ago.


[gentoo-user] XOrg / XRanR segfault starting X

2016-08-17 Thread Dave Trombley
Hi all!

   New to Gentoo, just followed the handbook install for amd64 and then for
XOrg.

I'm seeing the server segfault on 'startx'.   Here is the console
output (and I've attached the logfile).

X.Org X Server 1.17.4
Release Date: 2015-10-28
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.6-gentoo x86_64 Gentoo
Current Operating System: Linux snow 4.4.6-gentoo #3 SMP PREEMPT Thu Aug 18
04:18:24 Local time zone must be set-- x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.4.6-gentoo
root=UUID=8cb564c3-38fb-4b05-bc60-eaccf543e3ab ro
Build Date: 17 August 2016  07:13:48PM

Current version of pixman: 0.32.8
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 18 04:53:29 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] drm report modesetting isn't supported.
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x56) [0x58c856]
(EE) 1: /usr/bin/X (0x40+0x190b09) [0x590b09]
(EE) 2: /lib64/libc.so.6 (0x7f34667ed000+0x33370) [0x7f3466820370]
(EE) 3: /usr/bin/X (RRSetChanged+0x50) [0x4f0c50]
(EE) 4: /usr/bin/X (RRScreenSetSizeRange+0x54) [0x4f5184]
(EE) 5: /usr/bin/X (xf86RandR12CreateScreenResources+0x295) [0x4b7d65]
(EE) 6: /usr/bin/X (0x40+0xab130) [0x4ab130]
(EE) 7: /usr/bin/X (0x40+0x3bff4) [0x43bff4]
(EE) 8: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7f346680d620]
(EE) 9: /usr/bin/X (_start+0x29) [0x426639]
(EE)
(EE) Segmentation fault at address 0xa0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting


   Any ideas?   I can't figure out why kernel modesetting isn't working
(the newer versions of Linux don't have explicit modesetting config items
and the framebuffer drivers are totally disabled, as per the install docs),
but the larger problem is that segfault.   Any ideas on how to even start
to address this?

   -David


Xorg.0.log
Description: Binary data