On Tue, Oct 01, 2019 at 10:25:58PM -0500, Bruce Dubbs via blfs-dev wrote:
> On 10/1/19 9:23 PM, Ken Moffat via blfs-dev wrote:
> > On Wed, Sep 25, 2019 at 02:05:57PM -0500, Bruce Dubbs via blfs-dev wrote:
> > > On 9/25/19 12:07 PM, Ken Moffat via blfs-dev wrote:
> > > > 
> > > 
> > > For comparison, attached are two elogind builds.  The 90 build is a direct
> > > xorg build and completes xorg at about line 88.  The  9a build followed a
> > > jhalfs generated order for elogind+gnome.  It completes xorg around line
> > > 169.
> > 
> > I've just finished looking at those - a lot of differences in the
> > build orders compared to my builds (and I note that in 9a you built
> > kde on the way to gnome).
> 
> No, I didn't.  I'm not sure why you think that.  At a minimum kde requires
> extra-cmake-modules and that is not in the list I sent.  What I did was run
> jhalfs/blfs.  When there I selected all the gnome platform packages and had
> jhalfs select the dependencies and the build order.
> 

I saw okular in the build, and it seemed to be ahead of gnome.

[...]
> > 
> > As an aside, perhaps amdgpu (and maybe radeon) has a second issue - I
> > was testing out systemrescuecd-6.03 the other day - it has a 4.19
> > kernel and startx fails, trying to load radeon instead of amdgpu
> > (Picasso vga is not recognized, I suppose).  By 'installing' the
> > stick's contents in RAM I was able to drop radeon and amdgpu, but
> > then startx failed, it could not use the framebuffer which I guess
> > was not surprising because it didn't know about the Picasso firmware.
> 
> I do not think your original problem involved video at all.  It was that you
> had no mouse/kbd input.
> 
Correct, when I reported it on my haswell with intel graphics.  But
on all my builds with either radeon or amdgpu, Xorg failed to start
(although Douglas reported with systemd and 9.0 that radeon worked
for him).
> 
> > Anyway, the main difference I see between your builds and mine is that
> > I omitted the following:
> > 
> > cracklib, and therefore I did not rebuild PAM
> > lsb-release
> > xcb-util-image
> > xcb-util-renderutil
> > xcb-util-wm
> > xcb-util-cursor
> > 
> > I wonder if the additional xcb-util items might make a difference
> > (I'd only previously built them for kde).  I have not yet wiped the
> > system, but it's too late tonight to try adding them and reverting
> > the chmod on Xorg.
> 
> It's possible, but I really think it is a permissions problem.  After all,
> making the Xorg executable suid allowed things to work.
> 
> I suggest building cracklib and then rebuilding/reconfiguring pam.  If you
> still have the video problem, I think that is a completely different
> problem.
> 
>   -- Bruce
> 
I really have no use for cracklib on my own machines.  Anyway, I've
restored from the backup and added all the extra xcb-util parts.

And startx (as a user) still failed.

Snippets from /home/ken/.local/share/xorg/Xorg.0.log

[    37.276] (==) Matched amdgpu as autoconfigured driver 0
[    37.276] (==) Matched ati as autoconfigured driver 1
[    37.276] (==) Matched modesetting as autoconfigured driver 2
[    37.276] (==) Matched fbdev as autoconfigured driver 3
[    37.276] (==) Matched vesa as autoconfigured driver 4

(of which only amdgpu and modesetting exist on this build)

[    37.281] (II) AMDGPU: Driver for AMD Radeon:
        All GPUs supported by the amdgpu kernel driver
[    37.281] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    37.281] (++) using VT number 1

[    37.281] (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
[    37.282] (WW) Falling back to old probe method for modesetting
[    37.282] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    37.282] (II) AMDGPU(0): Creating default Display subsection in Screen 
section
        "Default Screen Section" for depth/fbbpp 24/32
[    37.282] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[    37.282] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp 
pixmaps)
[    37.282] (==) AMDGPU(0): Default visual is TrueColor
[    37.282] (==) AMDGPU(0): RGB weight 888
[    37.282] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[    37.282] (--) AMDGPU(0): Chipset: "Unknown AMD Radeon GPU" (ChipID = 0x15d8)
[    37.282] (II) Loading sub module "fb"
[    37.282] (II) LoadModule: "fb"
[    37.282] (II) Loading /usr/lib/xorg/modules/libfb.so
[    37.283] (II) Module fb: vendor="X.Org Foundation"
[    37.283]    compiled for 1.20.5, module version = 1.0.0
[    37.283]    ABI class: X.Org ANSI C Emulation, version 0.4
[    37.283] (II) Loading sub module "dri2"
[    37.283] (II) LoadModule: "dri2"
[    37.283] (II) Module "dri2" already built-in
[    37.438] (II) Loading sub module "glamoregl"
[    37.438] (II) LoadModule: "glamoregl"
[    37.438] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    37.443] (II) Module glamoregl: vendor="X.Org Foundation"
[    37.443]    compiled for 1.20.5, module version = 1.0.1
[    37.443]    ABI class: X.Org ANSI C Emulation, version 0.4
[    37.468] (II) AMDGPU(0): glamor X acceleration enabled on AMD RAVEN (DRM 
3.33.0, 5.3.1, LLVM 8.0.1)  
[    37.468] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[    37.468] (==) AMDGPU(0): TearFree property default: auto
[    37.468] (==) AMDGPU(0): VariableRefresh: disabled
[    37.468] (II) AMDGPU(0): KMS Pageflipping: enabled 
[    37.468] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[    37.468] (II) AMDGPU(0): Output DVI-D-0 has no monitor section
[    37.468] (II) AMDGPU(0): Output DisplayPort-0 has no monitor section
[    37.483] (II) AMDGPU(0): EDID for output HDMI-A-0
[    37.483] (II) AMDGPU(0): Manufacturer: ACR  Model: 42e  Serial#: 2215641880
[    37.483] (II) AMDGPU(0): Year: 2018  Week: 41
[    37.483] (II) AMDGPU(0): EDID Version: 1.3
[    37.483] (II) AMDGPU(0): Digital Display Input
[    37.483] (II) AMDGPU(0): DFP 1.x compatible TMDS
[    37.483] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 52  vert.: 29
[    37.483] (II) AMDGPU(0): Gamma: 2.20
[    37.483] (II) AMDGPU(0): DPMS capabilities: Off
[    37.483] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[    37.483] (II) AMDGPU(0): First detailed timing is preferred mode
[    37.483] (II) AMDGPU(0): redX: 0.633 redY: 0.340   greenX: 0.314 greenY: 
0.632
[    37.483] (II) AMDGPU(0): blueX: 0.159 blueY: 0.060   whiteX: 0.313 whiteY: 
0.329
[    37.483] (II) AMDGPU(0): Supported established timings:
[    37.483] (II) AMDGPU(0): 720x400@70Hz

(snip 'established' timings)

[    37.483] (II) AMDGPU(0): 1280x1024@75Hz
[    37.483] (II) AMDGPU(0): Manufacturer's mask: 0
[    37.483] (II) AMDGPU(0): Supported standard timings:
[    37.483] (II) AMDGPU(0): #0: hsize: 1920  vsize 1080  refresh: 60  vid: 
49361
[    37.483] (II) AMDGPU(0): #1: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[    37.483] (II) AMDGPU(0): #2: hsize: 1440  vsize 900  refresh: 60  vid: 149
[    37.483] (II) AMDGPU(0): #3: hsize: 1280  vsize 1024  refresh: 60  vid: 
32897
[    37.483] (II) AMDGPU(0): #4: hsize: 1280  vsize 960  refresh: 60  vid: 16513
[    37.483] (II) AMDGPU(0): #5: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[    37.483] (II) AMDGPU(0): Supported detailed timing:
[    37.483] (II) AMDGPU(0): clock: 148.5 MHz   Image Size:  509 x 286 mm
[    37.483] (II) AMDGPU(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 
h_blank_end 2200 h_border: 0  
[    37.483] (II) AMDGPU(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 
v_blanking: 1125 v_border: 0  
[    37.483] (II) AMDGPU(0): Ranges: V min: 50 V max: 76 Hz, H min: 30 H max: 
83 kHz, PixClock max 175 MHz
[    37.483] (II) AMDGPU(0): Serial No: T2JEE0094209
[    37.483] (II) AMDGPU(0): Monitor name: Acer K242HQL
[    37.483] (II) AMDGPU(0): Supported detailed timing: 
[    37.483] (II) AMDGPU(0): clock: 148.5 MHz   Image Size:  509 x 286 mm
[    37.483] (II) AMDGPU(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 
h_blank_end 2200 h_border: 0  
[    37.483] (II) AMDGPU(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 
v_blanking: 1125 v_border: 0
[    37.483] (II) AMDGPU(0): Supported detailed timing:
[    37.483] (II) AMDGPU(0): clock: 74.2 MHz   Image Size:  509 x 286 mm
[    37.483] (II) AMDGPU(0): h_active: 1280  h_sync: 1390  h_sync_end 1430 
h_blank_end 1650 h_border: 0
[    37.483] (II) AMDGPU(0): v_active: 720  v_sync: 725  v_sync_end 730 
v_blanking: 750 v_border: 0
[    37.483] (II) AMDGPU(0): Supported detailed timing:
[    37.483] (II) AMDGPU(0): clock: 74.2 MHz   Image Size:  509 x 286 mm
[    37.483] (II) AMDGPU(0): h_active: 1280  h_sync: 1720  h_sync_end 1760 
h_blank_end 1980 h_border: 0
[    37.483] (II) AMDGPU(0): v_active: 720  v_sync: 725  v_sync_end 730 
v_blanking: 750 v_border: 0
[    37.483] (II) AMDGPU(0): Supported detailed timing:
[    37.483] (II) AMDGPU(0): clock: 27.0 MHz   Image Size:  509 x 286 mm
[    37.483] (II) AMDGPU(0): h_active: 720  h_sync: 732  h_sync_end 796 
h_blank_end 864 h_border: 0
[    37.483] (II) AMDGPU(0): v_active: 576  v_sync: 581  v_sync_end 586 
v_blanking: 625 v_border: 0
[    37.483] (II) AMDGPU(0): Number of EDID sections to follow: 1
[    37.483] (II) AMDGPU(0): EDID (in hex):
[    37.483] (II) AMDGPU(0):    00ffffffffffff0004722e0418031084

(snip rest of EDID, probed modes for output HDMI-A-0 and their
modelines)

[    37.483] (II) AMDGPU(0): EDID for output DVI-D-0
[    37.483] (II) AMDGPU(0): EDID for output DisplayPort-0
[    37.483] (II) AMDGPU(0): Output HDMI-A-0 connected
[    37.483] (II) AMDGPU(0): Output DVI-D-0 disconnected
[    37.483] (II) AMDGPU(0): Output DisplayPort-0 disconnected
[    37.483] (II) AMDGPU(0): Using exact sizes for initial modes
[    37.483] (II) AMDGPU(0): Output HDMI-A-0 using initial mode 1920x1080 +0+0
[    37.483] (II) AMDGPU(0): mem size init: gart size :bf7d9000 vram size: 
s:7e852000 visible:7e852000
[    37.483] (==) AMDGPU(0): DPI set to (96, 96)
[    37.483] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[    37.483] (II) Loading sub module "ramdac"
[    37.483] (II) LoadModule: "ramdac"
[    37.483] (II) Module "ramdac" already built-in
[    37.483] (II) UnloadModule: "modesetting"
[    37.483] (II) Unloading modesetting
[    37.484] Unable to retrieve master
[    37.484] (EE) 
Fatal server error: 
[    37.484] (EE) AddScreen/ScreenInit failed for driver 0
[    37.484] (EE)  
[    37.484] (EE) 
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help. 
[    37.484] (EE) Please also check the log file at 
"/home/ken/.local/share/xorg/Xorg.0.log" for additional information.
[    37.484] (EE) 
[    37.503] (EE) Server terminated with error (1). Closing log file.

So on amdgpu I definitely have a separate problem.

Debian bug (for sysvinit) 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801605
is on an amd or radeon machine, reply says logind needs to be
running and working, apparently fixed for normal user by installing
libpam-systemd and systemd-shim.

But someone else had a similar problem with AMD Mullins, not fixed
by installing those, fixed by suid.  Or alternatively fixed by
enabling the root perms in the systemd wrapper.



-- 
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
                                     - Unseen Academicals
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to