Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135503 - Add support for nVIDIA GeForce 6150 in OpenGL detection
Summary: Add support for nVIDIA GeForce 6150 in OpenGL detection
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-06-04 05:49 UTC by Fabio Erculiani
Modified: 2006-06-22 08:32 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 Fabio Erculiani 2006-06-04 05:49:00 UTC
That's the device:
00:05.0 VGA compatible controller: nVidia Corporation C51PV [GeForce 6150] (rev a2)

and that's my changes to get that autodetected:

--- /sbin/livecd-functions.sh   2006-06-04 15:03:31.000000000 +0000
+++ /root/livecd-functions.sh   2006-06-04 15:03:18.000000000 +0000
@@ -62,7 +62,7 @@ get_video_cards() {
                NVIDIA=$(echo ${VIDEO_CARDS} | grep "nVidia Corporation")
                ATI=$(echo ${VIDEO_CARDS} | grep "ATI Technologies")
                if [ -n "${NVIDIA}" ]; then
-                       NVIDIA_CARD=$(echo ${NVIDIA} | awk 'BEGIN {RS=" "} /(C|NV|nv)[0-9]+/ {print $1}' | cut -d. -f1 | sed 's/ //' | sed 's:[^0-9]::g')
+                       NVIDIA_CARD=$(echo ${NVIDIA} | awk 'BEGIN {RS=" "} /(NV|nv)[0-9]+/ {print $1}' | cut -d. -f1 | sed 's/ //' | sed 's:[^0-9]::g')
                        if [ -n "${NVIDIA_CARD}" ]; then
                                if [ $(echo ${NVIDIA_CARD} | cut -dV -f2) -ge 4 ]; then
                                        nv_gl
Comment 1 Fabio Erculiani 2006-06-04 05:51:26 UTC
Sorry, that's the correct diff:

--- /root/livecd-functions.sh   2006-06-04 15:03:18.000000000 +0000
+++ /sbin/livecd-functions.sh   2006-06-04 15:03:31.000000000 +0000
@@ -62,7 +62,7 @@ get_video_cards() {
                NVIDIA=$(echo ${VIDEO_CARDS} | grep "nVidia Corporation")
                ATI=$(echo ${VIDEO_CARDS} | grep "ATI Technologies")
                if [ -n "${NVIDIA}" ]; then
-                       NVIDIA_CARD=$(echo ${NVIDIA} | awk 'BEGIN {RS=" "} /(NV|nv)[0-9]+/ {print $1}' | cut -d. -f1 | sed 's/ //' | sed 's:[^0-9]::g')
+                       NVIDIA_CARD=$(echo ${NVIDIA} | awk 'BEGIN {RS=" "} /(C|NV|nv)[0-9]+/ {print $1}' | cut -d. -f1 | sed 's/ //' | sed 's:[^0-9]::g')
                        if [ -n "${NVIDIA_CARD}" ]; then
                                if [ $(echo ${NVIDIA_CARD} | cut -dV -f2) -ge 4 ]; then
                                        nv_gl
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-06-20 15:34:52 UTC
I've added a modified version of this to CVS.  I do hope that you're not using the binary drivers, though, as it is a GPL violation to ship the binary drivers pre-compiled.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2006-06-22 08:32:34 UTC
Fixed in 1.0.31