Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Studio: A Gentoo Linux Professional Audio Workstation
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 17, 18, 19  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Oblivius
n00b
n00b


Joined: 05 Jun 2018
Posts: 5

PostPosted: Thu Jul 05, 2018 4:52 am    Post subject: Reply with quote

Has anybody here gotten Gentoo Studio to work 100% with the integrated GPU on an AMD Ryzen 2400G Raven Ridge CPU on a Gigabyte AB350M-Gaming 3 motherboard?

I'm getting a blank screen after I log in with a user account I've created.

It does appear that the kernel is up and running though. I can "ping" it, without any packet loss, from another Linux PC coexisting on the same network behind an Asus NAT broadband router. A "ssh" connection will be refused though so I can't do anything remotely. I'll end up needing to do either a hard power-off or reset using the corresponding button on my PC case.

The only way I can do anything is to boot the Gentoo Live DVD (albeit on a USB stick) and do the convoluted steps necessary to mount all of the partitions I've created and chroot in.

This definitely appears to be a problem with the integrated gpu.

The two things I would like to do is to enable "ssh" remote logins and to get X properly working with the Ryzen 2400G GPU.

I appreciate any help but realize that I may need to provide more information.

Many thanks in advance.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6263
Location: /usr/lib64/lv2

PostPosted: Thu Jul 05, 2018 11:40 pm    Post subject: Reply with quote

I've noticed a similar issue on a fresh install of mine, different hardware. I had to chroot in, rm xdm from runlevel, set VIDEO_CARDS in make.conf just for the integrated graphics, update world, and then it worked with startx. Still having an issue with Lightdm, and I don't know why yet.

Try what I just described and let me know if it works. Maybe that will help me figure out what's going on in the tarball build.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Oblivius
n00b
n00b


Joined: 05 Jun 2018
Posts: 5

PostPosted: Sun Jul 08, 2018 6:00 am    Post subject: Reply with quote

OK. I haven't solved the underlying problem but I can now log in with "ssh" by adding this line to "/etc/hosts.allowed":

sshd: 192.168.1. EXCEPT 192.168.1.1

where 192.168.1.* are the ip addresses on my LAN sitting behind my broadband router and its firewall and "EXCEPT 192.168.1.1" is to block any access from the router itself just on the possible chance that someone or something might break in from outside.

This part isn't perfect but it's good enough that I can at least now copy and paste a screen-full of command-line information to show here. I now can also be able to shut the system properly with the "shutdown" command.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6263
Location: /usr/lib64/lv2

PostPosted: Mon Jul 09, 2018 2:24 pm    Post subject: Reply with quote

Good! Let me know how it goes.

I find ssh very useful for transferring files and projects between my DAW computers.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Oblivius
n00b
n00b


Joined: 05 Jun 2018
Posts: 5

PostPosted: Wed Jul 11, 2018 7:06 am    Post subject: Reply with quote

OK, here's where I'm at now that I'm no longer flying blind:

When my setup appeared to hang, I discovered that I can get to a command-line login prompt by using <ctrl>-<alt>-<f4>.
(Actually, I now see that I could have used any of the function key from <f1> to <f6> rather than only <f4> exclusively)

This is what I get when I try to use "startx":

xauth: file /home/useraccount/.serverauth.3694 does not exist

X.Org X Server 1.19.5
Release Date: 2017-10-12
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.5.2-aufs-r1 x86_64 Gentoo
Current Operating System: Linux livecd 4.16.18-rt-rt9 #2 SMP PREEMPT RT Wed Jul 11 01:26:22 EDT 2018 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.16.18-rt-rt9 root=/dev/nvme0n1p3 ro
Build Date: 05 July 2018 06:18:03PM

Current version of pixman: 0.34.0
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: Wed Jul 11 02:18:19 2018
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] Kernel modesetting enabled.
gbm: failed to open any driver (search paths /usr/lib64/dri)
gbm: Last dlopen error: /usr/lib64/dri/radeonsi_dri.so: cannot open shared object file: No such file or directory
failed to load driver: radeonsi
gbm: failed to open any driver (search paths /usr/lib64/dri)
gbm: Last dlopen error: /usr/lib64/dri/radeonsi_dri.so: cannot open shared object file: No such file or directory
failed to load driver: radeonsi
EGL_MESA_drm_image required.
/etc/X11/xinit/xinitrc: line 58: twm: command not found
/etc/X11/xinit/xinitrc: line 59: xclock: command not found
/etc/X11/xinit/xinitrc: line 60: xterm: command not found
/etc/X11/xinit/xinitrc: line 62: exec: xterm: not found
/etc/X11/xinit/xinitrc: line 61: xterm: command not found
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.


The only reason I specified radeonsi in "/etc/portage/make.conf" ('VIDEO_CARDS="amdgpu radeonsi"') is because that is what was instructed in https://wiki.gentoo.org/wiki/AMDGPU.

I'll try taking that out next to see what happens.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6263
Location: /usr/lib64/lv2

PostPosted: Wed Jul 11, 2018 10:36 pm    Post subject: Reply with quote

When you install Gentoo Studio, don't do anything specific until/unless you have trouble with the default install. Did the default install work? Did you make that change to make.conf before booting into Gentoo Studio for the first time?
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Oblivius
n00b
n00b


Joined: 05 Jun 2018
Posts: 5

PostPosted: Wed Jul 18, 2018 1:30 am    Post subject: Reply with quote

I've been making steady progress, up to about 85% done, and can now post this message while using my Ryzen 5 2400g pc.

I still can't log straight into X or XFCE4 (in whatever is the intended default method for Gentoo Studio) because of an unresolved problem with, I'm guessing, the display manager.

(I'm unfamiliar with this aspect of Linux although the kernel now appears to be running fine underneath.)

If I go through the motion of logging in and letting xfce4 crash, by using <ctrl>-<alt>-<f1> to log in through a command-line interface prompt, I can now start xfce4 by using the CLI command "startxfce4" but NOT "startx".

To shut down everything, I need to log out of xfce4 to get back to the CLI, log out of the user account that I've created and log in as root for the final step of using "shutdown -h now".

I've created a pastebin account and can give a copy of all of the relevant configuration files:

make.conf: https://pastebin.com/rbC5Hgu8

Kernel .config: https://pastebin.com/m7MjdiQT

Xorg.0.log: https://pastebin.com/QpXjjAVt

world: https://pastebin.com/M1pNAjEL

The other problems that I've yet to tackle is the lack of sound and the inability to access files on the network on the LAN side of my broadband router.

I don't recall which command that I had used but it appears that the sound hardware is being seen as well as that for the HDMI connection to my 4K television.

(Only getting 3840x2160 resolution at 25Hz refresh rate with the integrated video of the Ryzen 5 2400G though. That appears to be because the AMD B350 chipset only allows an HDMI 1.4 connection although I could be mistaken.)
Back to top
View user's profile Send private message
Oblivius
n00b
n00b


Joined: 05 Jun 2018
Posts: 5

PostPosted: Fri Jul 20, 2018 2:43 am    Post subject: Reply with quote

Still trying to get Gentoo Studio to start up 100%.

I'm not sure what of the following may be helping at all or may be a wasted effort:

I manually created the file "/etc/env.d/90xsession" within which I have 'XSESSION="Xfce4"', emerged "x11-misc/lightdm-gtk-greeter" and then, later on, emerged "x11-libs/cairo" and am now seeing the following:

From dmesg:
Code:
[   10.859097] lightdm-gtk-gre[3481]: segfault at 10 ip 00007f4d33021640 sp 00007ffd608f0f38 error 4 in libcairo.so.2.11400.12[7f4d32fb8000+109000]
[   11.099052] X (3308) used greatest stack depth: 11104 bytes left

From Xorg.0.log:
Code:
[    10.919] (II) event1  - Power Button: device removed
[    10.934] (II) event0  - Power Button: device removed
[    10.953] (II) event13 - Lenovo Optical Mouse: device removed
[    10.985] (II) event14 -   USB Keyboard: device removed
[    11.017] (II) event15 -   USB Keyboard: device removed
[    11.049] (II) UnloadModule: "libinput"
[    11.049] (II) UnloadModule: "libinput"
[    11.049] (II) UnloadModule: "libinput"
[    11.049] (II) UnloadModule: "libinput"
[    11.049] (II) UnloadModule: "libinput"
[    11.097] (II) Server terminated successfully (0). Closing log file.

I'm guessing those numbers on the left are time stamps.

It does appear that the above may show why I'm unable to boot straight into xfce with lightdm. However, I am able to now salvage the situation by, once again, using <ctrl>-<alt>-<f1> to log in via command-line interface and using "startx" to get into xfce.

After that, everything, other than lack of sound or Samba LAN file access to be dealt with, now appears to be working fine. I can now both shut down and reboot the system without having to take the extra steps of logging out of a user account and logging in as root.

Anybody here knows what's happening above?
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6263
Location: /usr/lib64/lv2

PostPosted: Sun Jul 22, 2018 3:28 pm    Post subject: Reply with quote

Oblivius,

Nah, it's not a wasted effort. If we figure out what's going on, I will use it to improve the install method, if I can.

I'd really like to know whether you're using the install script or doing a manual install.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6263
Location: /usr/lib64/lv2

PostPosted: Thu Jul 26, 2018 3:16 pm    Post subject: Reply with quote

June 2018 Changelog:

https://gentoostudio.org/?p=488
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6263
Location: /usr/lib64/lv2

PostPosted: Thu Jul 26, 2018 3:19 pm    Post subject: Reply with quote

Gentoo Studio is officially out of beta. Just because it's time.

https://gentoostudio.org/?p=490
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
johngalt
Apprentice
Apprentice


Joined: 09 Sep 2004
Posts: 257
Location: 3rd Rock

PostPosted: Thu Jul 26, 2018 4:07 pm    Post subject: Reply with quote

Congrats! I can see you've put an extensive amount of tie and work into it.
_________________
desultory wrote:
If you want to retain credibility as a functional adult; when you are told that you are acting boorishly, the correct response is to consider that possibility and act accordingly to correct that behavior.


Amen.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6263
Location: /usr/lib64/lv2

PostPosted: Mon Jul 30, 2018 3:23 pm    Post subject: Reply with quote

Thanks. Yes, over the years I've put a chunk of time into making it what it is now.

Working on updating the installer in Python instead of bash now.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6263
Location: /usr/lib64/lv2

PostPosted: Mon Sep 03, 2018 1:31 pm    Post subject: Reply with quote

August 2018 changelog: https://gentoostudio.org/?p=494
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2, 3 ... 17, 18, 19
Page 19 of 19

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum