Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AMD Radeon NV200 hangs on startx
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
btmin
n00b
n00b


Joined: 02 Feb 2020
Posts: 4

PostPosted: Mon Feb 03, 2020 1:45 am    Post subject: AMD Radeon NV200 hangs on startx Reply with quote

Hello all,

I have a Thinkpad T41 which I'm trying to revive with Gentoo. It has a AMD Mobility 7500 GPU. I have X installed via installing xfce-base, but I have also installed openbox temporarily to try to fix this X issue. My problem with X is that when I try to start X locally using
Code:
startx /usr/bin/openbox


It starts up, then the screen goes blank with the text cursor on the top left (I am using X with the builtin display). The screen doesn't respond to any input afterwards. I cannot change ttys. However, I can still access the machine remotely using SSH. An investigation of the system over SSH with htop while running the command above tells me startx dies after about 20 seconds.

The paste below is my X server log.
https://pastebin.com/hgsmCjEx

I have followed the instructions on this wiki page to get radeon support in my kernel:
https://wiki.gentoo.org/wiki/Radeon

I feel I should also share my kernel configuration, since I built the kernel manually without using genkernel to automate the kernel build, but there must be a better way to share kernel configurations than using pastebin.

Let me know if I should include anything that can aid anybody in helping me get X working on this archaic Thinkpad.
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 828

PostPosted: Mon Feb 03, 2020 9:28 am    Post subject: Reply with quote

you need to use an ~/.xinitrc - an executable file whose last line starts your wm (and before that sets your personal X-environment.
i alternately use fluxbox and xfce4 - my .xinitrc looks like this:
Code:
# some
# personal
# X-settings
# exec startxfce4
exec startfluxbox

the last line alone would be enough to start fluxbox with startx once this user is logged in.
GOOD LUCK!
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
btmin
n00b
n00b


Joined: 02 Feb 2020
Posts: 4

PostPosted: Mon Feb 03, 2020 10:36 pm    Post subject: Reply with quote

Hi DawgG,

Thanks for your reply.

I think I have tried to write an ~/.xinitrc file before with the following
Code:
exec startxfce4

before according to this reference while installing XFCE4, but to no avail.
I am at school right now so I cannot access the Thinkpad at the moment.

When I can access the Thinkpad I will try putting
Code:
exec startxfce4
into the ~/.xinitrc file again (I deleted the file out of frustration, heh) and see if that changes anything. I will let you know my results.

--edit: DawgG, not Dawg. Sorry. ---
Back to top
View user's profile Send private message
btmin
n00b
n00b


Joined: 02 Feb 2020
Posts: 4

PostPosted: Tue Feb 04, 2020 3:35 am    Post subject: Reply with quote

I created the .xinitrc file again. The GPU still locks up.

Below I attached a screen session of commands from the local tty (commands were not executed remotely over SSH).
Code:

admin@T41 ~ $ echo 'exec startxfce4' > .xinitrc
admin@T41 ~ $ cat .xinitrc
exec startxfce4
admin@T41 ~ $ startx
hostname: Unknown host


X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.19.97-gentoo-x86 i686 Gentoo
Current Operating System: Linux T41 4.19.97-gentoo #4 Sun Feb 2 01:28:17 EST 2020 i686
Kernel command line: BOOT_IMAGE=Gentoo ro root=803
Build Date: 01 February 2020  09:14:37PM
 
Current version of pixman: 0.38.4
        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: Mon Feb  3 22:19:25 2020
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] Kernel modesetting enabled.
/usr/bin/X: symbol lookup error: /usr/lib/xorg/modules/drivers/radeon_drv.so: undefined symbol: exaGetPixmapDriverPrivate
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console
admin@T41 ~ $ logout


Below I have linked the Xorg log file.
https://pastebin.com/Gh06GXZA

This is the first time I was able to see the stdout print of the startx script.
Code:
/usr/bin/X: symbol lookup error: /usr/lib/xorg/modules/drivers/radeon_drv.so: undefined symbol: exaGetPixmapDriverPrivate

The sixth to last line in stdout is catching my eye. I think it might be hinting at something, I'm not sure.

--edit: clarifed "local window" ---
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 828

PostPosted: Tue Feb 04, 2020 8:33 am    Post subject: Reply with quote

try to re-emerge the radeon-driver (or whatever the file /usr/lib/xorg/modules/drivers/radeon_drv.so belongs to). you can find out with
Code:
equery b /usr/lib/xorg/modules/drivers/radeon_drv.so
for the pkg gentoolkit. if this does not help you probably have to adjust the use-flags of the corresponding pkgs.
GOOD LUCK!
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
btmin
n00b
n00b


Joined: 02 Feb 2020
Posts: 4

PostPosted: Tue Feb 04, 2020 11:30 pm    Post subject: Reply with quote

Hi DawgG,
Code:

admin@T41 ~ $ equery b /usr/lib/xorg/modules/drivers/radeon_drv.so
 * Searching for /usr/lib/xorg/modules/drivers/radeon_drv.so ...
x11-drivers/xf86-video-ati-19.1.0 (/usr/lib/xorg/modules/drivers/radeon_drv.so)

re-emerging x11-drivers/xf86-video-ati with the command
Code:
T41 /home/admin # emerge -a x11-drivers/xf86-video-ati

and running startx after still hangs the GPU.

The same error still shows on stdout:
Code:
/usr/bin/X: symbol lookup error: /usr/lib/xorg/modules/drivers/radeon_drv.so: undefined symbol: exaGetPixmapDriverPrivate


Which USE flag(s) should I keep an out for to enable?
The pastebin below shows my euse -a output.
https://pastebin.com/r23xC3Ub
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
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