Bug 57996 - trident driver fails to load: (EE) Failed to load /usr/lib/xorg/modules/drivers/trident_drv.so: /usr/lib/xorg/modules/drivers/trident_drv.so: undefined symbol: TRIDENT_Sync
Summary: trident driver fails to load: (EE) Failed to load /usr/lib/xorg/modules/driv...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Trident (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-07 19:58 UTC by Mark Dominik Bürkle
Modified: 2013-11-11 17:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log without any patches, undefined symbol: TRIDENT_Sync (6.32 KB, text/plain)
2012-12-07 19:58 UTC, Mark Dominik Bürkle
no flags Details
patch to make trident_drv.so loadable (969 bytes, patch)
2012-12-07 20:02 UTC, Mark Dominik Bürkle
no flags Details | Splinter Review
Xorg.0.log with patched trident_dga.c (21.19 KB, text/plain)
2012-12-07 20:04 UTC, Mark Dominik Bürkle
no flags Details

Description Mark Dominik Bürkle 2012-12-07 19:58:18 UTC
Created attachment 71153 [details]
Xorg.0.log without any patches, undefined symbol: TRIDENT_Sync

(EE) Failed to load /usr/lib/xorg/modules/drivers/trident_drv.so: /usr/lib/xorg/modules/drivers/trident_drv.so: undefined symbol: TRIDENT_Sync
Comment 1 Mark Dominik Bürkle 2012-12-07 20:02:56 UTC
Created attachment 71154 [details] [review]
patch to make trident_drv.so loadable
Comment 2 Mark Dominik Bürkle 2012-12-07 20:04:32 UTC
Created attachment 71155 [details]
Xorg.0.log with patched trident_dga.c
Comment 3 Mark Dominik Bürkle 2012-12-07 20:14:12 UTC
In addition to the log file (which looks fine to me), the screen stays black and gdm does not manage to display its "X Server not running" dialogs.

From an strace of gdm (strace -ff -F -s 1000 -p $(< $gdm_pidfile) or sth like that):

write(0, "(==) TRIDENT(0): Silken mouse enabled\n", 38) = 38
write(2, "X: /var/tmp/portage/x11-base/xorg-server-1.13.0-r1/work/xorg-server-1.13.0/dix/pixmap.c:112: AllocatePixmap: Assertion `pScreen->totalPixmapSize > 0' failed.\n", 158) = 158
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb5c80000
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(16860, 16860, SIGABRT)           = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=16860, si_uid=0} ---
+++ killed by SIGABRT +++

I don't know how to handle that. Looks as if TRIDENT_Sync is somehow required for correct operation. Somebody needs to have a look on trident_dga.c with respect to #undef HAVE_XAA_H...
Comment 4 Mark Dominik Bürkle 2012-12-07 20:28:52 UTC
see also in Gentoo Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=444406

see also in Ubuntu https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-trident/+bug/1044820
Comment 5 Chí-Thanh Christopher Nguyễn 2013-03-12 14:53:31 UTC
looks like the patch was applied in
http://cgit.freedesktop.org/xorg/driver/xf86-video-trident/commit/?id=48c15909691e28ad2c188a2978b1c8ef3d9d8760
Comment 6 Adam Jackson 2013-11-11 17:23:37 UTC
Released in trident 1.3.6


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.