Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Modular xorg-x11-7.1: No agp, DRI, fonts problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Sun Jul 02, 2006 8:34 pm    Post subject: Modular xorg-x11-7.1: No agp, DRI, fonts problems Reply with quote

I followed the modular X howto.
Now i have some problems:
  • DRI and AGP fails:
    Code:
    # cat /var/log/Xorg.0.log |grep EE
    Current Operating System: Linux marialin 2.6.16-gentoo-r5 #8 PREEMPT Sun Jun 11 11:33:43 CEST 2006 ppc
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (II) Loading extension MIT-SCREEN-SAVER
    (EE) end of block range 0xefffffff < begin 0xf0000000
    (EE) RADEON(0): MergedFB does not work with Option UseFBDev, MergedFB mode is disabled
    (EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
    (EE) AIGLX: Screen 0 is not DRI capable
    (EE) Error loading keymap /usr/share/X11/xkb/compiled/server-0.xkm
  • xmms doesn't find some X fonts anymore:
    Code:
    # cat /var/log/Xorg.0.log |grep couldn
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/VeraMono.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/VeraSe.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/VeraMono.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/VeraSe.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/VeraSe.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/VeraMono.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/VeraSe.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/VeraMono.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/VeraMono.ttf: 1
    FreeType: couldn't open face /usr/share/fonts/TTF/Vera.ttf: 1

_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
Pylon
Retired Dev
Retired Dev


Joined: 17 Jan 2003
Posts: 279
Location: Cologne

PostPosted: Sun Jul 02, 2006 9:46 pm    Post subject: Re: Modular xorg-x11-7.1: No agp, DRI, fonts problems Reply with quote

paoleela wrote:
  • DRI and AGP fails:


Be sure that you disabled the Direct Rendering Manager in the kernel and emerge x11-drm. Have a look at the Hardware 3D Acceleration Guide.

paoleela wrote:
  • xmms doesn't find some X fonts anymore


Sorry, I can't help. I unmerged xmms long time ago…
_________________
hacking is not a crime
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Mon Jul 03, 2006 2:53 pm    Post subject: Re: Modular xorg-x11-7.1: No agp, DRI, fonts problems Reply with quote

paoleela wrote:

  • DRI and AGP fails:


Try this.
From /etc/make.conf:
Code:

USE="dri opengl radeon"
VIDEO_CARDS="fbdev radeon v4l vesa vga"


Code:

# uname -a
Linux barnabas 2.6.17 #2 Mon Jul 3 01:09:01 EDT 2006 ppc 7447/7457, altivec supported GNU/Linux


Code:

# zgrep AGP /proc/config.gz
CONFIG_AGP=y
CONFIG_AGP_UNINORTH=y
# zgrep DRM /proc/config.gz
CONFIG_DRM=m
CONFIG_DRM_RADEON=m


Code:

# modprobe drm
# modprobe radeon


Check permissions:
Code:

# /bin/ls -l /usr/bin/Xorg
-rws--x--x 1 root root 1751812 2006-07-03 00:08 /usr/bin/Xorg


This performs stable dual-head, with glxgears at 2300 FPS on my Radeon 9600 Mobility (M10)
http://tstotts.net/files/linux/xorg-7.1-radeonm10-mergedfb.conf

paoleela wrote:

  • xmms doesn't find some X fonts anymore:


If you use see:
Code:

#grep FontPath /etc/X11/xorg.conf
       FontPath    "unix/:-1"

Then:
Code:

# emerge x11-apps/xfs
# etc-update
# /etc/init.d/xfs stop zap mkfontdirs start


Also, from my /etc/X11/xorg.conf:
Code:

Section "Module"
        ...
        Load    "type1"
        Load    "freetype"
        ...
EndSection


paoleela wrote:
Code:

(EE) Error loading keymap /usr/share/X11/xkb/compiled/server-0.xkm


Suspicious. This might fix it.
Code:

# mv /usr/share/X11/xkb /usr/share/X11/xkb.old
# emerge x11-misc/xkeyboard-config x11-apps/xkbcomp

_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Mon Jul 03, 2006 7:12 pm    Post subject: Reply with quote

You take the kernel DRM? The howto sais not to use the kernel modul and to deacivate it.
Code:
# zgrep AGP /proc/config.gz
CONFIG_AGP=y
# CONFIG_AGP_UNINORTH is not set

# zgrep DRM /proc/config.gz
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=y
As far as I remember I had DRI working with monolith xorg-x11-6.8.2-r8. I will try to activate that AGP_UNINORTH.

Code:
# equery hasuse radeon
..shows no packages.

Code:
# grep FontPath /etc/X11/xorg.conf
        #FontPath        "unix/:-1"
        FontPath        "/usr/share/fonts/local/"
        FontPath        "/usr/share/fonts/encodings/"
        FontPath        "/usr/share/fonts/util/"
        FontPath        "/usr/share/fonts/misc/"
        FontPath        "/usr/share/fonts/75dpi/"
        FontPath        "/usr/share/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/100dpi/"
        FontPath        "/usr/share/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/cyrillic/"
        FontPath        "/usr/share/fonts/Type1/"
        FontPath        "/usr/share/fonts/TTF/"
        FontPath        "/usr/share/fonts/ukr/"
        FontPath        "/usr/share/fonts/default/"
        FontPath        "/usr/share/fonts/artwiz/"
        #FontPath       "/usr/share/fonts/truetype"
        #FontPath       "/usr/share/fonts/Speedo/"
        #FontPath       "/usr/share/fonts/CID/"
        #FontPath       "/usr/share/fonts/lfp-fix/"
        #FontPath       "/usr/share/fonts/lfp-var/"
        #FontPath       "/usr/share/fonts/sharefont/"
        #FontPath       "/usr/share/fonts/freefont/"
        #FontPath       "/usr/share/fonts/ttfs/"
        #FontPath       "/usr/share/AbiSuite/fonts/"
Is just "/usr/share/fonts" enough here?
What is "unix/:-1" for? So far I don't have x11-apps/xfs fontserver installed.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Mon Jul 03, 2006 9:06 pm    Post subject: Reply with quote

Works fine with kernel DRM and radeon.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Mon Jul 03, 2006 10:20 pm    Post subject: Reply with quote

paoleela wrote:
Works fine with kernel DRM and radeon.

Best performance if you have kernel 2.6.17.x . (2.6.1[56] gives me terrible performance, the drivers are too old.) Otherwise, you really should checkout the drivers from CVS. See HOWTO: Radeon 9500 (and newer) with DRI for ideas.

Quote:
Code:
# equery hasuse radeon

..shows no packages.


I suppose that all packages have now moved this from USE to VIDEO_CARDS. This was not originally so.

Quote:

Is just "/usr/share/fonts" enough here?
What is "unix/:-1" for? So far I don't have x11-apps/xfs fontserver installed.


If you don't use fontserver (Gentoo default is not to; many distributions do though), then no matter. The unix port is for a socket connection to the fontserver app. The primary advantage of the fontserver is having multiple X instances (including VNC, etc.) use a shared service for fonts.
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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