Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
something wrong with graphics card
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
iceamber
n00b
n00b


Joined: 06 Jun 2016
Posts: 67

PostPosted: Thu Aug 24, 2017 12:42 pm    Post subject: Reply with quote

it work when I set the nouveau as a module
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7373
Location: Goose Creek SC

PostPosted: Thu Aug 24, 2017 12:53 pm    Post subject: Reply with quote

it looks like documentation of the HKC2211A may be hard to find, suggest:
emerge read-edid
run: get-edid | parse-edid | wgetpaste -t
post the url returned here
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 5822
Location: Saint Amant, Acadiana

PostPosted: Thu Aug 24, 2017 1:11 pm    Post subject: Reply with quote

@DONAHUE

I recommended it on Monday, it is Thursday now.

Output of lspci and Xorg log tell us an AMD card is in use ...

Anyhow, it is a 22" LED display I believe, so there should be no problem with higher resolutions. OTOH, our OP mentioned VGA cable ...
_________________
Please learn how to denote units correctly!

Political Correctness is all about replacing imaginary injustice with real injustice.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38855
Location: 56N 3W

PostPosted: Thu Aug 24, 2017 4:15 pm    Post subject: Reply with quote

Team

Amazon had the HKC2211 (without the A)
Code:
Its ad says  Panel size: 22" / 16:9 LED Panel, Pixel Pitch: 0.248(H) / 0.248(V) mm, Max Resolution: 1920x1080.
Colour: 16.7million, DCR: 100000:1.
Inputs: Analog RGB, DVI, Speakers: Yes.


I suspect that the display responds with different EDID data on different inputs.

It may or may not know what to do with 1920x1080 on the VGA input.
That can be forced with a mode line.

The next step is to use the DVI input.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
iceamber
n00b
n00b


Joined: 06 Jun 2016
Posts: 67

PostPosted: Fri Aug 25, 2017 4:22 am    Post subject: Reply with quote

NeddySeagoon wrote:
Team

Amazon had the HKC2211 (without the A)
Code:
Its ad says  Panel size: 22" / 16:9 LED Panel, Pixel Pitch: 0.248(H) / 0.248(V) mm, Max Resolution: 1920x1080.
Colour: 16.7million, DCR: 100000:1.
Inputs: Analog RGB, DVI, Speakers: Yes.


I suspect that the display responds with different EDID data on different inputs.

It may or may not know what to do with 1920x1080 on the VGA input.
That can be forced with a mode line.

The next step is to use the DVI input.


OK, thank you very much
Back to top
View user's profile Send private message
iceamber
n00b
n00b


Joined: 06 Jun 2016
Posts: 67

PostPosted: Sat Aug 26, 2017 10:51 am    Post subject: Reply with quote

It seems that the video card driver didn't install complete, there was some error with it, I mean. As follow
Code:
iceamber@localhost:~ $ grep EE /var/log/Xorg.0.log
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    29.245] (EE) AIGLX error: Calling driver entry point failed
[    29.259] (EE) AIGLX: reverting to software rendering


And here is the xorg.conf
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38855
Location: 56N 3W

PostPosted: Sat Aug 26, 2017 6:31 pm    Post subject: Reply with quote

iceamber,

Pastebin the entire log. There may be other lines without the EE, that say what the problem is.
Rather too much information than too little.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
iceamber
n00b
n00b


Joined: 06 Jun 2016
Posts: 67

PostPosted: Sun Aug 27, 2017 12:24 am    Post subject: Reply with quote

NeddySeagoon wrote:
iceamber,

Pastebin the entire log. There may be other lines without the EE, that say what the problem is.
Rather too much information than too little.


Well, here is the entire log
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 5822
Location: Saint Amant, Acadiana

PostPosted: Sun Aug 27, 2017 1:46 am    Post subject: Reply with quote

Check out the nouveau features matrix, you may need firmware for 3D.
_________________
Please learn how to denote units correctly!

Political Correctness is all about replacing imaginary injustice with real injustice.
Back to top
View user's profile Send private message
iceamber
n00b
n00b


Joined: 06 Jun 2016
Posts: 67

PostPosted: Sun Aug 27, 2017 2:55 am    Post subject: Reply with quote

Jaglover,

The 3D features of NV130 is done. So what should I do?

the output of glxinfo is
Code:
iceamber@localhost:~ $ glxinfo
name of display: :0
nvc0_screen_create:944 - Error allocating PGRAPH context for 3D: -22
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38855
Location: 56N 3W

PostPosted: Sun Aug 27, 2017 10:17 am    Post subject: Reply with quote

iceamber,

Look in youl dmesg for firmware loading errors or put the whole of dmesg onto a pastebin.
wgetpaste is your friend.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
iceamber
n00b
n00b


Joined: 06 Jun 2016
Posts: 67

PostPosted: Sun Aug 27, 2017 11:10 am    Post subject: Reply with quote

NeddySeagoon wrote:
iceamber,

Look in youl dmesg for firmware loading errors or put the whole of dmesg onto a pastebin.
wgetpaste is your friend.


here is the dmesg
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38855
Location: 56N 3W

PostPosted: Sun Aug 27, 2017 12:21 pm    Post subject: Reply with quote

iceamber,

dmesg looks good.

Pastebin your entire Xorg.0.log and kernel .config files.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
iceamber
n00b
n00b


Joined: 06 Jun 2016
Posts: 67

PostPosted: Sun Aug 27, 2017 12:39 pm    Post subject: Reply with quote

NeddySeagoon wrote:
iceamber,

dmesg looks good.

Pastebin your entire Xorg.0.log and kernel .config files.


here are the Xorg.0.log and .config
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38855
Location: 56N 3W

PostPosted: Sun Aug 27, 2017 1:51 pm    Post subject: Reply with quote

iceamber,

A few things to check.
Is your normal user in the video group?
If not add them and log out and back in to pick up the new permissions.

What does
Code:
 ls /dev/dri/ -l
show?
I get
Code:
crw-rw---- 1 root video 226,  0 Feb 16  2014 card0
crw-rw---- 1 root video 226, 64 Feb 16  2014 controlD64

To test if its a permissions problem, chmod those two files to 666 and restart Xorg.
The changes will drop out at the next reboot.

Look at
Code:
eselect opengl list
The * should be next to xorg-x11, if you have a choice.

mesa must be emerged with VIDEO_CARDS="nouveau", so it supports the nouveau driver.
Check with
Code:
emerge -pv mesa

Set VIDEO_CARDS="nouveau" in your make.conf if you need to and
Code:
emerge -1 mesa


eselect mesa list should show gallium * as selected.

Your kernel looks OK.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
iceamber
n00b
n00b


Joined: 06 Jun 2016
Posts: 67

PostPosted: Sun Aug 27, 2017 2:10 pm    Post subject: Reply with quote

NeddySeagoon wrote:
iceamber,

A few things to check.
Is your normal user in the video group?
If not add them and log out and back in to pick up the new permissions.

What does
Code:
 ls /dev/dri/ -l
show?
I get
Code:
crw-rw---- 1 root video 226,  0 Feb 16  2014 card0
crw-rw---- 1 root video 226, 64 Feb 16  2014 controlD64

To test if its a permissions problem, chmod those two files to 666 and restart Xorg.
The changes will drop out at the next reboot.

Look at
Code:
eselect opengl list
The * should be next to xorg-x11, if you have a choice.

mesa must be emerged with VIDEO_CARDS="nouveau", so it supports the nouveau driver.
Check with
Code:
emerge -pv mesa

Set VIDEO_CARDS="nouveau" in your make.conf if you need to and
Code:
emerge -1 mesa


eselect mesa list should show gallium * as selected.

Your kernel looks OK.


1. yes, the normal user is in the video group
Code:
iceamber@localhost:~ $ getfacl /dev/dri/card0 | grep iceamber
getfacl: Removing leading '/' from absolute path names
user:iceamber:rw-


2. the
Code:
ls /dev/dri/ -l
shows
Code:
iceamber@localhost:~ $ ls /dev/dri/ -l
crw-rw----+ 1 root video 226,   0 8  27 19:24 card0
crw-rw----+ 1 root video 226, 128 8  27 19:24 renderD128


3. the
Code:
eselect opengl list
shows
Code:
iceamber@localhost:~ $ eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *


4. the
Code:
eselect mesa list
shows
Code:
iceamber@localhost:~ $ eselect mesa list
64bit i915 (Intel 915, 945)
64bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
64bit r300 (Radeon R300-R500)
64bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
64bit sw (Software renderer)
  [1]   classic
  [2]   gallium *
32bit i915 (Intel 915, 945)
32bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
32bit r300 (Radeon R300-R500)
32bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
32bit sw (Software renderer)
  [1]   classic
  [2]   gallium *


and the
Code:
emerge -pv mesa
shows
Code:
iceamber@localhost:~ $ sudo emerge -pv mesa

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-libs/mesa-17.0.6::gentoo  USE="classic dri3 egl gallium gbm gles2 llvm nptl wayland -bindist -d3d9 -debug -gles1 -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -vaapi -valgrind -vdpau -vulkan -xa -xvmc" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="nouveau (-freedreno) -i915 -i965 -imx -intel -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) (-vivante) -vmware" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


I have set VIDEO_CARDS="nouveau" in the make.conf
Back to top
View user's profile Send private message
iceamber
n00b
n00b


Joined: 06 Jun 2016
Posts: 67

PostPosted: Thu Aug 31, 2017 4:03 pm    Post subject: Reply with quote

I couldn't solve this problem yet, is it a bug of nouveau?
I switch to the closed-source NVIDIA driver and it is OK now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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