Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15997 - OpenGL seems incapable of drawing lines, but draws polygons fine
Summary: OpenGL seems incapable of drawing lines, but draws polygons fine
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL: http://www.matt-amos.uklinux.net/tuto...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-19 08:51 UTC by Matt Amos
Modified: 2006-02-04 06:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Amos 2003-02-19 08:51:17 UTC
The test program linked above is supposed to write "hello" in white lines in an OpenGL window, but the window is blank. It works fine on: RH 7.2, 
debian/ppc 3.0, gentoo 1.4/x86 with the same library and XFree86 versions. xfree-4.2.1-r2 glut-3.7-r2


Reproducible: Always
Steps to Reproduce:
1. make sure you have glut installed
2. download the lecture1.c file above
3. cc -o lecture1 lecture1.c -L/usr/X11R6/lib -lX11 -lGL -lGLU -lglut -lm
4. ./lecture1

Actual Results:  
the window appears, without an error message, but is completely black.


Expected Results:  
the window should appear with the word "hello" written in blocky white lines on a black background.


machine is iBook2, G3 600Mhz with ATI Rage 128 mobility LF rev 2.

relevant package versions: xfree-4.2.1-r2, glut-3.7-r2

emerge info:
Portage 2.0.46-r12 (default-ppc-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-ben3 ppc 
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /etc/make.conf /etc/fstab /etc/group 
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="oss xv jpeg nls mitshm gif mozilla png truetype gnome-libs gdbm berkdb slang arts tcltk java tcpd libwww ssl esd imlib oggvorbis qt motif 
readline -gpm X gtk gnome kde alsa cdr dvd opengl mikmod pam -pcmcia perl python sdl tetex ppc"
COMPILER="gcc3"
CHOST="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char"
CXXFLAGS="-O2 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char"
ACCEPT_KEYWORDS="ppc"
MAKEOPTS=""
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="ccache"
Comment 1 SteveC 2003-02-19 09:25:21 UTC
I can reproduce bug on ibook, don't get anything but works fine on x86 
Comment 2 Mark Guertin 2003-02-19 13:27:39 UTC
xfree 4.2.1 on ppc is incapable of doing DRI w/ radeon without heavy 
modifications.  In debian I assume you have dri trunk installed. 
 
This is an upstream issue and won't be addressed by us.  If you want to use 
DRI, try installing xfree-4.2.99.4 and xfree-drm 
 
I do have a build for dri-trunk for xfree 4.2.1, but due to its nature it was not 
(and wont be) released to public.  Check http://cvs.gentoo.org/~gerk/ and look 
in experimnetal builds if you want this functionality.  it is 100% unsupported. 
 
just a FYI this dri-trunk overwrites crucial parts of xfree.  If you install this and 
remove it you will have to reinstall xfree as well.  It is not needed for the 
4.2.99.x (4.3) stuffs as dri-trunk was merged. 
 
Closing this as wont fix.